|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IClass
Basic interface for an object that represents a single Java class for analysis purposes, including array classes.
| Method Summary | |
|---|---|
java.util.Collection<IClass> |
getAllAncestorInterfaces()
|
java.util.Collection<IField> |
getAllFields()
Compute the instance and static fields declared by this class or any of its superclasses. |
java.util.Collection<IClass> |
getAllImplementedInterfaces()
|
java.util.Collection<IField> |
getAllInstanceFields()
Compute the instance fields declared by this class or any of its superclasses. |
java.util.Collection<IMethod> |
getAllMethods()
Compute the methods declared by this class or any of its superclasses. |
java.util.Collection<IField> |
getAllStaticFields()
Compute the static fields declared by this class or any of its superclasses. |
IMethod |
getClassInitializer()
|
IClassLoader |
getClassLoader()
Return the object that represents the defining class loader for this class. |
java.util.Collection<IField> |
getDeclaredInstanceFields()
Compute the instance fields declared by this class. |
java.util.Collection<IMethod> |
getDeclaredMethods()
|
java.util.Collection<IField> |
getDeclaredStaticFields()
|
java.util.Collection<IClass> |
getDirectInterfaces()
|
IField |
getField(Atom name)
Finds a field. |
IMethod |
getMethod(Selector selector)
Finds method matching signature. |
int |
getModifiers()
Return the integer that encodes the class's modifiers, as defined by the JVM specification |
TypeName |
getName()
|
TypeReference |
getReference()
|
java.lang.String |
getSourceFileName()
|
IClass |
getSuperclass()
|
boolean |
isAbstract()
|
boolean |
isArrayClass()
|
boolean |
isInterface()
Is this class a Java interface? |
boolean |
isPublic()
|
boolean |
isReferenceType()
Does 'this' refer to a reference type? If not, then it refers to a primitive type. |
| Methods inherited from interface com.ibm.wala.ipa.cha.IClassHierarchyDweller |
|---|
getClassHierarchy |
| Method Detail |
|---|
IClassLoader getClassLoader()
boolean isInterface()
boolean isAbstract()
boolean isPublic()
int getModifiers()
IClass getSuperclass()
throws ClassHierarchyException
ClassHierarchyException
java.util.Collection<IClass> getDirectInterfaces()
throws ClassHierarchyException
ClassHierarchyException
java.util.Collection<IClass> getAllImplementedInterfaces()
throws ClassHierarchyException
ClassHierarchyException
java.util.Collection<IClass> getAllAncestorInterfaces()
throws ClassHierarchyException
ClassHierarchyExceptionIMethod getMethod(Selector selector)
selector - a method signature
IField getField(Atom name)
TypeReference getReference()
java.lang.String getSourceFileName()
IMethod getClassInitializer()
boolean isArrayClass()
java.util.Collection<IMethod> getDeclaredMethods()
java.util.Collection<IField> getAllInstanceFields()
throws ClassHierarchyException
ClassHierarchyException
java.util.Collection<IField> getAllStaticFields()
throws ClassHierarchyException
ClassHierarchyException
java.util.Collection<IField> getAllFields()
throws ClassHierarchyException
ClassHierarchyException
java.util.Collection<IMethod> getAllMethods()
throws ClassHierarchyException
ClassHierarchyExceptionjava.util.Collection<IField> getDeclaredInstanceFields()
java.util.Collection<IField> getDeclaredStaticFields()
TypeName getName()
boolean isReferenceType()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||