protected class FactoryBypassInterpreter.SpecializedFactoryMethod extends AbstractReflectionInterpreter.SpecializedMethod
IMethod.SourcePosition
ContextItem.Value<T>
allInstructions, allocations, typesAllocated
declaringClass, NO_STATEMENTS, resolvedMethod
Modifier | Constructor and Description |
---|---|
protected |
SpecializedFactoryMethod(SummarizedMethod m,
Context context,
Set S) |
Modifier and Type | Method and Description |
---|---|
protected void |
addStatementsForTypeAbstraction(TypeAbstraction T) |
boolean |
equals(Object obj)
Two specialized methods can be different, even if they represent the same source method.
|
List<SSAInstruction> |
getAllocationStatements() |
IClass |
getDeclaringClass()
Return the object that represents the declaring class
for this member.
|
List<SSAInstruction> |
getInvokeStatements() |
int |
getNumberOfParameters()
Method getNumberOfParameters.
|
TypeReference |
getParameterType(int i)
By convention, for a non-static method, getParameterType(0) is the this pointer
|
SSAInstruction[] |
getStatements() |
int |
hashCode() |
IR |
makeIR(Context C,
SSAOptions options)
Most subclasses should override this.
|
String |
toString() |
addCtorInvokeInstruction, addInstruction, addStatementsForConcreteSimpleType
getAnnotations, getBytecodeStream, getClassHierarchy, getDeclaredExceptions, getDescriptor, getLineNumber, getLocalVariableName, getMaxLocals, getMaxStackHeight, getName, getParameterSourcePosition, getPoison, getPoisonLevel, getReference, getReturnType, getSelector, getSignature, getSourcePosition, getStatements, hasExceptionHandler, hasLocalVariableTable, hasPoison, isAbstract, isBridge, isClinit, isFactoryMethod, isFinal, isInit, isNative, isPrivate, isProtected, isPublic, isStatic, isSynchronized, isSynthetic, makeControlFlowGraph
protected SpecializedFactoryMethod(SummarizedMethod m, Context context, Set S)
protected void addStatementsForTypeAbstraction(TypeAbstraction T)
public List<SSAInstruction> getAllocationStatements()
public List<SSAInstruction> getInvokeStatements()
public boolean equals(Object obj)
equals
in class SyntheticMethod
Object.equals(java.lang.Object)
public int hashCode()
hashCode
in class SyntheticMethod
public String toString()
toString
in class SyntheticMethod
public SSAInstruction[] getStatements()
getStatements
in class SyntheticMethod
public IClass getDeclaringClass()
IMember
getDeclaringClass
in interface IMember
getDeclaringClass
in class SyntheticMethod
public int getNumberOfParameters()
IMethod
getNumberOfParameters
in interface IMethod
getNumberOfParameters
in class SyntheticMethod
IMethod.getNumberOfParameters()
public TypeReference getParameterType(int i)
IMethod
getParameterType
in interface IMethod
getParameterType
in class SyntheticMethod
public IR makeIR(Context C, SSAOptions options)
SyntheticMethod
makeIR
in class SyntheticMethod
C
- TODOoptions
- options governing IR conversion