public final class ProducerToken
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static ProducerToken |
create(java.lang.Class<?> classToken)
Creates a token for a class token that represents the generated factory for a producer method.
|
static ProducerToken |
create(java.lang.String methodName)
Creates a token for a producer method.
|
boolean |
equals(java.lang.Object o)
Two tokens are equal if they represent the same method.
|
int |
hashCode()
Returns an appropriate hash code to match
equals(Object) . |
java.lang.String |
toString()
Returns a representation of the method.
|
public static ProducerToken create(java.lang.Class<?> classToken)
Do not use this! This is intended to be called by generated code only, and its signature may change at any time.
public static ProducerToken create(java.lang.String methodName)
Do not use this! This is intended to be called by generated code only, and its signature may change at any time.
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
equals(Object)
.hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object