Main Page   Packages   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

JimpleRepresentation Interface Reference

Inheritance diagram for JimpleRepresentation:
[legend]
Collaboration diagram for JimpleRepresentation:
[legend]
List of all members.

Public Methods

Body buildBodyOfFrom (SootMethod m, Body b, int buildBodyOptions)
AddExpr newAddExpr (Value op1, Value op2)
AndExpr newAndExpr (Value op1, Value op2)
ValueBox newArgBox (Value op)
ArrayRef newArrayRef (Value base, Value index)
AssignStmt newAssignStmt (Value variable, Value rvalue)
Body newBody (SootMethod m)
BreakpointStmt newBreakpointStmt ()
CastExpr newCastExpr (Value op1, Type t)
CaughtExceptionRef newCaughtExceptionRef (JimpleBody b)
CmpExpr newCmpExpr (Value op1, Value op2)
CmpgExpr newCmpgExpr (Value op1, Value op2)
CmplExpr newCmplExpr (Value op1, Value op2)
ValueBox newConditionExprBox (Value value)
DivExpr newDivExpr (Value op1, Value op2)
EnterMonitorStmt newEnterMonitorStmt (Value op)
EqExpr newEqExpr (Value op1, Value op2)
ExitMonitorStmt newExitMonitorStmt (Value op)
GeExpr newGeExpr (Value op1, Value op2)
GotoStmt newGotoStmt (Unit target)
GtExpr newGtExpr (Value op1, Value op2)
ValueBox newIdentityRefBox (Value value)
IdentityStmt newIdentityStmt (Value local, Value identityRef)
IfStmt newIfStmt (Value condition, Unit target)
ValueBox newImmediateBox (Value value)
InstanceFieldRef newInstanceFieldRef (Value base, SootField f)
InstanceOfExpr newInstanceOfExpr (Value op1, Type t)
InterfaceInvokeExpr newInterfaceInvokeExpr (Local base, SootMethod method, List args)
ValueBox newInvokeExprBox (Value value)
InvokeStmt newInvokeStmt (Value op)
LeExpr newLeExpr (Value op1, Value op2)
LengthExpr newLengthExpr (Value op)
Local newLocal (String name, Type t)
ValueBox newLocalBox (Value value)
LookupSwitchStmt newLookupSwitchStmt (Value key, List lookupValues, List targets, Unit defaultTarget)
LtExpr newLtExpr (Value op1, Value op2)
MulExpr newMulExpr (Value op1, Value op2)
NeExpr newNeExpr (Value op1, Value op2)
NegExpr newNegExpr (Value op)
NewArrayExpr newNewArrayExpr (Type type, Value size)
NewMultiArrayExpr newNewMultiArrayExpr (ArrayType type, List sizes)
NopStmt newNopStmt ()
OrExpr newOrExpr (Value op1, Value op2)
ParameterRef newParameterRef (SootMethod m, int number)
RemExpr newRemExpr (Value op1, Value op2)
RetStmt newRetStmt (Value stmtAddress)
ReturnStmt newReturnStmt (Value op)
ReturnVoidStmt newReturnVoidStmt ()
ValueBox newRValueBox (Value value)
ShlExpr newShlExpr (Value op1, Value op2)
ShrExpr newShrExpr (Value op1, Value op2)
SpecialInvokeExpr newSpecialInvokeExpr (Local base, SootMethod method, List args)
StaticFieldRef newStaticFieldRef (SootField f)
StaticInvokeExpr newStaticInvokeExpr (SootMethod method, List args)
UnitBox newStmtBox (Unit unit)
SubExpr newSubExpr (Value op1, Value op2)
TableSwitchStmt newTableSwitchStmt (Value key, int lowIndex, int highIndex, List targets, Unit defaultTarget)
ThisRef newThisRef (SootClass c)
ThrowStmt newThrowStmt (Value op)
Trap newTrap (SootClass exception, Unit beginStmt, Unit endStmt, Unit handlerStmt)
UshrExpr newUshrExpr (Value op1, Value op2)
ValueBox newVariableBox (Value value)
VirtualInvokeExpr newVirtualInvokeExpr (Local base, SootMethod method, List args)
XorExpr newXorExpr (Value op1, Value op2)

Detailed Description

