|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.wala.classLoader.SyntheticMethod
public class SyntheticMethod
| Field Summary | |
|---|---|
static SSAInstruction[] |
NO_STATEMENTS
|
| Constructor Summary | |
|---|---|
SyntheticMethod(IMethod method,
IClass declaringClass,
boolean isStatic,
boolean isFactory)
|
|
SyntheticMethod(MethodReference method,
IClass declaringClass,
boolean isStatic,
boolean isFactory)
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
BytecodeStream |
getBytecodeStream()
|
ClassHierarchy |
getClassHierarchy()
|
TypeReference[] |
getDeclaredExceptions()
|
IClass |
getDeclaringClass()
Return the object that represents the declaring class for this member. |
Descriptor |
getDescriptor()
Method getDescriptor. |
int |
getLineNumber(int bcIndex)
|
java.lang.String |
getLocalVariableName(int bcIndex,
int localNumber)
|
int |
getMaxLocals()
|
int |
getMaxStackHeight()
|
Atom |
getName()
|
int |
getNumberOfParameters()
Method getNumberOfParameters. |
TypeReference |
getParameterType(int i)
Method getParameterType. |
java.lang.String |
getPoison()
|
byte |
getPoisonLevel()
|
MethodReference |
getReference()
|
TypeReference |
getReturnType()
|
Selector |
getSelector()
something like: foo(Ljava/langString;)Ljava/lang/Class; |
java.lang.String |
getSignature()
something like: com.foo.bar.createLargeOrder(IILjava.lang.String;SLjava.sql.Date;)Ljava.lang.Integer; |
SSAInstruction[] |
getStatements(SSAOptions options,
WarningSet warnings)
|
SSAInstruction[] |
getStatements(WarningSet warnings)
|
boolean |
hasExceptionHandler()
|
int |
hashCode()
|
boolean |
hasLocalVariableTable()
|
boolean |
hasPoison()
|
boolean |
isAbstract()
Is this method abstract? |
boolean |
isClinit()
Is this method a class initializer? |
boolean |
isFactoryMethod()
|
boolean |
isFinal()
Is this method final? |
boolean |
isInit()
Is this method an object initializer? |
boolean |
isNative()
Is this method native? |
boolean |
isPrivate()
Is this method private? |
boolean |
isProtected()
Is this method protected? |
boolean |
isPublic()
Is this method public? |
boolean |
isStatic()
Is this member static? |
boolean |
isSynchronized()
Is this method synchronized? |
boolean |
isSynthetic()
Did someone synthesize this method? (As opposed to reading it from a class file) |
boolean |
isVolatile()
Is this member volatile? |
InducedCFG |
makeControlFlowGraph()
|
IR |
makeIR(SSAOptions options,
WarningSet warnings)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final SSAInstruction[] NO_STATEMENTS
| Constructor Detail |
|---|
public SyntheticMethod(MethodReference method,
IClass declaringClass,
boolean isStatic,
boolean isFactory)
public SyntheticMethod(IMethod method,
IClass declaringClass,
boolean isStatic,
boolean isFactory)
| Method Detail |
|---|
public boolean isClinit()
IMethod
isClinit in interface IMethodIMethod.isClinit()public boolean isInit()
IMethod
isInit in interface IMethodIMethod.isInit()public boolean isStatic()
IMember
isStatic in interface IMemberIMember.isStatic()public boolean isNative()
IMethod
isNative in interface IMethodIMethod.isNative()public boolean isAbstract()
IMethod
isAbstract in interface IMethodIMethod.isAbstract()public boolean isPrivate()
IMethod
isPrivate in interface IMethodIMethod.isPrivate()public boolean isProtected()
IMethod
isProtected in interface IMethodpublic boolean isPublic()
IMethod
isPublic in interface IMethodpublic boolean isFinal()
IMethod
isFinal in interface IMethodIMethod.isFinal()public boolean isVolatile()
IMember
isVolatile in interface IMemberIMember.isVolatile()public boolean isSynchronized()
IMethod
isSynchronized in interface IMethodIMethod.isAbstract()public boolean isSynthetic()
IMethod
isSynthetic in interface IMethodIMethod.isSynthetic()public MethodReference getReference()
getReference in interface IMethodIMethod.getReference()public InducedCFG makeControlFlowGraph()
public BytecodeStream getBytecodeStream()
public int getMaxLocals()
getMaxLocals in interface IMethodIMethod.getMaxLocals()public int getMaxStackHeight()
getMaxStackHeight in interface IMethodIMethod.getMaxStackHeight()public IClass getDeclaringClass()
IMember
getDeclaringClass in interface IMemberIMember.getDeclaringClass()public boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectObject.equals(Object)public int hashCode()
hashCode in class java.lang.ObjectObject.hashCode()public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public boolean hasExceptionHandler()
hasExceptionHandler in interface IMethodpublic boolean hasPoison()
public java.lang.String getPoison()
public byte getPoisonLevel()
public SSAInstruction[] getStatements(SSAOptions options,
WarningSet warnings)
public IR makeIR(SSAOptions options,
WarningSet warnings)
public TypeReference getParameterType(int i)
IMethod
getParameterType in interface IMethodpublic int getNumberOfParameters()
IMethod
getNumberOfParameters in interface IMethodIMethod.getNumberOfParameters()
public TypeReference[] getDeclaredExceptions()
throws InvalidClassFileException
getDeclaredExceptions in interface IMethodInvalidClassFileExceptionpublic Atom getName()
getName in interface IMemberpublic Descriptor getDescriptor()
IMethod
getDescriptor in interface IMethodpublic int getLineNumber(int bcIndex)
getLineNumber in interface IMethodpublic boolean isFactoryMethod()
public java.lang.String getSignature()
IMethod
getSignature in interface IMethodpublic Selector getSelector()
IMethod
getSelector in interface IMethod
public java.lang.String getLocalVariableName(int bcIndex,
int localNumber)
getLocalVariableName in interface IMethodpublic boolean hasLocalVariableTable()
hasLocalVariableTable in interface IMethodpublic SSAInstruction[] getStatements(WarningSet warnings)
public TypeReference getReturnType()
getReturnType in interface IMethodpublic ClassHierarchy getClassHierarchy()
getClassHierarchy in interface IClassHierarchyDweller
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||