public final class FieldReference extends MemberReference
Modifier and Type | Class and Description |
---|---|
protected static class |
FieldReference.Key
An identifier/selector for fields.
|
Modifier and Type | Method and Description |
---|---|
static FieldReference |
findOrCreate(ClassLoaderReference loader,
String classType,
String fieldName,
String fieldType)
Find or create the canonical MemberReference instance for the given tuple.
|
static FieldReference |
findOrCreate(TypeReference tref,
Atom mn,
TypeReference fieldType)
Find or create the canonical MemberReference instance for the given tuple.
|
TypeReference |
getFieldType() |
String |
getSignature() |
String |
toString() |
equals, getDeclaringClass, getName, hashCode
public String getSignature()
getSignature
in class MemberReference
public static FieldReference findOrCreate(TypeReference tref, Atom mn, TypeReference fieldType)
mn
- the name of the memberpublic static FieldReference findOrCreate(ClassLoaderReference loader, String classType, String fieldName, String fieldType) throws IllegalArgumentException
IllegalArgumentException
public final TypeReference getFieldType()