'Any Dagger annotation to declare intentinal no-scope

I'm now writing an Android application using Dagger.

I know that scope annotation is convenient to cache object instance and reuse it. But on some case, I want to intentionally avoid this so that the object should be created every time consumer request it. We can implement this behavior by removing scope annotation from class definition or provider method.

But I want to make it explicit that I intentionally omit the scope annotation, so that my reviewer and future me will not be confused. Say

@NoScope
class IntantiatedEveryTime {
    @Inject
    IntantiatedEveryTime(Dep dep) {..}
}

Don't we have such annotation?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source