public final class FieldImpl extends java.lang.Object implements IField
| Constructor and Description |
|---|
FieldImpl(IClass declaringClass,
FieldReference canonicalRef,
int accessFlags,
java.util.Collection<Annotation> annotations) |
FieldImpl(IClass declaringClass,
FieldReference canonicalRef,
int accessFlags,
java.util.Collection<Annotation> annotations,
java.util.Collection<TypeAnnotation> typeAnnotations,
TypeSignature sig) |
FieldImpl(IClass declaringClass,
FieldReference canonicalRef,
int accessFlags,
java.util.Collection<Annotation> annotations,
TypeSignature sig) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.Collection<Annotation> |
getAnnotations()
Get the annotations on this member, if any
|
IClassHierarchy |
getClassHierarchy() |
IClass |
getDeclaringClass()
Return the object that represents the declaring class for this member.
|
TypeReference |
getFieldTypeReference() |
TypeSignature |
getGenericSignature() |
Atom |
getName() |
FieldReference |
getReference() |
java.util.Collection<TypeAnnotation> |
getTypeAnnotations() |
int |
hashCode() |
boolean |
isFinal()
Is this field final?
|
boolean |
isPrivate() |
boolean |
isProtected() |
boolean |
isPublic() |
boolean |
isStatic()
Is this member static?
|
boolean |
isVolatile()
Is this member volatile?
|
java.lang.String |
toString() |
public FieldImpl(IClass declaringClass, FieldReference canonicalRef, int accessFlags, java.util.Collection<Annotation> annotations, TypeSignature sig)
public FieldImpl(IClass declaringClass, FieldReference canonicalRef, int accessFlags, java.util.Collection<Annotation> annotations, java.util.Collection<TypeAnnotation> typeAnnotations, TypeSignature sig)
public FieldImpl(IClass declaringClass, FieldReference canonicalRef, int accessFlags, java.util.Collection<Annotation> annotations)
public TypeSignature getGenericSignature()
public IClass getDeclaringClass()
IMembergetDeclaringClass in interface IMemberpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic FieldReference getReference()
getReference in interface IFieldpublic Atom getName()
public TypeReference getFieldTypeReference()
getFieldTypeReference in interface IFieldpublic boolean isStatic()
IMemberpublic boolean isFinal()
IFieldpublic boolean isProtected()
isProtected in interface IFieldpublic boolean isVolatile()
IFieldisVolatile in interface IFieldpublic IClassHierarchy getClassHierarchy()
getClassHierarchy in interface IClassHierarchyDwellerpublic java.util.Collection<Annotation> getAnnotations()
IMembergetAnnotations in interface IMemberpublic java.util.Collection<TypeAnnotation> getTypeAnnotations()