Class FieldImpl
java.lang.Object
com.ibm.wala.classLoader.FieldImpl
- All Implemented Interfaces:
IField, IMember, IClassHierarchyDweller
-
Constructor Summary
ConstructorsConstructorDescriptionFieldImpl(IClass declaringClass, FieldReference canonicalRef, int accessFlags, Collection<Annotation> annotations) FieldImpl(IClass declaringClass, FieldReference canonicalRef, int accessFlags, Collection<Annotation> annotations, TypeSignature sig) FieldImpl(IClass declaringClass, FieldReference canonicalRef, int accessFlags, Collection<Annotation> annotations, Collection<TypeAnnotation> typeAnnotations, TypeSignature sig) -
Method Summary
Modifier and TypeMethodDescriptionbooleanGet the annotations on this member, if anyReturn the object that represents the declaring class for this member.getName()inthashCode()booleanisFinal()Is this field final?booleanbooleanbooleanisPublic()booleanisStatic()Is this member static?booleanIs this member volatile?toString()
-
Constructor Details
-
FieldImpl
public FieldImpl(IClass declaringClass, FieldReference canonicalRef, int accessFlags, Collection<Annotation> annotations, TypeSignature sig) -
FieldImpl
public FieldImpl(IClass declaringClass, FieldReference canonicalRef, int accessFlags, Collection<Annotation> annotations, Collection<TypeAnnotation> typeAnnotations, TypeSignature sig) -
FieldImpl
public FieldImpl(IClass declaringClass, FieldReference canonicalRef, int accessFlags, Collection<Annotation> annotations)
-
-
Method Details
-
getGenericSignature
- Returns:
- the genericSignature
-
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.
- See Also:
-
equals
-
hashCode
-
toString
-
getReference
- Specified by:
getReferencein interfaceIField- Returns:
- canonical FieldReference representing this field
-
getName
-
getFieldTypeReference
- Specified by:
getFieldTypeReferencein interfaceIField- Returns:
- the canonical TypeReference of the declared type of the 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
-
getAnnotations
Description copied from interface:IMemberGet the annotations on this member, if any- Specified by:
getAnnotationsin interfaceIMember
-
getTypeAnnotations
-