com.ibm.wala.j2ee
Class CommandInterpreter.SpecializedExecuteMethod

java.lang.Object
  extended by com.ibm.wala.classLoader.SyntheticMethod
      extended by com.ibm.wala.j2ee.CommandInterpreter.SpecializedExecuteMethod
All Implemented Interfaces:
IMember, IMethod, ContextItem, IClassHierarchyDweller
Enclosing class:
CommandInterpreter

protected class CommandInterpreter.SpecializedExecuteMethod
extends SyntheticMethod


Field Summary
 
Fields inherited from class com.ibm.wala.classLoader.SyntheticMethod
NO_STATEMENTS
 
Method Summary
 boolean equals(java.lang.Object obj)
          Two specialized methods can be different, even if they represent the same source method.
 java.util.List<SSAInstruction> getInvokeStatements()
           
 IR getIR(WarningSet warnings)
           
 SSAInstruction[] getStatements(WarningSet warnings)
           
 int hashCode()
          Two specialized methods can be different, even if they represent the same source method.
 java.lang.String toString()
           
 
Methods inherited from class com.ibm.wala.classLoader.SyntheticMethod
getBytecodeStream, getClassHierarchy, getDeclaredExceptions, getDeclaringClass, getDescriptor, getLineNumber, getLocalVariableName, getMaxLocals, getMaxStackHeight, getName, getNumberOfParameters, getParameterType, getPoison, getPoisonLevel, getReference, getReturnType, getSelector, getSignature, getStatements, hasExceptionHandler, hasLocalVariableTable, hasPoison, isAbstract, isClinit, isFactoryMethod, isFinal, isInit, isNative, isPrivate, isProtected, isPublic, isStatic, isSynchronized, isSynthetic, isVolatile, makeControlFlowGraph, makeIR
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getInvokeStatements

public java.util.List<SSAInstruction> getInvokeStatements()
Returns:
List of InvokeInstruction

equals

public boolean equals(java.lang.Object obj)
Two specialized methods can be different, even if they represent the same source method. So, revert to object identity for testing equality. TODO: this is non-optimal; could try to re-use specialized methods that have the same context.

Overrides:
equals in class SyntheticMethod
See Also:
Object.equals(java.lang.Object)

hashCode

public int hashCode()
Two specialized methods can be different, even if they represent the same source method. So, revert to object identity for testing equality. TODO: this is non-optimal; could try to re-use specialized methods that have the same context.

Overrides:
hashCode in class SyntheticMethod
See Also:
Object.hashCode()

toString

public java.lang.String toString()
Overrides:
toString in class SyntheticMethod
See Also:
Object.toString()

getStatements

public SSAInstruction[] getStatements(WarningSet warnings)
Overrides:
getStatements in class SyntheticMethod

getIR

public IR getIR(WarningSet warnings)