Package net.bytebuddy.description.field
Class FieldDescription.SignatureToken
java.lang.Object
net.bytebuddy.description.field.FieldDescription.SignatureToken
- Enclosing interface:
FieldDescription
A token that uniquely identifies a field by its name and type erasure.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final String
The field's name.private final TypeDescription
The field's raw type. -
Constructor Summary
ConstructorsConstructorDescriptionSignatureToken
(String name, TypeDescription type) Creates a new signature token. -
Method Summary
-
Field Details
-
name
The field's name. -
type
The field's raw type.
-
-
Constructor Details
-
SignatureToken
Creates a new signature token.- Parameters:
name
- The field's name.type
- The field's raw type.
-
-
Method Details
-
getName
Returns the name of the represented field.- Returns:
- The name of the represented field.
-
getType
Returns the type of the represented field.- Returns:
- The type of the represented field.
-
hashCode
-
equals
-
toString
-