The JimpleRepresentation interface defines all the constructors for the components of the Jimple grammar for the Jimple body.

Immediate -> Local | Constant
RValue -> Local | Constant | ConcreteRef | Expr
Variable -> Local | ArrayRef | InstanceFieldRef | StaticFieldRef

Definition at line 116 of file JimpleRepresentation.java.


Member Function Documentation

AddExpr JimpleRepresentation::newAddExpr Value   op1,
Value   op2
 

Constructs a AddExpr(Arg, Arg) grammar chunk.

Reimplemented in Grimp.

Referenced by Grimp::newExpr().

AndExpr JimpleRepresentation::newAndExpr Value   op1,
Value   op2
 

Constructs a AndExpr(Arg, Arg) grammar chunk.

Reimplemented in Grimp.

Referenced by Grimp::newExpr().

ValueBox JimpleRepresentation::newArgBox Value   value
 

Constructs an empty ArgBox for a grammar chunk.

Reimplemented in Grimp.

ArrayRef JimpleRepresentation::newArrayRef Value   base,
Value   index
 

Constructs a ArrayRef(Local, Immediate) grammar chunk.

Reimplemented in Grimp.

Referenced by Grimp::newExpr().

AssignStmt JimpleRepresentation::newAssignStmt Value   variable,
Value   rvalue
 

Constructs a AssignStmt(Variable, RValue) grammar chunk.

Reimplemented in Grimp.

Body JimpleRepresentation::newBody SootMethod   m
 

Constructs an empty JimpleBody for the given method.

Reimplemented in Grimp.

BreakpointStmt JimpleRepresentation::newBreakpointStmt  
 

Constructs a BreakpointStmt() grammar chunk.

Reimplemented in Grimp.

CastExpr JimpleRepresentation::newCastExpr Value   op1,
Type   t
 

Constructs a CastExpr(Immediate, Type) grammar chunk.

Reimplemented in Grimp.

Referenced by Grimp::newExpr().

CaughtExceptionRef JimpleRepresentation::newCaughtExceptionRef JimpleBody   b
 

Constructs a CaughtExceptionRef() grammar chunk.

Reimplemented in Grimp.

CmpExpr JimpleRepresentation::newCmpExpr Value   op1,
Value   op2
 

Constructs a CmpExpr(Arg, Arg) grammar chunk.

Reimplemented in Grimp.

Referenced by Grimp::newExpr().

CmpgExpr JimpleRepresentation::newCmpgExpr Value   op1,
Value   op2
 

Constructs a CmpgExpr(Arg, Arg) grammar chunk.

Reimplemented in Grimp.

Referenced by Grimp::newExpr().

CmplExpr JimpleRepresentation::newCmplExpr Value   op1,
Value   op2
 

Constructs a CmplExpr(Arg, Arg) grammar chunk.

Reimplemented in Grimp.

Referenced by Grimp::newExpr().

DivExpr JimpleRepresentation::newDivExpr Value   op1,
Value   op2
 

Constructs a DivExpr(Arg, Arg) grammar chunk.

Reimplemented in Grimp.

Referenced by Grimp::newExpr().

EnterMonitorStmt JimpleRepresentation::newEnterMonitorStmt Value   op
 

Constructs a EnterMonitorStmt(Immediate) grammar chunk.

Reimplemented in Grimp.

EqExpr JimpleRepresentation::newEqExpr Value   op1,
Value   op2
 

Constructs a EqExpr(Arg, Arg) grammar chunk.

Reimplemented in Grimp.

Referenced by Grimp::newExpr().

ExitMonitorStmt JimpleRepresentation::newExitMonitorStmt Value   op
 

Constructs a ExitMonitorStmt(Immediate) grammar chunk

Reimplemented in Grimp.

GeExpr JimpleRepresentation::newGeExpr Value   op1,
Value   op2
 

Constructs a GeExpr(Arg, Arg) grammar chunk.

Reimplemented in Grimp.

Referenced by Grimp::newExpr().

GotoStmt JimpleRepresentation::newGotoStmt Unit   target
 

Constructs a GotoStmt(Stmt) grammar chunk.

Reimplemented in Grimp.

GtExpr JimpleRepresentation::newGtExpr Value   op1,
Value   op2
 

