|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.wala.cast.loader.AstFunctionClass
public abstract class AstFunctionClass
| Field Summary | |
|---|---|
protected IMethod |
functionBody
|
| Fields inherited from interface com.ibm.wala.shrikeCT.ClassConstants |
|---|
ACC_ABSTRACT, ACC_FINAL, ACC_INTERFACE, ACC_NATIVE, ACC_PRIVATE, ACC_PROTECTED, ACC_PUBLIC, ACC_STATIC, ACC_STRICT, ACC_SUPER, ACC_SYNCHRONIZED, ACC_TRANSIENT, ACC_VOLATILE, CONSTANT_Class, CONSTANT_Double, CONSTANT_FieldRef, CONSTANT_Float, CONSTANT_Integer, CONSTANT_InterfaceMethodRef, CONSTANT_Long, CONSTANT_MethodRef, CONSTANT_NameAndType, CONSTANT_String, CONSTANT_Utf8, MAGIC |
| Constructor Summary | |
|---|---|
protected |
AstFunctionClass(TypeReference reference,
IClassLoader loader,
CAstSourcePositionMap.Position sourcePosition)
|
protected |
AstFunctionClass(TypeReference reference,
TypeReference superReference,
IClassLoader loader,
CAstSourcePositionMap.Position sourcePosition)
|
| 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.io.InputStream |
getSource()
|
java.lang.String |
getSourceFileName()
|
CAstSourcePositionMap.Position |
getSourcePosition()
|
java.net.URL |
getSourceURL()
|
IClass |
getSuperclass()
|
boolean |
isAbstract()
|
boolean |
isArrayClass()
|
boolean |
isInterface()
Is this class a Java interface? |
boolean |
isPrivate()
|
boolean |
isPublic()
|
boolean |
isReferenceType()
Does 'this' refer to a reference type? If not, then it refers to a primitive type. |
boolean |
isStatic()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.ibm.wala.ipa.cha.IClassHierarchyDweller |
|---|
getClassHierarchy |
| Field Detail |
|---|
protected IMethod functionBody
| Constructor Detail |
|---|
protected AstFunctionClass(TypeReference reference,
TypeReference superReference,
IClassLoader loader,
CAstSourcePositionMap.Position sourcePosition)
protected AstFunctionClass(TypeReference reference,
IClassLoader loader,
CAstSourcePositionMap.Position sourcePosition)
| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Objectpublic IClassLoader getClassLoader()
IClass
getClassLoader in interface IClasspublic boolean isInterface()
IClass
isInterface in interface IClasspublic boolean isAbstract()
isAbstract in interface IClasspublic boolean isPublic()
isPublic in interface IClasspublic boolean isPrivate()
isPrivate in interface IClasspublic boolean isStatic()
public int getModifiers()
IClass
getModifiers in interface IClasspublic IClass getSuperclass()
getSuperclass in interface IClasspublic java.util.Collection<IClass> getDirectInterfaces()
getDirectInterfaces in interface IClasspublic java.util.Collection<IClass> getAllImplementedInterfaces()
getAllImplementedInterfaces in interface IClasspublic java.util.Collection<IClass> getAllAncestorInterfaces()
public IMethod getMethod(Selector selector)
IClass
getMethod in interface IClassselector - a method signature
public IField getField(Atom name)
IClass
getField in interface IClasspublic TypeReference getReference()
getReference in interface IClasspublic CAstSourcePositionMap.Position getSourcePosition()
public java.net.URL getSourceURL()
public java.lang.String getSourceFileName()
getSourceFileName in interface IClasspublic java.io.InputStream getSource()
getSource in interface IClasspublic IMethod getClassInitializer()
getClassInitializer in interface IClasspublic boolean isArrayClass()
isArrayClass in interface IClasspublic java.util.Collection<IMethod> getDeclaredMethods()
getDeclaredMethods in interface IClasspublic java.util.Collection<IField> getDeclaredInstanceFields()
IClass
getDeclaredInstanceFields in interface IClasspublic java.util.Collection<IField> getDeclaredStaticFields()
getDeclaredStaticFields in interface IClasspublic java.util.Collection<IField> getAllInstanceFields()
IClass
getAllInstanceFields in interface IClasspublic java.util.Collection<IField> getAllStaticFields()
IClass
getAllStaticFields in interface IClasspublic java.util.Collection<IField> getAllFields()
IClass
getAllFields in interface IClasspublic java.util.Collection<IMethod> getAllMethods()
IClass
getAllMethods in interface IClasspublic TypeName getName()
getName in interface IClasspublic boolean isReferenceType()
IClass
isReferenceType in interface IClass
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||