Package dagger.producers.monitoring
Class ProducerToken
java.lang.Object
dagger.producers.monitoring.ProducerToken
A token that represents an individual producer method.
-
Method Summary
Modifier and TypeMethodDescriptionstatic ProducerToken
Creates a token for a class token that represents the generated factory for a producer method.static ProducerToken
Creates a token for a producer method.boolean
Two tokens are equal if they represent the same method.int
hashCode()
Returns an appropriate hash code to matchequals(Object)
.toString()
Returns a representation of the method.
-
Method Details
-
create
Creates a token for a class token that represents the generated factory for a producer method.Do not use this! This is intended to be called by generated code only, and its signature may change at any time.
-
create
Creates a token for a producer method.Do not use this! This is intended to be called by generated code only, and its signature may change at any time.
-
equals
Two tokens are equal if they represent the same method. -
hashCode
public int hashCode()Returns an appropriate hash code to matchequals(Object)
. -
toString
Returns a representation of the method.
-