Package com.ibm.wala.demandpa.util
Class ArrayContents
- java.lang.Object
-
- com.ibm.wala.demandpa.util.ArrayContents
-
- All Implemented Interfaces:
IField,IMember,IClassHierarchyDweller
public class ArrayContents extends Object implements IField
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.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<Annotation>getAnnotations()Get the annotations on this member, if anyClassHierarchygetClassHierarchy()IClassgetDeclaringClass()Return the object that represents the declaring class for this member.TypeReferencegetFieldTypeReference()AtomgetName()FieldReferencegetReference()booleanisFinal()Is this field final?booleanisPrivate()booleanisProtected()booleanisPublic()booleanisStatic()Is this member static?booleanisVolatile()Is this member volatile?StringtoString()static ArrayContentsv()
-
-
-
Method Detail
-
v
public static final ArrayContents v()
-
getFieldTypeReference
public TypeReference getFieldTypeReference() throws UnimplementedError
- Specified by:
getFieldTypeReferencein interfaceIField- Returns:
- the canonical TypeReference of the declared type of the field
- Throws:
UnimplementedError
-
isFinal
public boolean isFinal() throws UnimplementedErrorDescription copied from interface:IFieldIs this field final?- Specified by:
isFinalin interfaceIField- Throws:
UnimplementedError
-
isPrivate
public boolean isPrivate() throws UnimplementedError- Specified by:
isPrivatein interfaceIField- Throws:
UnimplementedError
-
isProtected
public boolean isProtected() throws UnimplementedError- Specified by:
isProtectedin interfaceIField- Throws:
UnimplementedError
-
isPublic
public boolean isPublic() throws UnimplementedError- Specified by:
isPublicin interfaceIField- Throws:
UnimplementedError
-
isStatic
public boolean isStatic() throws UnimplementedErrorDescription copied from interface:IMemberIs this member static?- Specified by:
isStaticin interfaceIField- Specified by:
isStaticin interfaceIMember- Throws:
UnimplementedError
-
getDeclaringClass
public IClass getDeclaringClass() throws UnsupportedOperationException
Description copied from interface:IMemberReturn the object that represents the declaring class for this member.- Specified by:
getDeclaringClassin interfaceIMember- Returns:
- the object that represents the declaring class for this member.
- Throws:
UnsupportedOperationException
-
getName
public Atom getName() throws UnimplementedError
- Specified by:
getNamein interfaceIMember- Returns:
- the name of this member
- Throws:
UnimplementedError
-
isVolatile
public boolean isVolatile()
Description copied from interface:IFieldIs this member volatile?- Specified by:
isVolatilein interfaceIField
-
getClassHierarchy
public ClassHierarchy getClassHierarchy() throws UnimplementedError
- Specified by:
getClassHierarchyin interfaceIClassHierarchyDweller- Throws:
UnimplementedError
-
getReference
public FieldReference getReference()
- Specified by:
getReferencein interfaceIField- Returns:
- canonical FieldReference representing this field
-
getAnnotations
public Collection<Annotation> getAnnotations()
Description copied from interface:IMemberGet the annotations on this member, if any- Specified by:
getAnnotationsin interfaceIMember
-
-