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()
IMember
getDeclaringClass
in interface IMember
public FieldReference getReference()
getReference
in interface IField
public Atom getName()
public TypeReference getFieldTypeReference()
getFieldTypeReference
in interface IField
public boolean isStatic()
IMember
public boolean isFinal()
IField
public boolean isProtected()
isProtected
in interface IField
public boolean isVolatile()
IField
isVolatile
in interface IField
public IClassHierarchy getClassHierarchy()
getClassHierarchy
in interface IClassHierarchyDweller
public Collection<Annotation> getAnnotations()
IMember
getAnnotations
in interface IMember