abstract
IDArrayElt
|
asArrayElt()
|
abstract
IDCallInfo
|
asCallInfo()
|
abstract
IDReferenceType
|
asClassReference()
|
abstract
IDImm
|
asImm()
|
abstract
IDInstanceField
|
asInstanceField()
|
abstract
IDInstruction
|
asInstruction()
|
abstract
IDNewArrayInfo
|
asNewArrayInfo()
|
abstract
IDNewInfo
|
asNewInfo()
|
abstract
IDOperation
|
asOperation()
|
abstract
IDPredicate
|
asPredicate()
|
abstract
IDStaticField
|
asStaticField()
|
abstract
IDVar
|
asVar()
|
abstract
void
|
collectAllPhysicalOffsets(Collection<Integer> physicalOffsets)
Gather all physical offsets for this element and all its constituents.
|
abstract
void
|
collectRegisters(Set<Integer> sink)
Recursively collect all the ids used and defined by this expression.
|
abstract
void
|
collectSubExpressions(List<IDExpression> sink)
Recursively collect all sub-expressions of this expression, in evaluation order.
|
abstract
IDExpression
|
copy(DCopyOptions opt)
Copy this element.
|
abstract
IDExpression
|
duplicate()
Duplicate this element.
|
abstract
IDImm
|
evaluate(IDState state)
Evaluate this expression.
|
abstract
IDImm
|
evaluate(IDMethodContext ctx)
Convenience method: Evaluate this expression within the context of the provided method.
|
abstract
IJavaElement
|
generateAST(IDMethodContext ctx, IJavaMethod m)
Generate the Java AST element for this IR expression.
|
abstract
Object
|
getData(String key)
Retrieve a value from this IR element's data map.
|
abstract
String
|
getOrigin()
Retrieve the origin info string of this IR element, if there is one.
|
abstract
int
|
getPhysicalOffset()
Retrieve the physical offset (dalvik) associated with this IR.
|
abstract
Set<Integer>
|
getRegisters()
|
abstract
List<IDExpression>
|
getSubExpressions()
Convenience method used to retrieve all the sub-expressions of this IR, in evaluation order.
|
abstract
IJavaType
|
getType()
Get the IR expression type.
|
abstract
IJavaType
|
getTypeForIdentifier(IDVar var)
Get the type of an identifier used by this IR expression.
|
abstract
boolean
|
isArrayElt()
|
abstract
boolean
|
isCallInfo()
Note: this method also returns true if this object is of type IDNewInfo .
|
abstract
boolean
|
isClassReference()
|
abstract
boolean
|
isImm(long expectedRawValue)
|
abstract
boolean
|
isImm()
|
abstract
boolean
|
isInstanceField()
|
abstract
boolean
|
isInstruction()
|
abstract
boolean
|
isNewArrayInfo()
|
abstract
boolean
|
isNewInfo()
|
abstract
boolean
|
isOperation(JavaOperatorType expectedOperatorType)
|
abstract
boolean
|
isOperation()
Note: this method also returns true if this object is of type IDPredicate .
|
abstract
boolean
|
isPredicate()
|
abstract
boolean
|
isStaticField()
|
abstract
boolean
|
isStringConstant()
Determine whether this object is a string constant (e.g.
|
abstract
boolean
|
isVar()
|
abstract
void
|
removeData(String key)
Remove an entry from this IR element's data map.
|
abstract
int
|
replaceIdentifier(IDVar var, IDExpression repl)
Replace matching identifiers (per same() ) by a given expression.
|
abstract
boolean
|
replaceSubExpression(IDExpression oldExp, IDExpression newExp)
Replace an expression of this IR.
|
abstract
void
|
setData(String key, Object value)
Store a key-value pair in this IR element's data map.
|
abstract
void
|
setOrigin(String origin)
Set an optional origin info string for this IR element.
|
abstract
boolean
|
setType(IJavaType type, boolean forced)
Update the type of an expression.
|
abstract
boolean
|
setType(IJavaType type)
Update the type of an expression.
|
abstract
boolean
|
setTypeForIdentifier(IDVar var, IJavaType type)
Set the type of an identifier used by this IR expression.
|
abstract
void
|
transferMetadataFrom(IDExpression src)
Transfer (shallow copy) metadata from a source IR to this IR.
|
abstract
void
|
updateAllPhysicalOffsets(int physicalOffset)
Update the physical offset of this element and all its constituents.
|
abstract
boolean
|
visitDepthPost(IDVisitor visitor, IDExpression parent, DTreeVisitResults results)
Visit this expression and its constituents, depth-first post-order.
|
abstract
boolean
|
visitDepthPost(IDVisitor visitor, IDExpression parent)
Visit this expression and its constituents, depth-first post-order.
|
abstract
boolean
|
visitDepthPost(IDVisitor visitor)
Visit this expression and its constituents, depth-first post-order.
|
abstract
boolean
|
visitDepthPre(IDVisitor visitor)
Visit this expression and its constituents, depth-first pre-order.
|
abstract
boolean
|
visitDepthPre(IDVisitor visitor, IDExpression parent, DTreeVisitResults results)
Visit this expression and its constituents, depth-first pre-order.
|
abstract
boolean
|
visitDepthPre(IDVisitor visitor, IDExpression parent)
Visit this expression and its constituents, depth-first pre-order.
|