public final class ProducerToken extends Object
Modifier and Type | Method and Description |
---|---|
static ProducerToken |
create(Class<?> classToken)
Creates a token for a class token that represents the generated factory for a producer method.
|
static ProducerToken |
create(String methodName)
Creates a token for a producer method.
|
boolean |
equals(Object o)
Two tokens are equal if they represent the same method.
|
int |
hashCode()
Returns an appropriate hash code to match
equals(Object) . |
String |
toString()
Returns a representation of the method.
|
public static ProducerToken create(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(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(Object o)
public int hashCode()
equals(Object)
.Copyright © 2012���2017 The Dagger Authors. All rights reserved.