Class AstField
java.lang.Object
com.ibm.wala.cast.loader.AstField
- All Implemented Interfaces:
IField
,IMember
,IClassHierarchyDweller
- Direct Known Subclasses:
JavaSourceLoaderImpl.JavaField
-
Constructor Summary
ConstructorDescriptionAstField
(FieldReference ref, Collection<CAstQualifier> qualifiers, IClass declaringClass, IClassHierarchy cha, Collection<Annotation> annotations) -
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()
-
Constructor Details
-
AstField
public AstField(FieldReference ref, Collection<CAstQualifier> qualifiers, IClass declaringClass, IClassHierarchy cha, Collection<Annotation> annotations)
-
-
Method Details
-
getAnnotations
Description copied from interface:IMember
Get the annotations on this member, if any- Specified by:
getAnnotations
in interfaceIMember
-
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.
-
toString
-
getName
-
getFieldTypeReference
- Specified by:
getFieldTypeReference
in interfaceIField
- Returns:
- the canonical TypeReference of the declared type of the field
-
getReference
- Specified by:
getReference
in interfaceIField
- Returns:
- canonical FieldReference representing this field
-
isStatic
-
isFinal
-
isPrivate
-
isProtected
public boolean isProtected()- Specified by:
isProtected
in interfaceIField
-
isPublic
-
isVolatile
public boolean isVolatile()Description copied from interface:IField
Is this member volatile?- Specified by:
isVolatile
in interfaceIField
-
getClassHierarchy
- Specified by:
getClassHierarchy
in interfaceIClassHierarchyDweller
-