Constructs a GtExpr(Arg, Arg) grammar chunk.

Reimplemented in Grimp.

Referenced by Grimp::newExpr().

IdentityStmt JimpleRepresentation::newIdentityStmt Value   local,
Value   identityRef
 

Constructs a IdentityStmt(Local, IdentityRef) grammar chunk.

Reimplemented in Grimp.

IfStmt JimpleRepresentation::newIfStmt Value   condition,
Unit   target
 

Constructs a IfStmt(Condition, Stmt) grammar chunk.

Reimplemented in Grimp.

InstanceFieldRef JimpleRepresentation::newInstanceFieldRef Value   base,
SootField   f
 

Constructs a InstanceFieldRef(Value, SootField) grammar chunk.

Reimplemented in Grimp.

InstanceOfExpr JimpleRepresentation::newInstanceOfExpr Value   op1,
Type   t
 

Constructs a InstanceOfExpr(Immediate, Type) grammar chunk.

Reimplemented in Grimp.

InterfaceInvokeExpr JimpleRepresentation::newInterfaceInvokeExpr Local   base,
SootMethod   method,
List   args
 

Constructs a NewInterfaceInvokeExpr(Local base, SootMethod method, List of Immediate) grammar chunk.

Reimplemented in Grimp.

Referenced by Grimp::newExpr().

InvokeStmt JimpleRepresentation::newInvokeStmt Value   op
 

Constructs a InvokeStmt(InvokeExpr) grammar chunk.

Reimplemented in Grimp.

LeExpr JimpleRepresentation::newLeExpr Value   op1,
Value   op2
 

Constructs a LeExpr(Arg, Arg) grammar chunk.

Reimplemented in Grimp.

Referenced by Grimp::newExpr().

LengthExpr JimpleRepresentation::newLengthExpr Value   op
 

Constructs a LengthExpr(Immediate) grammar chunk.

Reimplemented in Grimp.

Local JimpleRepresentation::newLocal String   name,
Type   t
 

Constructs a Local with the given name and type.

Reimplemented in Grimp.

LookupSwitchStmt JimpleRepresentation::newLookupSwitchStmt Value   key,
List   lookupValues,
List   targets,
Unit   defaultTarget
 

Constructs a LookupSwitchStmt(Immediate, List of Immediate, List of Unit, Stmt) grammar chunk.

Reimplemented in Grimp.

LtExpr JimpleRepresentation::newLtExpr Value   op1,
Value   op2
 

Constructs a LtExpr(Arg, Arg) grammar chunk.

Reimplemented in Grimp.

Referenced by Grimp::newExpr().

MulExpr JimpleRepresentation::newMulExpr Value   op1,
Value   op2
 

Constructs a MulExpr(Arg, Arg) grammar chunk.

Reimplemented in Grimp.

Referenced by Grimp::newExpr().

NeExpr JimpleRepresentation::newNeExpr Value   op1,
Value   op2
 

Constructs a NeExpr(Arg, Arg) grammar chunk.

Reimplemented in Grimp.

Referenced by Grimp::newExpr().

NegExpr JimpleRepresentation::newNegExpr Value   op
 

Constructs a NegExpr(Arg, Arg) grammar chunk.

Reimplemented in Grimp.

Referenced by Grimp::newExpr().

NewArrayExpr JimpleRepresentation::newNewArrayExpr Type   type,
Value   size
 

Constructs a NewArrayExpr(Type, Immediate) grammar chunk.

Reimplemented in Grimp.

Referenced by Grimp::newExpr().

NewMultiArrayExpr JimpleRepresentation::newNewMultiArrayExpr ArrayType   type,
List   sizes
 

Constructs a NewMultiArrayExpr(ArrayType, List of Immediate) grammar chunk.

Reimplemented in Grimp.

NopStmt JimpleRepresentation::newNopStmt  
 

Constructs a NopStmt() grammar chunk.

Reimplemented in Grimp.

OrExpr JimpleRepresentation::newOrExpr Value   op1,
Value   op2
 

Constructs a OrExpr(Arg, Arg) grammar chunk.

Reimplemented in Grimp.

Referenced by Grimp::newExpr().

ParameterRef JimpleRepresentation::newParameterRef SootMethod   m,
int   number
 

