public class PtolemyUtilities
extends java.lang.Object
Red (cxh) |
Red (cxh) |
Modifier and Type | Field and Description |
---|---|
static soot.SootClass |
actorClass |
static soot.Type |
actorType |
static soot.SootMethod |
arraycopyMethod |
static soot.SootMethod |
arrayGetElementMethod |
static soot.SootClass |
arrayTokenClass |
static soot.SootMethod |
arrayTokenConstructor |
static soot.SootMethod |
arrayTokenWithTypeConstructor |
static soot.SootClass |
arrayTypeClass |
static soot.SootMethod |
arrayValueMethod |
static soot.SootClass |
atomicActorClass |
static soot.SootMethod |
attachTextMethod |
static soot.SootMethod |
attributeChangedMethod |
static soot.SootClass |
attributeClass |
static soot.Type |
attributeType |
static soot.SootClass |
baseTypeClass |
static soot.SootMethod |
booleanMatrixMethod |
static soot.SootMethod |
booleanMatrixTokenArrayConstructor |
static soot.SootClass |
booleanMatrixTokenClass |
static soot.SootMethod |
booleanMatrixTokenConstructor |
static soot.SootField |
booleanMatrixTypeField |
static soot.SootClass |
booleanTokenClass |
static soot.SootMethod |
booleanTokenConstructor |
static soot.SootField |
booleanTypeField |
static soot.SootMethod |
booleanValueMethod |
static soot.SootField |
byteTypeField |
static soot.SootClass |
classClass |
static soot.SootMethod |
complexMatrixMethod |
static soot.SootMethod |
complexMatrixTokenArrayConstructor |
static soot.SootClass |
complexMatrixTokenClass |
static soot.SootMethod |
complexMatrixTokenConstructor |
static soot.SootField |
complexMatrixTypeField |
static soot.SootClass |
complexTokenClass |
static soot.SootMethod |
complexTokenConstructor |
static soot.SootField |
complexTypeField |
static soot.SootMethod |
complexValueMethod |
static soot.SootClass |
componentEntityClass |
static soot.RefType |
componentEntityType |
static soot.SootClass |
componentPortClass |
static soot.Type |
componentPortType |
static soot.SootClass |
compositeActorClass |
static soot.SootClass |
compositeEntityClass |
static soot.SootMethod |
connectionsChangedMethod |
static soot.SootField |
debuggingField |
static soot.SootMethod |
doubleMatrixMethod |
static soot.SootMethod |
doubleMatrixTokenArrayConstructor |
static soot.SootClass |
doubleMatrixTokenClass |
static soot.SootMethod |
doubleMatrixTokenConstructor |
static soot.SootField |
doubleMatrixTypeField |
static soot.SootClass |
doubleTokenClass |
static soot.SootMethod |
doubleTokenConstructor |
static soot.SootField |
doubleTypeField |
static soot.SootMethod |
doubleValueMethod |
static soot.SootClass |
entityClass |
static soot.RefType |
entityType |
static soot.SootClass |
exceptionClass |
static soot.SootMethod |
executableFireMethod |
static soot.SootClass |
executableInterface |
static soot.SootMethod |
executablePostfireMethod |
static soot.SootMethod |
executablePrefireMethod |
static soot.SootClass |
explicitChangeContextClass |
static soot.SootMethod |
findEffigyMethod |
static soot.SootMethod |
fixMatrixMethod |
static soot.SootMethod |
fixMatrixTokenArrayConstructor |
static soot.SootClass |
fixMatrixTokenClass |
static soot.SootMethod |
fixMatrixTokenConstructor |
static soot.SootField |
fixMatrixTypeField |
static soot.SootClass |
fixTokenClass |
static soot.SootMethod |
fixTokenConstructor |
static soot.SootMethod |
fixTokenThreeArgConstructor |
static soot.SootClass |
fixTypeClass |
static soot.SootField |
fixTypeField |
static soot.SootMethod |
fixValueMethod |
static soot.SootClass |
floatTokenClass |
static soot.SootMethod |
floatTokenConstructor |
static soot.SootField |
floatTypeField |
static soot.SootMethod |
floatValueMethod |
static soot.SootClass |
functionInterface |
static soot.SootMethod |
functionTokenApplyMethod |
static soot.SootClass |
functionTokenClass |
static soot.SootMethod |
functionTokenConstructor |
static soot.SootClass |
functionTypeClass |
static soot.SootField |
generalTypeField |
static soot.SootMethod |
getAttributeMethod |
static soot.SootMethod |
getClassMethod |
static soot.SootMethod |
getContainerMethod |
static soot.SootMethod |
getDirectorMethod |
static soot.SootMethod |
getEntityMethod |
static soot.SootMethod |
getExpressionMethod |
static soot.SootMethod |
getFullNameMethod |
static soot.SootMethod |
getInsideMethod |
static soot.SootMethod |
getMethod |
static soot.SootMethod |
getModelURIMethod |
static soot.SootMethod |
getNameMethod |
static soot.SootMethod |
getPortMethod |
static soot.SootMethod |
handleModelErrorMethod |
static soot.SootMethod |
hasTokenMethod |
static soot.SootClass |
inequalityTermClass |
static soot.SootClass |
initializableInterface |
static soot.SootMethod |
insertLinkMethod |
static soot.SootMethod |
intMatrixMethod |
static soot.SootMethod |
intMatrixTokenArrayConstructor |
static soot.SootClass |
intMatrixTokenClass |
static soot.SootMethod |
intMatrixTokenConstructor |
static soot.SootField |
intMatrixTypeField |
static soot.SootClass |
intTokenClass |
static soot.SootMethod |
intTokenConstructor |
static soot.SootField |
intTypeField |
static soot.SootMethod |
intValueMethod |
static soot.SootMethod |
invalidateResolvedTypesMethod |
static soot.SootClass |
ioportClass |
static soot.Type |
ioportType |
static soot.SootClass |
kernelExceptionClass |
static soot.SootClass |
kernelRuntimeExceptionClass |
static soot.SootClass |
limitedFiringSourceClass |
static soot.SootMethod |
longMatrixMethod |
static soot.SootMethod |
longMatrixTokenArrayConstructor |
static soot.SootClass |
longMatrixTokenClass |
static soot.SootMethod |
longMatrixTokenConstructor |
static soot.SootField |
longMatrixTypeField |
static soot.SootClass |
longTokenClass |
static soot.SootMethod |
longTokenConstructor |
static soot.SootField |
longTypeField |
static soot.SootMethod |
longValueMethod |
static soot.SootClass |
managerClass |
static soot.SootMethod |
matrixGetElementAsTokenMethod |
static soot.SootClass |
matrixTokenClass |
static soot.SootMethod |
matrixTokenCreateMethod |
static soot.SootClass |
matrixTypeClass |
static soot.SootClass |
namedObjClass |
static soot.SootClass |
nonStrictTestClass |
static soot.SootClass |
objectClass |
static soot.SootMethod |
objectConstructor |
static soot.SootField |
objectTypeField |
static soot.SootClass |
parameterClass |
static soot.SootClass |
portClass |
static soot.SootClass |
portParameterClass |
static soot.SootMethod |
portParameterGetPortMethod |
static soot.SootMethod |
portParameterUpdateMethod |
static soot.SootMethod |
portSetTypeMethod |
static soot.SootClass |
ptParserClass |
static soot.SootMethod |
recordGetMethod |
static soot.SootClass |
recordTokenClass |
static soot.SootMethod |
recordTokenConstructor |
static soot.SootClass |
recordTypeClass |
static soot.SootClass |
relationClass |
static soot.Type |
relationType |
static soot.SootClass |
runtimeExceptionClass |
static soot.SootMethod |
runtimeExceptionConstructor |
static soot.SootMethod |
runtimeExceptionStringConstructor |
static soot.SootClass |
scalarTokenClass |
static soot.SootMethod |
sendInsideMethod |
static soot.SootMethod |
sendMethod |
static soot.SootMethod |
setExpressionMethod |
static soot.SootMethod |
setInputMethod |
static soot.SootMethod |
setMultiportMethod |
static soot.SootMethod |
setNameMethod |
static soot.SootMethod |
setOutputMethod |
static soot.SootClass |
settableClass |
static soot.Type |
settableType |
static soot.SootMethod |
setVisibilityMethod |
static soot.SootClass |
shortTokenClass |
static soot.SootMethod |
shortTokenConstructor |
static soot.SootField |
shortTypeField |
static soot.SootMethod |
shortValueMethod |
static soot.SootField |
stopRequestedField |
static soot.SootClass |
stringAttributeClass |
static soot.SootClass |
stringClass |
static soot.SootClass |
stringTokenClass |
static soot.SootMethod |
stringTokenConstructor |
static soot.SootField |
stringTypeField |
static soot.SootMethod |
stringValueMethod |
static soot.SootClass |
systemClass |
static soot.SootMethod |
tokenAddMethod |
static soot.SootMethod |
tokenBitwiseAndMethod |
static soot.SootMethod |
tokenBitwiseNotMethod |
static soot.SootMethod |
tokenBitwiseOrMethod |
static soot.SootMethod |
tokenBitwiseXorMethod |
static soot.SootClass |
tokenClass |
static soot.SootMethod |
tokenDivideMethod |
static soot.SootMethod |
tokenEqualsMethod |
static soot.SootMethod |
tokenGetTypeMethod |
static soot.SootMethod |
tokenIntValueMethod |
static soot.SootMethod |
tokenIsLessThanMethod |
static soot.SootMethod |
tokenLeftShiftMethod |
static soot.SootMethod |
tokenLogicalRightShiftMethod |
static soot.SootMethod |
tokenModuloMethod |
static soot.SootMethod |
tokenMultiplyMethod |
static soot.SootMethod |
tokenNotMethod |
static soot.SootMethod |
tokenPowMethod |
static soot.SootMethod |
tokenRightShiftMethod |
static soot.SootMethod |
tokenSubtractMethod |
static soot.RefType |
tokenType |
static soot.SootMethod |
tokenZeroMethod |
static soot.SootMethod |
toplevelMethod |
static soot.SootMethod |
toStringMethod |
static soot.SootClass |
typeClass |
static soot.SootMethod |
typeConvertMethod |
static soot.SootClass |
typeLatticeClass |
static soot.SootField |
unknownTypeField |
static soot.SootClass |
unsignedByteTokenClass |
static soot.SootMethod |
unsignedByteTokenConstructor |
static soot.SootMethod |
unsignedByteValueMethod |
static soot.SootMethod |
validateMethod |
static soot.SootClass |
variableClass |
static soot.SootMethod |
variableConstructorWithoutToken |
static soot.SootMethod |
variableConstructorWithToken |
static soot.SootMethod |
variableGetTokenMethod |
static soot.SootMethod |
variableSetTokenMethod |
Constructor and Description |
---|
PtolemyUtilities() |
Modifier and Type | Method and Description |
---|---|
static soot.Local |
addTokenLocal(soot.Body body,
java.lang.String localName,
soot.SootClass tokenClass,
soot.SootMethod tokenConstructor,
soot.Value constructorArg) |
static soot.Local |
addTokenLocalBefore(soot.Body body,
soot.Unit insertPoint,
java.lang.String localName,
soot.SootClass tokenClass,
soot.SootMethod tokenConstructor,
java.util.List constructorArgs) |
static soot.Local |
addTokenLocalBefore(soot.Body body,
soot.Unit insertPoint,
java.lang.String localName,
soot.SootClass tokenClass,
soot.SootMethod tokenConstructor,
soot.Value constructorArg) |
static soot.Local |
buildConstantTokenLocal(soot.jimple.JimpleBody body,
soot.Unit insertPoint,
Token token,
java.lang.String localName)
Create a new Local variable in the given body with the given name.
|
static soot.Local |
buildConstantTypeLocal(soot.Body body,
java.lang.Object insertPoint,
Type type)
Insert a local into the given body and code before the given insertion
point to initialize that local to an instance that is equal to the
given type.
|
static void |
callAttributeChanged(soot.Local base,
soot.Local attributeLocal,
soot.SootClass theClass,
soot.SootMethod method,
soot.jimple.JimpleBody body,
java.lang.Object insertPoint)
Insert code into the given body before the
given insertion point to call the
attribute changed method on the object stored in the given local.
|
static soot.Local |
createNamedObjAndLocal(soot.Body body,
java.lang.String className,
soot.Local container,
java.lang.String name)
In the given body, create a new local with the given name.
|
static soot.SootMethod |
createSuperConstructor(soot.SootClass theClass,
soot.SootMethod superConstructor)
Create a constructor in theClass that has the same signature
as the given method.
|
static soot.RefType |
getBaseTokenType(soot.Type type)
If the given type is a reference type to a class that
derives from ptolemy.data.Token, or array whose element type
derives from ptolemy.data.Token, then return that
token type.
|
static soot.RefType |
getBaseTokenTypeType(soot.Type type)
If the given type is a reference type to a class that
derives from ptolemy.data.Type, or array whose element type
derives from ptolemy.data.Type, then return that
token type.
|
static soot.RefType |
getSootTypeForTokenType(Type type)
Given a ptolemy token type, return the soot type that can reference
tokens of the ptolemy type.
|
static Type |
getTokenTypeForSootType(soot.RefType type)
Given a soot type that references a
token class, return the ptolemy token type
associated with the token class.
|
static Type |
getTokenTypeTypeForSootType(soot.RefType type)
Given a soot type that references a
type class, return the ptolemy token type
associated with the type class.
|
static int |
getTypeDepth(Type type)
Return the depth of the given type.
|
static Type |
getTypeValue(soot.SootMethod method,
soot.Local local,
soot.Unit location,
soot.toolkits.scalar.LocalDefs localDefs,
soot.toolkits.scalar.LocalUses localUses)
Attempt to determine the constant value of the given local,
which is assumed to have a variable type.
|
static boolean |
inlineTypeableMethods(soot.jimple.JimpleBody body,
soot.Unit unit,
soot.ValueBox box,
soot.jimple.InstanceInvokeExpr expr,
Typeable typeable)
Inline the given invocation expression, given knowledge that the
method was invoked on the given Typeable object, and that the
typeable object has a final resolved type.
|
static boolean |
isArrayTokenType(soot.Type type)
Return true if the given type references a
ptolemy token type.
|
static boolean |
isConcreteTokenType(soot.Type type)
Return true if the given type references a concrete
ptolemy token type.
|
static boolean |
isExactTokenType(Type type)
Return true if the given type is an exact token type.
|
static boolean |
isTokenType(soot.Type type)
Return true if the given type references a
ptolemy token type.
|
static boolean |
isTypeType(soot.Type type)
Return true if the given type references a
ptolemy token type type.
|
static void |
loadSootReferences()
Initialize the fields of this class to point to classes in the
current soot tree.
|
public static soot.SootClass actorClass
public static soot.Type actorType
public static soot.SootClass atomicActorClass
public static soot.SootMethod arraycopyMethod
public static soot.SootClass arrayTokenClass
public static soot.SootMethod arrayTokenConstructor
public static soot.SootMethod arrayTokenWithTypeConstructor
public static soot.SootMethod arrayGetElementMethod
public static soot.SootMethod arrayValueMethod
public static soot.SootClass arrayTypeClass
public static soot.SootMethod attachTextMethod
public static soot.SootMethod attributeChangedMethod
public static soot.SootClass attributeClass
public static soot.Type attributeType
public static soot.SootClass baseTypeClass
public static soot.SootClass booleanTokenClass
public static soot.SootMethod booleanTokenConstructor
public static soot.SootMethod booleanValueMethod
public static soot.SootClass booleanMatrixTokenClass
public static soot.SootMethod booleanMatrixTokenConstructor
public static soot.SootMethod booleanMatrixTokenArrayConstructor
public static soot.SootMethod booleanMatrixMethod
public static soot.SootField booleanTypeField
public static soot.SootField booleanMatrixTypeField
public static soot.SootField byteTypeField
public static soot.SootClass classClass
public static soot.SootClass complexTokenClass
public static soot.SootMethod complexTokenConstructor
public static soot.SootMethod complexValueMethod
public static soot.SootClass complexMatrixTokenClass
public static soot.SootMethod complexMatrixTokenConstructor
public static soot.SootMethod complexMatrixTokenArrayConstructor
public static soot.SootMethod complexMatrixMethod
public static soot.SootField complexTypeField
public static soot.SootField complexMatrixTypeField
public static soot.SootClass compositeActorClass
public static soot.SootClass compositeEntityClass
public static soot.SootClass componentEntityClass
public static soot.RefType componentEntityType
public static soot.SootClass componentPortClass
public static soot.Type componentPortType
public static soot.SootMethod connectionsChangedMethod
public static soot.SootField debuggingField
public static soot.SootClass doubleTokenClass
public static soot.SootMethod doubleTokenConstructor
public static soot.SootMethod doubleValueMethod
public static soot.SootClass doubleMatrixTokenClass
public static soot.SootMethod doubleMatrixTokenConstructor
public static soot.SootMethod doubleMatrixTokenArrayConstructor
public static soot.SootMethod doubleMatrixMethod
public static soot.SootField doubleTypeField
public static soot.SootField doubleMatrixTypeField
public static soot.SootClass entityClass
public static soot.RefType entityType
public static soot.SootClass exceptionClass
public static soot.SootClass executableInterface
public static soot.SootMethod executablePrefireMethod
public static soot.SootMethod executableFireMethod
public static soot.SootMethod executablePostfireMethod
public static soot.SootClass fixTokenClass
public static soot.SootMethod fixTokenConstructor
public static soot.SootMethod fixTokenThreeArgConstructor
public static soot.SootMethod fixValueMethod
public static soot.SootClass fixMatrixTokenClass
public static soot.SootMethod fixMatrixTokenConstructor
public static soot.SootMethod fixMatrixTokenArrayConstructor
public static soot.SootMethod fixMatrixMethod
public static soot.SootClass fixTypeClass
public static soot.SootField fixTypeField
public static soot.SootField fixMatrixTypeField
public static soot.SootClass floatTokenClass
public static soot.SootMethod floatTokenConstructor
public static soot.SootField floatTypeField
public static soot.SootMethod floatValueMethod
public static soot.SootField generalTypeField
public static soot.SootMethod getClassMethod
public static soot.SootMethod getMethod
public static soot.SootMethod getInsideMethod
public static soot.SootMethod getAttributeMethod
public static soot.SootMethod getContainerMethod
public static soot.SootMethod getDirectorMethod
public static soot.SootMethod getEntityMethod
public static soot.SootMethod findEffigyMethod
public static soot.SootClass functionTokenClass
public static soot.SootMethod functionTokenConstructor
public static soot.SootMethod functionTokenApplyMethod
public static soot.SootClass functionTypeClass
public static soot.SootClass functionInterface
public static soot.SootMethod getExpressionMethod
public static soot.SootMethod getFullNameMethod
public static soot.SootMethod getNameMethod
public static soot.SootMethod getModelURIMethod
public static soot.SootMethod getPortMethod
public static soot.SootMethod handleModelErrorMethod
public static soot.SootMethod hasTokenMethod
public static soot.SootClass initializableInterface
public static soot.SootClass inequalityTermClass
public static soot.SootClass explicitChangeContextClass
public static soot.SootMethod insertLinkMethod
public static soot.SootClass intTokenClass
public static soot.SootMethod intTokenConstructor
public static soot.SootMethod intValueMethod
public static soot.SootClass intMatrixTokenClass
public static soot.SootMethod intMatrixTokenConstructor
public static soot.SootMethod intMatrixTokenArrayConstructor
public static soot.SootMethod intMatrixMethod
public static soot.SootField intTypeField
public static soot.SootField intMatrixTypeField
public static soot.SootMethod invalidateResolvedTypesMethod
public static soot.SootClass ioportClass
public static soot.Type ioportType
public static soot.SootClass kernelExceptionClass
public static soot.SootClass kernelRuntimeExceptionClass
public static soot.SootClass limitedFiringSourceClass
public static soot.SootClass longTokenClass
public static soot.SootMethod longTokenConstructor
public static soot.SootMethod longValueMethod
public static soot.SootClass longMatrixTokenClass
public static soot.SootMethod longMatrixTokenConstructor
public static soot.SootMethod longMatrixTokenArrayConstructor
public static soot.SootMethod longMatrixMethod
public static soot.SootField longTypeField
public static soot.SootField longMatrixTypeField
public static soot.SootClass managerClass
public static soot.SootClass matrixTokenClass
public static soot.SootMethod matrixTokenCreateMethod
public static soot.SootMethod matrixGetElementAsTokenMethod
public static soot.SootClass matrixTypeClass
public static soot.SootClass namedObjClass
public static soot.SootClass nonStrictTestClass
public static soot.SootClass objectClass
public static soot.SootMethod objectConstructor
public static soot.SootField objectTypeField
public static soot.SootClass parameterClass
public static soot.SootClass portClass
public static soot.SootClass portParameterClass
public static soot.SootMethod portParameterGetPortMethod
public static soot.SootMethod portParameterUpdateMethod
public static soot.SootMethod portSetTypeMethod
public static soot.SootClass ptParserClass
public static soot.SootClass relationClass
public static soot.SootClass recordTokenClass
public static soot.SootMethod recordTokenConstructor
public static soot.SootMethod recordGetMethod
public static soot.SootClass recordTypeClass
public static soot.Type relationType
public static soot.SootClass runtimeExceptionClass
public static soot.SootMethod runtimeExceptionConstructor
public static soot.SootMethod runtimeExceptionStringConstructor
public static soot.SootClass scalarTokenClass
public static soot.SootMethod sendMethod
public static soot.SootMethod sendInsideMethod
public static soot.SootMethod setExpressionMethod
public static soot.SootMethod setInputMethod
public static soot.SootMethod setOutputMethod
public static soot.SootMethod setMultiportMethod
public static soot.SootMethod setNameMethod
public static soot.SootClass settableClass
public static soot.Type settableType
public static soot.SootMethod setVisibilityMethod
public static soot.SootField stopRequestedField
public static soot.SootClass stringAttributeClass
public static soot.SootClass stringClass
public static soot.SootField shortTypeField
public static soot.SootField stringTypeField
public static soot.SootClass shortTokenClass
public static soot.SootMethod shortTokenConstructor
public static soot.SootMethod shortValueMethod
public static soot.SootClass stringTokenClass
public static soot.SootMethod stringTokenConstructor
public static soot.SootMethod stringValueMethod
public static soot.SootClass systemClass
public static soot.SootClass tokenClass
public static soot.SootMethod tokenGetTypeMethod
public static soot.SootMethod tokenAddMethod
public static soot.SootMethod tokenSubtractMethod
public static soot.SootMethod tokenModuloMethod
public static soot.SootMethod tokenMultiplyMethod
public static soot.SootMethod tokenDivideMethod
public static soot.SootMethod tokenEqualsMethod
public static soot.SootMethod tokenIsLessThanMethod
public static soot.SootMethod tokenNotMethod
public static soot.SootMethod tokenBitwiseAndMethod
public static soot.SootMethod tokenBitwiseOrMethod
public static soot.SootMethod tokenBitwiseXorMethod
public static soot.SootMethod tokenBitwiseNotMethod
public static soot.SootMethod tokenLeftShiftMethod
public static soot.SootMethod tokenRightShiftMethod
public static soot.SootMethod tokenLogicalRightShiftMethod
public static soot.SootMethod tokenIntValueMethod
public static soot.SootMethod tokenZeroMethod
public static soot.SootMethod tokenPowMethod
public static soot.RefType tokenType
public static soot.SootMethod toplevelMethod
public static soot.SootMethod toStringMethod
public static soot.SootClass typeClass
public static soot.SootMethod typeConvertMethod
public static soot.SootClass typeLatticeClass
public static soot.SootField unknownTypeField
public static soot.SootClass unsignedByteTokenClass
public static soot.SootMethod unsignedByteTokenConstructor
public static soot.SootMethod unsignedByteValueMethod
public static soot.SootMethod validateMethod
public static soot.SootClass variableClass
public static soot.SootMethod variableConstructorWithoutToken
public static soot.SootMethod variableConstructorWithToken
public static soot.SootMethod variableGetTokenMethod
public static soot.SootMethod variableSetTokenMethod
public static soot.Local buildConstantTokenLocal(soot.jimple.JimpleBody body, soot.Unit insertPoint, Token token, java.lang.String localName)
public static soot.Local addTokenLocal(soot.Body body, java.lang.String localName, soot.SootClass tokenClass, soot.SootMethod tokenConstructor, soot.Value constructorArg)
public static soot.Local addTokenLocalBefore(soot.Body body, soot.Unit insertPoint, java.lang.String localName, soot.SootClass tokenClass, soot.SootMethod tokenConstructor, soot.Value constructorArg)
public static soot.Local addTokenLocalBefore(soot.Body body, soot.Unit insertPoint, java.lang.String localName, soot.SootClass tokenClass, soot.SootMethod tokenConstructor, java.util.List constructorArgs)
public static soot.Local buildConstantTypeLocal(soot.Body body, java.lang.Object insertPoint, Type type)
public static void callAttributeChanged(soot.Local base, soot.Local attributeLocal, soot.SootClass theClass, soot.SootMethod method, soot.jimple.JimpleBody body, java.lang.Object insertPoint)
base
- A local that is assumed to have an attribute type.public static soot.Local createNamedObjAndLocal(soot.Body body, java.lang.String className, soot.Local container, java.lang.String name)
public static soot.SootMethod createSuperConstructor(soot.SootClass theClass, soot.SootMethod superConstructor)
public static soot.RefType getBaseTokenType(soot.Type type)
public static soot.RefType getBaseTokenTypeType(soot.Type type)
public static int getTypeDepth(Type type)
public static soot.RefType getSootTypeForTokenType(Type type)
public static Type getTokenTypeForSootType(soot.RefType type)
public static Type getTokenTypeTypeForSootType(soot.RefType type)
public static Type getTypeValue(soot.SootMethod method, soot.Local local, soot.Unit location, soot.toolkits.scalar.LocalDefs localDefs, soot.toolkits.scalar.LocalUses localUses)
public static boolean inlineTypeableMethods(soot.jimple.JimpleBody body, soot.Unit unit, soot.ValueBox box, soot.jimple.InstanceInvokeExpr expr, Typeable typeable)
body
- The body in which the invoke occurred.unit
- The unit in which the invoke occurred.box
- The value box containing the invoke expression.typeable
- A reference to an object that has the same
resolve type as the typeable object that the invoke would have
occurred on, has the code actually been executed.public static boolean isExactTokenType(Type type)
public static boolean isConcreteTokenType(soot.Type type)
public static boolean isArrayTokenType(soot.Type type)
public static boolean isTokenType(soot.Type type)
public static boolean isTypeType(soot.Type type)
public static void loadSootReferences()