Class ArrayContents
java.lang.Object
com.ibm.wala.demandpa.util.ArrayContents
- All Implemented Interfaces:
IField
,IMember
,IClassHierarchyDweller
Pseudo-field modelling the contents of an array of reference type. Only for convenience; many of
the methods don't actually work. Also, a singleton.
- Author:
- manu
-
Method Summary
Modifier and TypeMethodDescriptionGet the annotations on this member, if anyReturn the object that represents the declaring class for this member.getName()
boolean
isFinal()
Is this field final?boolean
boolean
boolean
isPublic()
boolean
isStatic()
Is this member static?boolean
Is this member volatile?toString()
static final ArrayContents
v()
-
Method Details
-
v
-
getFieldTypeReference
- Specified by:
getFieldTypeReference
in interfaceIField
- Returns:
- the canonical TypeReference of the declared type of the field
- Throws:
UnimplementedError
-
isFinal
Description copied from interface:IField
Is this field final?- Specified by:
isFinal
in interfaceIField
- Throws:
UnimplementedError
-
isPrivate
- Specified by:
isPrivate
in interfaceIField
- Throws:
UnimplementedError
-
isProtected
- Specified by:
isProtected
in interfaceIField
- Throws:
UnimplementedError
-
isPublic
- Specified by:
isPublic
in interfaceIField
- Throws:
UnimplementedError
-
isStatic
-
getDeclaringClass
Description copied from interface:IMember
Return the object that represents the declaring class for this member.- Specified by:
getDeclaringClass
in interfaceIMember
- Returns:
- the object that represents the declaring class for this member.
- Throws:
UnsupportedOperationException
-
getName
- Specified by:
getName
in interfaceIMember
- Returns:
- the name of this member
- Throws:
UnimplementedError
-
toString
-
isVolatile
public boolean isVolatile()Description copied from interface:IField
Is this member volatile?- Specified by:
isVolatile
in interfaceIField
-
getClassHierarchy
- Specified by:
getClassHierarchy
in interfaceIClassHierarchyDweller
- Throws:
UnimplementedError
-
getReference
- Specified by:
getReference
in interfaceIField
- Returns:
- canonical FieldReference representing this field
-
getAnnotations
Description copied from interface:IMember
Get the annotations on this member, if any- Specified by:
getAnnotations
in interfaceIMember
-