|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.wala.classLoader.FieldImpl
public final class FieldImpl
Implementation of a canonical field reference. TODO: canonicalize these? TODO: don't cache fieldType here .. move to class?
| Constructor Summary | |
|---|---|
FieldImpl(IClass declaringClass,
FieldReference canonicalRef,
int accessFlags,
java.util.Collection<Annotation> annotations)
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
java.util.Collection<Annotation> |
getAnnotations()
|
IClassHierarchy |
getClassHierarchy()
|
IClass |
getDeclaringClass()
Return the object that represents the declaring class for this member. |
TypeReference |
getFieldTypeReference()
|
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? |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FieldImpl(IClass declaringClass,
FieldReference canonicalRef,
int accessFlags,
java.util.Collection<Annotation> annotations)
| Method Detail |
|---|
public IClass getDeclaringClass()
IMember
getDeclaringClass 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()
getName in interface IMemberpublic TypeReference getFieldTypeReference()
getFieldTypeReference in interface IFieldpublic boolean isStatic()
IMember
isStatic in interface IFieldisStatic in interface IMemberpublic boolean isFinal()
IField
isFinal in interface IFieldpublic boolean isPrivate()
isPrivate in interface IFieldpublic boolean isProtected()
isProtected in interface IFieldpublic boolean isPublic()
isPublic in interface IFieldpublic boolean isVolatile()
IField
isVolatile in interface IFieldpublic IClassHierarchy getClassHierarchy()
getClassHierarchy in interface IClassHierarchyDwellerpublic java.util.Collection<Annotation> getAnnotations()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||