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
Modifier and TypeClassDescriptionprotected static class
An identifier/selector for fields. -
Method Summary
Modifier and TypeMethodDescriptionstatic 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.toString()
Methods inherited from class com.ibm.wala.types.MemberReference
equals, getDeclaringClass, getName, hashCode
-
Method Details
-
getSignature
- Specified by:
getSignature
in 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
-