com.ibm.wala.ipa.summaries
Class SummarizedMethod
java.lang.Object
com.ibm.wala.classLoader.SyntheticMethod
com.ibm.wala.ipa.summaries.SummarizedMethod
- All Implemented Interfaces:
- IMember, IMethod, ContextItem, IClassHierarchyDweller
- Direct Known Subclasses:
- JavaScriptSummarizedFunction, SummarizedEJBMethod
public class SummarizedMethod
- extends SyntheticMethod
| Methods inherited from class com.ibm.wala.classLoader.SyntheticMethod |
equals, getBytecodeStream, getClassHierarchy, getDeclaredExceptions, getDeclaringClass, getDescriptor, getLineNumber, getLocalVariableName, getMaxLocals, getMaxStackHeight, getName, getReference, getReturnType, getSelector, getSignature, getStatements, hasExceptionHandler, hashCode, hasLocalVariableTable, isClinit, isFactoryMethod, isFinal, isInit, isPrivate, isProtected, isPublic, isSynchronized, isSynthetic, isVolatile, makeControlFlowGraph, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
SummarizedMethod
public SummarizedMethod(MethodReference ref,
MethodSummary summary,
IClass declaringClass)
throws java.lang.NullPointerException
- Throws:
java.lang.NullPointerException
isNative
public boolean isNative()
- Description copied from interface:
IMethod
- Is this method native?
- Specified by:
isNative in interface IMethod- Overrides:
isNative in class SyntheticMethod
- Returns:
- boolean
- See Also:
IMethod.isNative()
isAbstract
public boolean isAbstract()
- Description copied from interface:
IMethod
- Is this method abstract?
- Specified by:
isAbstract in interface IMethod- Overrides:
isAbstract in class SyntheticMethod
- Returns:
- boolean
- See Also:
IMethod.isAbstract()
getPoison
public java.lang.String getPoison()
- Overrides:
getPoison in class SyntheticMethod
getPoisonLevel
public byte getPoisonLevel()
- Overrides:
getPoisonLevel in class SyntheticMethod
hasPoison
public boolean hasPoison()
- Overrides:
hasPoison in class SyntheticMethod
getStatements
public SSAInstruction[] getStatements(SSAOptions options)
- Overrides:
getStatements in class SyntheticMethod
makeIR
public IR makeIR(SSAOptions options,
WarningSet warnings)
- Overrides:
makeIR in class SyntheticMethod
getNumberOfParameters
public int getNumberOfParameters()
- Description copied from interface:
IMethod
- Method getNumberOfParameters. This result includes the "this" pointer if
applicable
- Specified by:
getNumberOfParameters in interface IMethod- Overrides:
getNumberOfParameters in class SyntheticMethod
- See Also:
IMethod.getNumberOfParameters()
isStatic
public boolean isStatic()
- Description copied from interface:
IMember
- Is this member static?
- Specified by:
isStatic in interface IMember- Overrides:
isStatic in class SyntheticMethod
- See Also:
IMember.isStatic()
getParameterType
public TypeReference getParameterType(int i)
- Description copied from interface:
IMethod
- Method getParameterType. By convention, for a non-static method,
getParameterType(0) is the this pointer
- Specified by:
getParameterType in interface IMethod- Overrides:
getParameterType in class SyntheticMethod