public static class FieldDescription.SignatureToken
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
name
The field's name.
|
private TypeDescription |
type
The field's raw type.
|
Constructor and Description |
---|
SignatureToken(java.lang.String name,
TypeDescription type)
Creates a new signature token.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object other) |
java.lang.String |
getName()
Returns the name of the represented field.
|
TypeDescription |
getType()
Returns the type of the represented field.
|
int |
hashCode() |
java.lang.String |
toString() |
private final java.lang.String name
private final TypeDescription type
public SignatureToken(java.lang.String name, TypeDescription type)
name
- The field's name.type
- The field's raw type.public java.lang.String getName()
public TypeDescription getType()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object