public abstract class AstFunctionClass
extends java.lang.Object
implements com.ibm.wala.classLoader.IClass, com.ibm.wala.shrike.shrikeCT.ClassConstants
| Modifier and Type | Field and Description |
|---|---|
protected AstMethod |
functionBody |
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_InvokeDynamic, CONSTANT_Long, CONSTANT_MethodHandle, CONSTANT_MethodRef, CONSTANT_MethodType, CONSTANT_Module, CONSTANT_NameAndType, CONSTANT_Package, CONSTANT_String, CONSTANT_Utf8, MAGIC, REF_getField, REF_getStatic, REF_invokeInterface, REF_invokeSpecial, REF_invokeStatic, REF_invokeVirtual, REF_newInvokeSpecial, REF_putField, REF_putStatic| Modifier | Constructor and Description |
|---|---|
protected |
AstFunctionClass(com.ibm.wala.types.TypeReference reference,
com.ibm.wala.classLoader.IClassLoader loader,
CAstSourcePositionMap.Position sourcePosition) |
protected |
AstFunctionClass(com.ibm.wala.types.TypeReference reference,
com.ibm.wala.types.TypeReference superReference,
com.ibm.wala.classLoader.IClassLoader loader,
CAstSourcePositionMap.Position sourcePosition) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<com.ibm.wala.classLoader.IClass> |
getAllAncestorInterfaces() |
java.util.Collection<com.ibm.wala.classLoader.IField> |
getAllFields() |
java.util.Collection<com.ibm.wala.classLoader.IClass> |
getAllImplementedInterfaces() |
java.util.Collection<com.ibm.wala.classLoader.IField> |
getAllInstanceFields() |
java.util.Collection<com.ibm.wala.classLoader.IMethod> |
getAllMethods() |
java.util.Collection<com.ibm.wala.classLoader.IField> |
getAllStaticFields() |
com.ibm.wala.classLoader.IMethod |
getClassInitializer() |
com.ibm.wala.classLoader.IClassLoader |
getClassLoader() |
AstMethod |
getCodeBody() |
java.util.Collection<com.ibm.wala.classLoader.IField> |
getDeclaredInstanceFields() |
java.util.Collection<com.ibm.wala.classLoader.IMethod> |
getDeclaredMethods() |
java.util.Collection<com.ibm.wala.classLoader.IField> |
getDeclaredStaticFields() |
java.util.Collection<com.ibm.wala.classLoader.IClass> |
getDirectInterfaces() |
com.ibm.wala.classLoader.IField |
getField(com.ibm.wala.core.util.strings.Atom name) |
com.ibm.wala.classLoader.IField |
getField(com.ibm.wala.core.util.strings.Atom name,
com.ibm.wala.types.TypeName type) |
com.ibm.wala.classLoader.IMethod |
getMethod(com.ibm.wala.types.Selector selector) |
int |
getModifiers() |
com.ibm.wala.types.TypeName |
getName() |
com.ibm.wala.types.TypeReference |
getReference() |
java.io.Reader |
getSource() |
java.lang.String |
getSourceFileName() |
CAstSourcePositionMap.Position |
getSourcePosition() |
java.net.URL |
getSourceURL() |
com.ibm.wala.classLoader.IClass |
getSuperclass() |
boolean |
isAbstract() |
boolean |
isArrayClass() |
boolean |
isInterface() |
boolean |
isPrivate() |
boolean |
isPublic() |
boolean |
isReferenceType() |
boolean |
isStatic() |
boolean |
isSynthetic() |
java.lang.String |
toString() |
protected AstMethod functionBody
protected AstFunctionClass(com.ibm.wala.types.TypeReference reference,
com.ibm.wala.types.TypeReference superReference,
com.ibm.wala.classLoader.IClassLoader loader,
CAstSourcePositionMap.Position sourcePosition)
protected AstFunctionClass(com.ibm.wala.types.TypeReference reference,
com.ibm.wala.classLoader.IClassLoader loader,
CAstSourcePositionMap.Position sourcePosition)
public java.lang.String toString()
toString in class java.lang.Objectpublic com.ibm.wala.classLoader.IClassLoader getClassLoader()
getClassLoader in interface com.ibm.wala.classLoader.IClasspublic boolean isInterface()
isInterface in interface com.ibm.wala.classLoader.IClasspublic boolean isAbstract()
isAbstract in interface com.ibm.wala.classLoader.IClasspublic boolean isPublic()
isPublic in interface com.ibm.wala.classLoader.IClasspublic boolean isPrivate()
isPrivate in interface com.ibm.wala.classLoader.IClasspublic boolean isStatic()
public boolean isSynthetic()
isSynthetic in interface com.ibm.wala.classLoader.IClasspublic int getModifiers()
getModifiers in interface com.ibm.wala.classLoader.IClasspublic com.ibm.wala.classLoader.IClass getSuperclass()
getSuperclass in interface com.ibm.wala.classLoader.IClasspublic java.util.Collection<com.ibm.wala.classLoader.IClass> getDirectInterfaces()
getDirectInterfaces in interface com.ibm.wala.classLoader.IClasspublic java.util.Collection<com.ibm.wala.classLoader.IClass> getAllImplementedInterfaces()
getAllImplementedInterfaces in interface com.ibm.wala.classLoader.IClasspublic java.util.Collection<com.ibm.wala.classLoader.IClass> getAllAncestorInterfaces()
public com.ibm.wala.classLoader.IMethod getMethod(com.ibm.wala.types.Selector selector)
getMethod in interface com.ibm.wala.classLoader.IClasspublic com.ibm.wala.classLoader.IField getField(com.ibm.wala.core.util.strings.Atom name)
getField in interface com.ibm.wala.classLoader.IClasspublic com.ibm.wala.classLoader.IField getField(com.ibm.wala.core.util.strings.Atom name,
com.ibm.wala.types.TypeName type)
getField in interface com.ibm.wala.classLoader.IClasspublic com.ibm.wala.types.TypeReference getReference()
getReference in interface com.ibm.wala.classLoader.IClasspublic CAstSourcePositionMap.Position getSourcePosition()
public java.net.URL getSourceURL()
public java.lang.String getSourceFileName()
getSourceFileName in interface com.ibm.wala.classLoader.IClasspublic java.io.Reader getSource()
getSource in interface com.ibm.wala.classLoader.IClasspublic com.ibm.wala.classLoader.IMethod getClassInitializer()
getClassInitializer in interface com.ibm.wala.classLoader.IClasspublic boolean isArrayClass()
isArrayClass in interface com.ibm.wala.classLoader.IClasspublic java.util.Collection<com.ibm.wala.classLoader.IMethod> getDeclaredMethods()
getDeclaredMethods in interface com.ibm.wala.classLoader.IClasspublic java.util.Collection<com.ibm.wala.classLoader.IField> getDeclaredInstanceFields()
getDeclaredInstanceFields in interface com.ibm.wala.classLoader.IClasspublic java.util.Collection<com.ibm.wala.classLoader.IField> getDeclaredStaticFields()
getDeclaredStaticFields in interface com.ibm.wala.classLoader.IClasspublic java.util.Collection<com.ibm.wala.classLoader.IField> getAllInstanceFields()
getAllInstanceFields in interface com.ibm.wala.classLoader.IClasspublic java.util.Collection<com.ibm.wala.classLoader.IField> getAllStaticFields()
getAllStaticFields in interface com.ibm.wala.classLoader.IClasspublic java.util.Collection<com.ibm.wala.classLoader.IField> getAllFields()
getAllFields in interface com.ibm.wala.classLoader.IClasspublic java.util.Collection<com.ibm.wala.classLoader.IMethod> getAllMethods()
getAllMethods in interface com.ibm.wala.classLoader.IClasspublic com.ibm.wala.types.TypeName getName()
getName in interface com.ibm.wala.classLoader.IClasspublic boolean isReferenceType()
isReferenceType in interface com.ibm.wala.classLoader.IClasspublic AstMethod getCodeBody()