com.ibm.wala.ipa.summaries
Class SummarizedMethod

java.lang.Object
  extended by com.ibm.wala.classLoader.SyntheticMethod
      extended by com.ibm.wala.ipa.summaries.SummarizedMethod
All Implemented Interfaces:
IMember, IMethod, ContextItem, IClassHierarchyDweller
Direct Known Subclasses:
JavaScriptSummarizedFunction, SummarizedEJBMethod

public class SummarizedMethod
extends SyntheticMethod


Field Summary
 
Fields inherited from class com.ibm.wala.classLoader.SyntheticMethod
NO_STATEMENTS
 
Constructor Summary
SummarizedMethod(MethodReference ref, MethodSummary summary, IClass declaringClass)
           
 
Method Summary
 int getNumberOfParameters()
          Method getNumberOfParameters.
 TypeReference getParameterType(int i)
          Method getParameterType.
 java.lang.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(SSAOptions options, WarningSet warnings)
           
 
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
 

Constructor Detail

SummarizedMethod

public SummarizedMethod(MethodReference ref,
                        MethodSummary summary,
                        IClass declaringClass)
                 throws java.lang.NullPointerException
Throws:
java.lang.NullPointerException
Method Detail

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