Class AstField
java.lang.Object
com.ibm.wala.cast.loader.AstField
- All Implemented Interfaces:
IField, IMember, IClassHierarchyDweller
- Direct Known Subclasses:
JavaSourceLoaderImpl.JavaField
-
Constructor Summary
ConstructorsConstructorDescriptionAstField(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()booleanisFinal()Is this field final?booleanbooleanbooleanisPublic()booleanisStatic()Is this member static?booleanIs 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:IMemberGet the annotations on this member, if any- Specified by:
getAnnotationsin interfaceIMember
-
getDeclaringClass
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.
-
toString
-
getName
-
getFieldTypeReference
- Specified by:
getFieldTypeReferencein interfaceIField- Returns:
- the canonical TypeReference of the declared type of the field
-
getReference
- Specified by:
getReferencein interfaceIField- Returns:
- canonical FieldReference representing this field
-
isStatic
-
isFinal
-
isPrivate
-
isProtected
public boolean isProtected()- Specified by:
isProtectedin interfaceIField
-
isPublic
-
isVolatile
public boolean isVolatile()Description copied from interface:IFieldIs this member volatile?- Specified by:
isVolatilein interfaceIField
-
getClassHierarchy
- Specified by:
getClassHierarchyin interfaceIClassHierarchyDweller
-