public final class FieldImpl extends Object implements IField
| Constructor and Description |
|---|
FieldImpl(IClass declaringClass,
FieldReference canonicalRef,
int accessFlags,
Collection<Annotation> annotations) |
FieldImpl(IClass declaringClass,
FieldReference canonicalRef,
int accessFlags,
Collection<Annotation> annotations,
TypeSignature sig) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
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() |
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?
|
String |
toString() |
public FieldImpl(IClass declaringClass, FieldReference canonicalRef, int accessFlags, Collection<Annotation> annotations, TypeSignature sig)
public FieldImpl(IClass declaringClass, FieldReference canonicalRef, int accessFlags, Collection<Annotation> annotations)
public TypeSignature getGenericSignature()
public IClass getDeclaringClass()
IMembergetDeclaringClass in interface IMemberpublic 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 Collection<Annotation> getAnnotations()
IMembergetAnnotations in interface IMemberCopyright © 2015. All rights reserved.