public class SummarizedMethod extends SyntheticMethod
SyntheticMethod representing the semantics encoded in a MethodSummaryIMethod.SourcePositionContextItem.Value<T>declaringClass, NO_STATEMENTS, resolvedMethod| Constructor and Description |
|---|
SummarizedMethod(MethodReference ref,
MethodSummary summary,
IClass declaringClass) |
| Modifier and Type | Method and Description |
|---|---|
int |
getNumberOfParameters()
Method getNumberOfParameters.
|
TypeReference |
getParameterType(int i)
By convention, for a non-static method, getParameterType(0) is the this pointer
|
String |
getPoison() |
byte |
getPoisonLevel() |
SSAInstruction[] |
getStatements(SSAOptions options) |
boolean |
hasPoison() |
boolean |
isAbstract()
Is this method abstract?
|
boolean |
isNative()
Is this method native?
|
boolean |
isStatic()
Is this member static?
|
IR |
makeIR(Context context,
SSAOptions options)
Most subclasses should override this.
|
equals, getAnnotations, getBytecodeStream, getClassHierarchy, getDeclaredExceptions, getDeclaringClass, getDescriptor, getLineNumber, getLocalVariableName, getMaxLocals, getMaxStackHeight, getName, getParameterSourcePosition, getReference, getReturnType, getSelector, getSignature, getSourcePosition, getStatements, hasExceptionHandler, hashCode, hasLocalVariableTable, isBridge, isClinit, isFactoryMethod, isFinal, isInit, isPrivate, isProtected, isPublic, isSynchronized, isSynthetic, makeControlFlowGraph, toStringpublic SummarizedMethod(MethodReference ref, MethodSummary summary, IClass declaringClass) throws NullPointerException
NullPointerExceptionpublic boolean isNative()
IMethodisNative in interface IMethodisNative in class SyntheticMethodIMethod.isNative()public boolean isAbstract()
IMethodisAbstract in interface IMethodisAbstract in class SyntheticMethodIMethod.isAbstract()public String getPoison()
getPoison in class SyntheticMethodpublic byte getPoisonLevel()
getPoisonLevel in class SyntheticMethodpublic boolean hasPoison()
hasPoison in class SyntheticMethodpublic SSAInstruction[] getStatements(SSAOptions options)
getStatements in class SyntheticMethodpublic IR makeIR(Context context, SSAOptions options)
SyntheticMethodmakeIR in class SyntheticMethodcontext - TODOoptions - options governing IR conversionpublic int getNumberOfParameters()
IMethodgetNumberOfParameters in interface IMethodgetNumberOfParameters in class SyntheticMethodIMethod.getNumberOfParameters()public boolean isStatic()
IMemberisStatic in interface IMemberisStatic in class SyntheticMethodIMember.isStatic()public TypeReference getParameterType(int i)
IMethodgetParameterType in interface IMethodgetParameterType in class SyntheticMethodCopyright © 2015. All rights reserved.