protected static class DynamicType.Builder.AbstractBase.FieldToken extends Object implements FieldRegistry.LatentFieldMatcher
| Modifier and Type | Field and Description | 
|---|---|
protected TypeDescription | 
fieldType
A description of the field type or a description of the
  
TargetType placeholder. | 
protected int | 
modifiers
The field modifiers. 
 | 
protected String | 
name
The name of the field. 
 | 
| Constructor and Description | 
|---|
FieldToken(String name,
          TypeDescription fieldType,
          int modifiers)
Creates a new field token. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(Object other)  | 
String | 
getFieldName()
Returns the name of the matched field. 
 | 
TypeDescription | 
getFieldType()
Returns the type of this field token. 
 | 
int | 
getModifiers()
Returns the modifiers of this field token. 
 | 
String | 
getName()
Returns the name of this field token. 
 | 
int | 
hashCode()  | 
protected TypeDescription | 
resolveFieldType(TypeDescription instrumentedType)
Resolves the field type which could be represented by the
  
TargetType placeholder type. | 
String | 
toString()  | 
protected final String name
protected final TypeDescription fieldType
TargetType placeholder.protected final int modifiers
public FieldToken(String name, TypeDescription fieldType, int modifiers)
name - The name of the field.fieldType - A description of the field type.modifiers - The modifers of the field.protected TypeDescription resolveFieldType(TypeDescription instrumentedType)
TargetType placeholder type.instrumentedType - The instrumented place which is used for replacement.public String getName()
public TypeDescription getFieldType()
public int getModifiers()
public String getFieldName()
FieldRegistry.LatentFieldMatchergetFieldName in interface FieldRegistry.LatentFieldMatcherCopyright © 2014. All rights reserved.