protected static class TypePool.LazyTypeDescription.FieldToken extends Object
Modifier | Constructor and Description |
---|---|
protected |
FieldToken(String name,
int modifiers,
String descriptor,
TypePool.LazyTypeDescription.GenericTypeToken.Resolution.ForField signatureResolution,
List<TypePool.LazyTypeDescription.AnnotationToken> annotationTokens)
Creates a new field token.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
protected List<TypePool.LazyTypeDescription.AnnotationToken> |
getAnnotationTokens()
Returns a list of annotation tokens of the represented field.
|
protected String |
getDescriptor()
Returns the descriptor of the represented field.
|
protected int |
getModifiers()
Returns the modifiers of the represented field.
|
protected String |
getName()
Returns the name of the represented field.
|
protected TypePool.LazyTypeDescription.GenericTypeToken.Resolution.ForField |
getSignatureResolution()
Returns the resolution of this field's generic type.
|
int |
hashCode() |
String |
toString() |
protected FieldToken(String name, int modifiers, String descriptor, TypePool.LazyTypeDescription.GenericTypeToken.Resolution.ForField signatureResolution, List<TypePool.LazyTypeDescription.AnnotationToken> annotationTokens)
name
- The name of the field.modifiers
- The modifiers of the represented field.descriptor
- The descriptor of the field.signatureResolution
- The resolution of this field's generic type.annotationTokens
- A list of annotation tokens representing the annotations of the represented field.protected int getModifiers()
protected String getName()
protected String getDescriptor()
protected TypePool.LazyTypeDescription.GenericTypeToken.Resolution.ForField getSignatureResolution()
protected List<TypePool.LazyTypeDescription.AnnotationToken> getAnnotationTokens()
Copyright © 2014–2015. All rights reserved.