Constructs a ParameterRef(SootMethod, int) grammar chunk.

Reimplemented in Grimp.

RemExpr JimpleRepresentation::newRemExpr Value   op1,
Value   op2
 

Constructs a RemExpr(Arg, Arg) grammar chunk.

Reimplemented in Grimp.

Referenced by Grimp::newExpr().

RetStmt JimpleRepresentation::newRetStmt Value   stmtAddress
 

Constructs a RetStmt(Local) grammar chunk.

Reimplemented in Grimp.

ReturnStmt JimpleRepresentation::newReturnStmt Value   op
 

Constructs a ReturnStmt(Immediate) grammar chunk.

Reimplemented in Grimp.

ReturnVoidStmt JimpleRepresentation::newReturnVoidStmt  
 

Constructs a ReturnVoidStmt() grammar chunk.

Reimplemented in Grimp.

ShlExpr JimpleRepresentation::newShlExpr Value   op1,
Value   op2
 

Constructs a ShlExpr(Arg, Arg) grammar chunk.

Reimplemented in Grimp.

Referenced by Grimp::newExpr().

ShrExpr JimpleRepresentation::newShrExpr Value   op1,
Value   op2
 

Constructs a ShrExpr(Arg, Arg) grammar chunk.

Reimplemented in Grimp.

Referenced by Grimp::newExpr().

SpecialInvokeExpr JimpleRepresentation::newSpecialInvokeExpr Local   base,
SootMethod   method,
List   args
 

Constructs a NewSpecialInvokeExpr(Local base, SootMethod method, List of Immediate) grammar chunk.

Reimplemented in Grimp.

Referenced by Grimp::newExpr().

StaticFieldRef JimpleRepresentation::newStaticFieldRef SootField   f
 

Constructs a StaticFieldRef(SootField) grammar chunk.

Reimplemented in Grimp.

StaticInvokeExpr JimpleRepresentation::newStaticInvokeExpr SootMethod   method,
List   args
 

Constructs a NewStaticInvokeExpr(ArrayType, List of Immediate) grammar chunk.

Reimplemented in Grimp.

Referenced by Grimp::newExpr().

SubExpr JimpleRepresentation::newSubExpr Value   op1,
Value   op2
 

Constructs a SubExpr(Arg, Arg) grammar chunk.

Reimplemented in Grimp.

Referenced by Grimp::newExpr().

TableSwitchStmt JimpleRepresentation::newTableSwitchStmt Value   key,
int   lowIndex,
int   highIndex,
List   targets,
Unit   defaultTarget
 

Constructs a TableSwitchStmt(Immediate, int, int, List of Unit, Stmt) grammar chunk.

Reimplemented in Grimp.

ThisRef JimpleRepresentation::newThisRef SootClass   c
 

Constructs a ThisRef(SootClass) grammar chunk.

Reimplemented in Grimp.

ThrowStmt JimpleRepresentation::newThrowStmt Value   op
 

Constructs a ThrowStmt(Immediate) grammar chunk.

Reimplemented in Grimp.

Trap JimpleRepresentation::newTrap SootClass   exception,
Unit   beginStmt,
Unit   endStmt,
Unit   handlerStmt
 

Constructs a new Trap for the given exception on the given Stmt range with the given Stmt handler.

Reimplemented in Grimp.

UshrExpr JimpleRepresentation::newUshrExpr Value   op1,
Value   op2
 

Constructs a UshrExpr(Arg, Arg) grammar chunk.

Reimplemented in Grimp.

Referenced by Grimp::newExpr().

VirtualInvokeExpr JimpleRepresentation::newVirtualInvokeExpr Local   base,
SootMethod   method,
List   args
 

Constructs a NewVirtualInvokeExpr(Local base, SootMethod method, List of Immediate) grammar chunk.

Reimplemented in Grimp.

Referenced by Grimp::newExpr().

XorExpr JimpleRepresentation::newXorExpr Value   op1,
Value   op2
 

Constructs a XorExpr(Arg, Arg) grammar chunk.

Reimplemented in Grimp.

Referenced by Grimp::newExpr().


The documentation for this interface was generated from the following file:
Generated at Thu Feb 7 07:17:56 2002 for Bandera by doxygen1.2.10 written by Dimitri van Heesch, © 1997-2001