Class FieldReference
java.lang.Object
com.ibm.wala.types.MemberReference
com.ibm.wala.types.FieldReference
A class to represent the reference in a class file to a field.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classAn identifier/selector for fields. -
Method Summary
Modifier and TypeMethodDescriptionstatic FieldReferencefindOrCreate(ClassLoaderReference loader, String classType, String fieldName, String fieldType) Find or create the canonical MemberReference instance for the given tuple.static FieldReferencefindOrCreate(TypeReference tref, Atom mn, TypeReference fieldType) Find or create the canonical MemberReference instance for the given tuple.toString()Methods inherited from class MemberReference
equals, getDeclaringClass, getName, hashCode
-
Method Details
-
getSignature
- Specified by:
getSignaturein classMemberReference
-
findOrCreate
Find or create the canonical MemberReference instance for the given tuple.- Parameters:
mn- the name of the member
-
findOrCreate
public static FieldReference findOrCreate(ClassLoaderReference loader, String classType, String fieldName, String fieldType) throws IllegalArgumentException Find or create the canonical MemberReference instance for the given tuple.- Throws:
IllegalArgumentException
-
getFieldType
- Returns:
- the descriptor component of this member reference
-
toString
-