Java Doc for Tree.java in  » Database-DBMS » db4o-6.4 » EDU » purdue » cs » bloat » tree » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Database DBMS » db4o 6.4 » EDU.purdue.cs.bloat.tree 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   EDU.purdue.cs.bloat.tree.Node
      EDU.purdue.cs.bloat.tree.Tree

Tree
public class Tree extends Node implements InstructionVisitor,Opcode(Code)
Tree represents the expression tree of a basic Block. It consists of an operand (expression) stack comprised of expressions and a list of statements contained in the block.
See Also:   Block
See Also:   Expr
See Also:   OperandStack
See Also:   Stmt
See Also:    see StmtList

Inner Class :class StmtList extends LinkedList

Field Summary
public static  booleanAUPDATE_FIX_HACK
    
public static  booleanAUPDATE_FIX_HACK_CHANGED
    
public static  booleanDEBUG
    
public static  booleanFLATTEN
    
public static  booleanUSE_PERSISTENT
    
public static  booleanUSE_STACK
    
 Blockblock
    
 Instructionlast
     The last instruction we saw.
 Blocknext
    
 booleansaveValue
    
 StacksavedStack
    
 OperandStackstack
    
static  intstackpos
    
 StmtListstmts
    
 Subroutinesub
    

Constructor Summary
public  Tree(Block block, OperandStack predStack)
     Constructor.

Method Summary
public  voidaddInstruction(Instruction inst, Block next)
     Adds an instruction that jumps to another basic block.
Parameters:
  inst - The instruction to add.
Parameters:
  next - The basic block after the jump.
public  voidaddInstruction(Instruction inst)
     Adds an instruction that does not change the control flow (a normal instruction).
public  voidaddInstruction(Instruction inst, Subroutine sub)
     Add an instruction such as ret or astore that may involve a subroutine.
Parameters:
  inst - Instruction to add.
Parameters:
  sub - Subroutine in which inst resides.
public  voidaddLabel(Label label)
     Add a label to the statement list.
public  voidaddStmt(Stmt stmt)
     Save the contents of the stack and add stmt to the statement list.
public  voidaddStmtAfter(Stmt stmt, Stmt after)
     Inserts a statement into the statement list after another given statement.
public  voidaddStmtBefore(Stmt stmt, Stmt before)
     Inserts a statement into the statement list before a specified statement.
public  voidaddStmtBeforeJump(Stmt stmt)
     Adds a statement to the statement list before the last jump statement.
public  Blockblock()
    
public  voidcleanupOnly()
     Cleans up this node.
public  voidinitLocals(Collection locals)
     Add a Collection of local variables to the block.
public  StmtlastStmt()
     Returns the last non-Label statement in the statement list.
public  LocalExprnewLocal(int index, Type type)
     Returns a new LocalExpr that is not allocated on the stack.
public  LocalExprnewLocal(Type type)
     Returns a local variable (LocalExpr) located in this method.
public  StackExprnewStack(Type type)
     Returns a new StackExpr for the top of the operand stack.
public  LocalExprnewStackLocal(int index, Type type)
     Returns a new LocalExpr that represents an element of the stack.
public  Nodeparent()
    
public  voidprependStmt(Stmt stmt)
     Add an statement to the statement list before the first non-Label statement.
public  voidremoveLastStmt()
     Removes the last non-Label statement from the statement list.
public  voidremoveStmt(Stmt stmt)
     Removes a statement from the statement list.
public  OperandStackstack()
     Returns the operand stack.
public  Liststmts()
    
public  StringtoString()
     Returns a String representation of this Tree.
public  voidvisit(TreeVisitor visitor)
    
public  voidvisitForceChildren(TreeVisitor visitor)
     Visit all the statements in the statement list.
public  voidvisit_aaload(Instruction inst)
    
public  voidvisit_aastore(Instruction inst)
    
public  voidvisit_aload(Instruction inst)
    
public  voidvisit_areturn(Instruction inst)
    
public  voidvisit_arraylength(Instruction inst)
     Pushes an ArrayLengthExpr onto the operand stack.
public  voidvisit_astore(Instruction inst)
     Visit an astore instruction.
public  voidvisit_aswizzle(Instruction inst)
    
public  voidvisit_aswrange(Instruction inst)
     Add a SRStmt to the statement list.
public  voidvisit_athrow(Instruction inst)
     Adds a ThrowStmt to the statement list.
public  voidvisit_aupdate(Instruction inst)
    
public  voidvisit_baload(Instruction inst)
    
public  voidvisit_bastore(Instruction inst)
    
public  voidvisit_caload(Instruction inst)
    
public  voidvisit_castore(Instruction inst)
    
public  voidvisit_checkcast(Instruction inst)
     Pushes a CastExpr onto the operand stack.
public  voidvisit_d2f(Instruction inst)
    
public  voidvisit_d2i(Instruction inst)
    
public  voidvisit_d2l(Instruction inst)
    
public  voidvisit_dadd(Instruction inst)
    
public  voidvisit_daload(Instruction inst)
    
public  voidvisit_dastore(Instruction inst)
    
public  voidvisit_dcmpg(Instruction inst)
    
public  voidvisit_dcmpl(Instruction inst)
    
public  voidvisit_ddiv(Instruction inst)
    
public  voidvisit_dload(Instruction inst)
    
public  voidvisit_dmul(Instruction inst)
    
public  voidvisit_dneg(Instruction inst)
    
public  voidvisit_drem(Instruction inst)
    
public  voidvisit_dreturn(Instruction inst)
    
public  voidvisit_dstore(Instruction inst)
    
public  voidvisit_dsub(Instruction inst)
    
public  voidvisit_dup(Instruction inst)
     When processing the dup instructions one of two situations can occur.
public  voidvisit_dup2(Instruction inst)
    
public  voidvisit_dup2_x1(Instruction inst)
    
public  voidvisit_dup2_x2(Instruction inst)
    
public  voidvisit_dup_x1(Instruction inst)
    
public  voidvisit_dup_x2(Instruction inst)
    
public  voidvisit_f2d(Instruction inst)
    
public  voidvisit_f2i(Instruction inst)
    
public  voidvisit_f2l(Instruction inst)
    
public  voidvisit_fadd(Instruction inst)
    
public  voidvisit_faload(Instruction inst)
    
public  voidvisit_fastore(Instruction inst)
    
public  voidvisit_fcmpg(Instruction inst)
    
public  voidvisit_fcmpl(Instruction inst)
    
public  voidvisit_fdiv(Instruction inst)
    
public  voidvisit_fload(Instruction inst)
    
public  voidvisit_fmul(Instruction inst)
    
public  voidvisit_fneg(Instruction inst)
    
public  voidvisit_frem(Instruction inst)
    
public  voidvisit_freturn(Instruction inst)
    
public  voidvisit_fstore(Instruction inst)
    
public  voidvisit_fsub(Instruction inst)
    
public  voidvisit_getfield(Instruction inst)
     Pushes a FieldExpr onto the operand stack.
public  voidvisit_getstatic(Instruction inst)
     Pushes a StaticFieldExpr onto the operand stack.
public  voidvisit_goto(Instruction inst)
     Adds a GotoStmt to the statement list.
public  voidvisit_i2b(Instruction inst)
    
public  voidvisit_i2c(Instruction inst)
    
public  voidvisit_i2d(Instruction inst)
    
public  voidvisit_i2f(Instruction inst)
    
public  voidvisit_i2l(Instruction inst)
     All cast visitors push a CastExpr onto the operand stack.
public  voidvisit_i2s(Instruction inst)
    
public  voidvisit_iadd(Instruction inst)
     All visit_xadd, visit_xsub, visit_xmul, visit_xdiv, etc.
public  voidvisit_iaload(Instruction inst)
     All visit_xaload push an ArrayRefExpr onto the operand stack.
public  voidvisit_iand(Instruction inst)
     All visit_x op push an ArithExpr onto the stack.
public  voidvisit_iastore(Instruction inst)
    
public  voidvisit_idiv(Instruction inst)
    
public  voidvisit_if_acmpeq(Instruction inst)
    
public  voidvisit_if_acmpne(Instruction inst)
    
public  voidvisit_if_icmpeq(Instruction inst)
     All visit_if_xcmpy add a IfCmpStmt to the statement list.
public  voidvisit_if_icmpge(Instruction inst)
    
public  voidvisit_if_icmpgt(Instruction inst)
    
public  voidvisit_if_icmple(Instruction inst)
    
public  voidvisit_if_icmplt(Instruction inst)
    
public  voidvisit_if_icmpne(Instruction inst)
    
public  voidvisit_ifeq(Instruction inst)
     All visit_xeg add an IfZeroStmt to the statement list.
public  voidvisit_ifge(Instruction inst)
    
public  voidvisit_ifgt(Instruction inst)
    
public  voidvisit_ifle(Instruction inst)
    
public  voidvisit_iflt(Instruction inst)
    
public  voidvisit_ifne(Instruction inst)
    
public  voidvisit_ifnonnull(Instruction inst)
    
public  voidvisit_ifnull(Instruction inst)
     Both visit_xnull add an IfZeroStmt to the statement list.
public  voidvisit_iinc(Instruction inst)
     Visiting an iinc involves creating a ConstantExpr, LocalExpr, ArithExpr StoreExpr, and a ExprStmt.
public  voidvisit_iload(Instruction inst)
     All visit_xload push a LocalExpr onto the operand stack.
public  voidvisit_imul(Instruction inst)
    
public  voidvisit_ineg(Instruction inst)
     All visit_xneg push a NegExpr onto the stack.
public  voidvisit_instanceof(Instruction inst)
     Pushes an InstanceOfExpr onto the operand stack.
public  voidvisit_invokeinterface(Instruction inst)
    
public  voidvisit_invokespecial(Instruction inst)
    
public  voidvisit_invokestatic(Instruction inst)
    
public  voidvisit_invokevirtual(Instruction inst)
     All visit_invokex deal with a CallMethodExpr or a CallStaticExpr.
public  voidvisit_ior(Instruction inst)
    
public  voidvisit_irem(Instruction inst)
    
public  voidvisit_ireturn(Instruction inst)
     All visit_xreturn add a ReturnExprStmt to the statement list.
public  voidvisit_ishl(Instruction inst)
     All visit_xshd push a ShiftExpr onto the operand stack.
public  voidvisit_ishr(Instruction inst)
    
public  voidvisit_istore(Instruction inst)
     All visit_xstore add a LocalExpr statement to the statement list.
public  voidvisit_isub(Instruction inst)
    
public  voidvisit_iushr(Instruction inst)
    
public  voidvisit_ixor(Instruction inst)
    
public  voidvisit_jsr(Instruction inst)
     Adds a JsrStmt to the statement list.
public  voidvisit_l2d(Instruction inst)
    
public  voidvisit_l2f(Instruction inst)
    
public  voidvisit_l2i(Instruction inst)
    
public  voidvisit_ladd(Instruction inst)
    
public  voidvisit_laload(Instruction inst)
    
public  voidvisit_land(Instruction inst)
    
public  voidvisit_lastore(Instruction inst)
    
public  voidvisit_lcmp(Instruction inst)
     All visit_xcmp push an ArithExpr onto the stack.
public  voidvisit_ldc(Instruction inst)
     Pushes a ConstantExpr onto the operand stack.
public  voidvisit_ldiv(Instruction inst)
    
public  voidvisit_lload(Instruction inst)
    
public  voidvisit_lmul(Instruction inst)
    
public  voidvisit_lneg(Instruction inst)
    
public  voidvisit_lor(Instruction inst)
    
public  voidvisit_lrem(Instruction inst)
    
public  voidvisit_lreturn(Instruction inst)
    
public  voidvisit_lshl(Instruction inst)
    
public  voidvisit_lshr(Instruction inst)
    
public  voidvisit_lstore(Instruction inst)
    
public  voidvisit_lsub(Instruction inst)
    
public  voidvisit_lushr(Instruction inst)
    
public  voidvisit_lxor(Instruction inst)
    
public  voidvisit_monitorenter(Instruction inst)
     Both monitor visitors add a MonitorStmt to the statement list.
public  voidvisit_monitorexit(Instruction inst)
    
public  voidvisit_multianewarray(Instruction inst)
     Push a NewMultiArrayExpr onto the operand stack.
public  voidvisit_new(Instruction inst)
     Pushes a NewExpr onto the operand stack.
public  voidvisit_newarray(Instruction inst)
     Pushes a NewArrayExpr onto the operand stack.
public  voidvisit_nop(Instruction inst)
     Adds no statements to the statement list.
public  voidvisit_pop(Instruction inst)
     Pop the expression off the top of the stack and add it as an ExprStmt to the statement list.
public  voidvisit_pop2(Instruction inst)
    
public  voidvisit_putfield(Instruction inst)
    
public  voidvisit_putfield_nowb(Instruction inst)
    
public  voidvisit_putstatic(Instruction inst)
    
public  voidvisit_putstatic_nowb(Instruction inst)
    
public  voidvisit_rc(Instruction inst)
     Replaces the expression on the top of the stack with an RCExpr.
public  voidvisit_ret(Instruction inst)
     Adds a RetStmt to the statement list.
public  voidvisit_return(Instruction inst)
     Adds a ReturnStmt to the statement list.
public  voidvisit_saload(Instruction inst)
    
public  voidvisit_sastore(Instruction inst)
    
public  voidvisit_supdate(Instruction inst)
     Replace the expression at the stack depth specified in the instruction with a UCExpr.
public  voidvisit_swap(Instruction inst)
    
public  voidvisit_switch(Instruction inst)
     Add a SwitchStmt to the statement list.

Field Detail
AUPDATE_FIX_HACK
public static boolean AUPDATE_FIX_HACK(Code)



AUPDATE_FIX_HACK_CHANGED
public static boolean AUPDATE_FIX_HACK_CHANGED(Code)



DEBUG
public static boolean DEBUG(Code)



FLATTEN
public static boolean FLATTEN(Code)



USE_PERSISTENT
public static boolean USE_PERSISTENT(Code)



USE_STACK
public static boolean USE_STACK(Code)



block
Block block(Code)



last
Instruction last(Code)
The last instruction we saw. addInst(Instruction) needs this information.



next
Block next(Code)



saveValue
boolean saveValue(Code)



savedStack
Stack savedStack(Code)



stack
OperandStack stack(Code)



stackpos
static int stackpos(Code)



stmts
StmtList stmts(Code)



sub
Subroutine sub(Code)




Constructor Detail
Tree
public Tree(Block block, OperandStack predStack)(Code)
Constructor.
Parameters:
  block - The basic Block of code represented in this Tree.
Parameters:
  predStack - The contents of the operand stack from the previous basicBlock.




Method Detail
addInstruction
public void addInstruction(Instruction inst, Block next)(Code)
Adds an instruction that jumps to another basic block.
Parameters:
  inst - The instruction to add.
Parameters:
  next - The basic block after the jump. Remember that a jump ends abasic block.
See Also:   Instruction.isJsr
See Also:   Instruction.isConditionalJump



addInstruction
public void addInstruction(Instruction inst)(Code)
Adds an instruction that does not change the control flow (a normal instruction).
Parameters:
  inst - Instruction to add.



addInstruction
public void addInstruction(Instruction inst, Subroutine sub)(Code)
Add an instruction such as ret or astore that may involve a subroutine.
Parameters:
  inst - Instruction to add.
Parameters:
  sub - Subroutine in which inst resides. The ret instructionalways resides in a Subroutine. An astore may storethe return address of a subroutine in a local variable.
See Also:   Instruction.isRet



addLabel
public void addLabel(Label label)(Code)
Add a label to the statement list. A label is inserted before a dup statement, but after any other statement.
Parameters:
  label - Label to add.



addStmt
public void addStmt(Stmt stmt)(Code)
Save the contents of the stack and add stmt to the statement list.
Parameters:
  stmt - A statement to add to the statement list.



addStmtAfter
public void addStmtAfter(Stmt stmt, Stmt after)(Code)
Inserts a statement into the statement list after another given statement.
Parameters:
  stmt - The statement to add.
Parameters:
  after - The statement after which to add stmt.



addStmtBefore
public void addStmtBefore(Stmt stmt, Stmt before)(Code)
Inserts a statement into the statement list before a specified statement.
Parameters:
  stmt - The statement to insert
Parameters:
  before - The statement before which to add stmt.



addStmtBeforeJump
public void addStmtBeforeJump(Stmt stmt)(Code)
Adds a statement to the statement list before the last jump statement. It is assumed that the last statement in the statement list is a jump statement.
See Also:   JumpStmt



block
public Block block()(Code)



cleanupOnly
public void cleanupOnly()(Code)
Cleans up this node. Does nothing in this case.



initLocals
public void initLocals(Collection locals)(Code)
Add a Collection of local variables to the block. Add an InitStmt to the statement list.
See Also:   LocalExpr
See Also:   InitStmt



lastStmt
public Stmt lastStmt()(Code)
Returns the last non-Label statement in the statement list.



newLocal
public LocalExpr newLocal(int index, Type type)(Code)
Returns a new LocalExpr that is not allocated on the stack.
Parameters:
  index - Stack index of variable.
Parameters:
  type - The type of the LocalExpr



newLocal
public LocalExpr newLocal(Type type)(Code)
Returns a local variable (LocalExpr) located in this method.
Parameters:
  type - The type of the new LocalExpr.



newStack
public StackExpr newStack(Type type)(Code)
Returns a new StackExpr for the top of the operand stack.



newStackLocal
public LocalExpr newStackLocal(int index, Type type)(Code)
Returns a new LocalExpr that represents an element of the stack. They are created when the USE_STACK flag is not set.
Parameters:
  index - Stack index of variable.
Parameters:
  type - The type of the LocalExpr



parent
public Node parent()(Code)



prependStmt
public void prependStmt(Stmt stmt)(Code)
Add an statement to the statement list before the first non-Label statement.
Parameters:
  stmt - The statement to add.



removeLastStmt
public void removeLastStmt()(Code)
Removes the last non-Label statement from the statement list.



removeStmt
public void removeStmt(Stmt stmt)(Code)
Removes a statement from the statement list.
Parameters:
  stmt - The statement to remove



stack
public OperandStack stack()(Code)
Returns the operand stack.



stmts
public List stmts()(Code)
The statement list



toString
public String toString()(Code)
Returns a String representation of this Tree.



visit
public void visit(TreeVisitor visitor)(Code)



visitForceChildren
public void visitForceChildren(TreeVisitor visitor)(Code)
Visit all the statements in the statement list.



visit_aaload
public void visit_aaload(Instruction inst)(Code)



visit_aastore
public void visit_aastore(Instruction inst)(Code)



visit_aload
public void visit_aload(Instruction inst)(Code)



visit_areturn
public void visit_areturn(Instruction inst)(Code)



visit_arraylength
public void visit_arraylength(Instruction inst)(Code)
Pushes an ArrayLengthExpr onto the operand stack.
See Also:   ArrayLengthExpr



visit_astore
public void visit_astore(Instruction inst)(Code)
Visit an astore instruction. If the type of the operand to the instruction is an address add an AddressStoreStmt to the tree, else add a StoreStmt to the tree consisting of a LocalExpr and the top Expr on the operand stack.
See Also:   AddressStoreStmt
See Also:   LocalExpr
See Also:   StoreExpr



visit_aswizzle
public void visit_aswizzle(Instruction inst)(Code)
Add a SCStmt to the statement list
See Also:   SCStmt



visit_aswrange
public void visit_aswrange(Instruction inst)(Code)
Add a SRStmt to the statement list.
See Also:   SRStmt



visit_athrow
public void visit_athrow(Instruction inst)(Code)
Adds a ThrowStmt to the statement list.
See Also:   ThrowStmt



visit_aupdate
public void visit_aupdate(Instruction inst)(Code)



visit_baload
public void visit_baload(Instruction inst)(Code)



visit_bastore
public void visit_bastore(Instruction inst)(Code)



visit_caload
public void visit_caload(Instruction inst)(Code)



visit_castore
public void visit_castore(Instruction inst)(Code)



visit_checkcast
public void visit_checkcast(Instruction inst)(Code)
Pushes a CastExpr onto the operand stack.
See Also:   CastExpr



visit_d2f
public void visit_d2f(Instruction inst)(Code)



visit_d2i
public void visit_d2i(Instruction inst)(Code)



visit_d2l
public void visit_d2l(Instruction inst)(Code)



visit_dadd
public void visit_dadd(Instruction inst)(Code)



visit_daload
public void visit_daload(Instruction inst)(Code)



visit_dastore
public void visit_dastore(Instruction inst)(Code)



visit_dcmpg
public void visit_dcmpg(Instruction inst)(Code)



visit_dcmpl
public void visit_dcmpl(Instruction inst)(Code)



visit_ddiv
public void visit_ddiv(Instruction inst)(Code)



visit_dload
public void visit_dload(Instruction inst)(Code)



visit_dmul
public void visit_dmul(Instruction inst)(Code)



visit_dneg
public void visit_dneg(Instruction inst)(Code)



visit_drem
public void visit_drem(Instruction inst)(Code)



visit_dreturn
public void visit_dreturn(Instruction inst)(Code)



visit_dstore
public void visit_dstore(Instruction inst)(Code)



visit_dsub
public void visit_dsub(Instruction inst)(Code)



visit_dup
public void visit_dup(Instruction inst)(Code)
When processing the dup instructions one of two situations can occur. If the USE_STACK flag is set, then a StackManipStmt is created to represent the transformation that the dup instruction performs on the stack. If the USE_STACK flag is not set, then the transformation is simulated by creating new local variables containing the appropriate element of the stack.
See Also:   LocalExpr
See Also:   StackExpr
See Also:   StackManipStmt



visit_dup2
public void visit_dup2(Instruction inst)(Code)



visit_dup2_x1
public void visit_dup2_x1(Instruction inst)(Code)



visit_dup2_x2
public void visit_dup2_x2(Instruction inst)(Code)



visit_dup_x1
public void visit_dup_x1(Instruction inst)(Code)



visit_dup_x2
public void visit_dup_x2(Instruction inst)(Code)



visit_f2d
public void visit_f2d(Instruction inst)(Code)



visit_f2i
public void visit_f2i(Instruction inst)(Code)



visit_f2l
public void visit_f2l(Instruction inst)(Code)



visit_fadd
public void visit_fadd(Instruction inst)(Code)



visit_faload
public void visit_faload(Instruction inst)(Code)



visit_fastore
public void visit_fastore(Instruction inst)(Code)



visit_fcmpg
public void visit_fcmpg(Instruction inst)(Code)



visit_fcmpl
public void visit_fcmpl(Instruction inst)(Code)



visit_fdiv
public void visit_fdiv(Instruction inst)(Code)



visit_fload
public void visit_fload(Instruction inst)(Code)



visit_fmul
public void visit_fmul(Instruction inst)(Code)



visit_fneg
public void visit_fneg(Instruction inst)(Code)



visit_frem
public void visit_frem(Instruction inst)(Code)



visit_freturn
public void visit_freturn(Instruction inst)(Code)



visit_fstore
public void visit_fstore(Instruction inst)(Code)



visit_fsub
public void visit_fsub(Instruction inst)(Code)



visit_getfield
public void visit_getfield(Instruction inst)(Code)
Pushes a FieldExpr onto the operand stack.



visit_getstatic
public void visit_getstatic(Instruction inst)(Code)
Pushes a StaticFieldExpr onto the operand stack.



visit_goto
public void visit_goto(Instruction inst)(Code)
Adds a GotoStmt to the statement list.
See Also:   GotoStmt



visit_i2b
public void visit_i2b(Instruction inst)(Code)



visit_i2c
public void visit_i2c(Instruction inst)(Code)



visit_i2d
public void visit_i2d(Instruction inst)(Code)



visit_i2f
public void visit_i2f(Instruction inst)(Code)



visit_i2l
public void visit_i2l(Instruction inst)(Code)
All cast visitors push a CastExpr onto the operand stack.



visit_i2s
public void visit_i2s(Instruction inst)(Code)



visit_iadd
public void visit_iadd(Instruction inst)(Code)
All visit_xadd, visit_xsub, visit_xmul, visit_xdiv, etc. push an ArithExpr onto the operand stack.
See Also:   ArithExpr



visit_iaload
public void visit_iaload(Instruction inst)(Code)
All visit_xaload push an ArrayRefExpr onto the operand stack.



visit_iand
public void visit_iand(Instruction inst)(Code)
All visit_x op push an ArithExpr onto the stack.
See Also:   ArithExpr



visit_iastore
public void visit_iastore(Instruction inst)(Code)



visit_idiv
public void visit_idiv(Instruction inst)(Code)



visit_if_acmpeq
public void visit_if_acmpeq(Instruction inst)(Code)



visit_if_acmpne
public void visit_if_acmpne(Instruction inst)(Code)



visit_if_icmpeq
public void visit_if_icmpeq(Instruction inst)(Code)
All visit_if_xcmpy add a IfCmpStmt to the statement list.



visit_if_icmpge
public void visit_if_icmpge(Instruction inst)(Code)



visit_if_icmpgt
public void visit_if_icmpgt(Instruction inst)(Code)



visit_if_icmple
public void visit_if_icmple(Instruction inst)(Code)



visit_if_icmplt
public void visit_if_icmplt(Instruction inst)(Code)



visit_if_icmpne
public void visit_if_icmpne(Instruction inst)(Code)



visit_ifeq
public void visit_ifeq(Instruction inst)(Code)
All visit_xeg add an IfZeroStmt to the statement list.
See Also:   IfZeroStmt



visit_ifge
public void visit_ifge(Instruction inst)(Code)



visit_ifgt
public void visit_ifgt(Instruction inst)(Code)



visit_ifle
public void visit_ifle(Instruction inst)(Code)



visit_iflt
public void visit_iflt(Instruction inst)(Code)



visit_ifne
public void visit_ifne(Instruction inst)(Code)



visit_ifnonnull
public void visit_ifnonnull(Instruction inst)(Code)



visit_ifnull
public void visit_ifnull(Instruction inst)(Code)
Both visit_xnull add an IfZeroStmt to the statement list. ssee IfZeroStmt



visit_iinc
public void visit_iinc(Instruction inst)(Code)
Visiting an iinc involves creating a ConstantExpr, LocalExpr, ArithExpr StoreExpr, and a ExprStmt.



visit_iload
public void visit_iload(Instruction inst)(Code)
All visit_xload push a LocalExpr onto the operand stack.
See Also:   LocalExpr



visit_imul
public void visit_imul(Instruction inst)(Code)



visit_ineg
public void visit_ineg(Instruction inst)(Code)
All visit_xneg push a NegExpr onto the stack.
See Also:   NegExpr



visit_instanceof
public void visit_instanceof(Instruction inst)(Code)
Pushes an InstanceOfExpr onto the operand stack.
See Also:   InstanceOfExpr



visit_invokeinterface
public void visit_invokeinterface(Instruction inst)(Code)



visit_invokespecial
public void visit_invokespecial(Instruction inst)(Code)



visit_invokestatic
public void visit_invokestatic(Instruction inst)(Code)



visit_invokevirtual
public void visit_invokevirtual(Instruction inst)(Code)
All visit_invokex deal with a CallMethodExpr or a CallStaticExpr.
See Also:   CallMethodExpr
See Also:   CallStaticExpr



visit_ior
public void visit_ior(Instruction inst)(Code)



visit_irem
public void visit_irem(Instruction inst)(Code)



visit_ireturn
public void visit_ireturn(Instruction inst)(Code)
All visit_xreturn add a ReturnExprStmt to the statement list.
See Also:   ReturnExprStmt



visit_ishl
public void visit_ishl(Instruction inst)(Code)
All visit_xshd push a ShiftExpr onto the operand stack.
See Also:   ShiftExpr



visit_ishr
public void visit_ishr(Instruction inst)(Code)



visit_istore
public void visit_istore(Instruction inst)(Code)
All visit_xstore add a LocalExpr statement to the statement list.



visit_isub
public void visit_isub(Instruction inst)(Code)



visit_iushr
public void visit_iushr(Instruction inst)(Code)



visit_ixor
public void visit_ixor(Instruction inst)(Code)



visit_jsr
public void visit_jsr(Instruction inst)(Code)
Adds a JsrStmt to the statement list.
See Also:   JsrStmt



visit_l2d
public void visit_l2d(Instruction inst)(Code)



visit_l2f
public void visit_l2f(Instruction inst)(Code)



visit_l2i
public void visit_l2i(Instruction inst)(Code)



visit_ladd
public void visit_ladd(Instruction inst)(Code)



visit_laload
public void visit_laload(Instruction inst)(Code)



visit_land
public void visit_land(Instruction inst)(Code)



visit_lastore
public void visit_lastore(Instruction inst)(Code)



visit_lcmp
public void visit_lcmp(Instruction inst)(Code)
All visit_xcmp push an ArithExpr onto the stack.
See Also:   ArithExpr



visit_ldc
public void visit_ldc(Instruction inst)(Code)
Pushes a ConstantExpr onto the operand stack.
See Also:   ConstantExpr



visit_ldiv
public void visit_ldiv(Instruction inst)(Code)



visit_lload
public void visit_lload(Instruction inst)(Code)



visit_lmul
public void visit_lmul(Instruction inst)(Code)



visit_lneg
public void visit_lneg(Instruction inst)(Code)



visit_lor
public void visit_lor(Instruction inst)(Code)



visit_lrem
public void visit_lrem(Instruction inst)(Code)



visit_lreturn
public void visit_lreturn(Instruction inst)(Code)



visit_lshl
public void visit_lshl(Instruction inst)(Code)



visit_lshr
public void visit_lshr(Instruction inst)(Code)



visit_lstore
public void visit_lstore(Instruction inst)(Code)



visit_lsub
public void visit_lsub(Instruction inst)(Code)



visit_lushr
public void visit_lushr(Instruction inst)(Code)



visit_lxor
public void visit_lxor(Instruction inst)(Code)



visit_monitorenter
public void visit_monitorenter(Instruction inst)(Code)
Both monitor visitors add a MonitorStmt to the statement list.
See Also:   MonitorStmt



visit_monitorexit
public void visit_monitorexit(Instruction inst)(Code)



visit_multianewarray
public void visit_multianewarray(Instruction inst)(Code)
Push a NewMultiArrayExpr onto the operand stack.
See Also:   NewMultiArrayExpr



visit_new
public void visit_new(Instruction inst)(Code)
Pushes a NewExpr onto the operand stack.
See Also:   NewExpr



visit_newarray
public void visit_newarray(Instruction inst)(Code)
Pushes a NewArrayExpr onto the operand stack.



visit_nop
public void visit_nop(Instruction inst)(Code)
Adds no statements to the statement list.



visit_pop
public void visit_pop(Instruction inst)(Code)
Pop the expression off the top of the stack and add it as an ExprStmt to the statement list.
See Also:   ExprStmt



visit_pop2
public void visit_pop2(Instruction inst)(Code)



visit_putfield
public void visit_putfield(Instruction inst)(Code)



visit_putfield_nowb
public void visit_putfield_nowb(Instruction inst)(Code)



visit_putstatic
public void visit_putstatic(Instruction inst)(Code)



visit_putstatic_nowb
public void visit_putstatic_nowb(Instruction inst)(Code)



visit_rc
public void visit_rc(Instruction inst)(Code)
Replaces the expression on the top of the stack with an RCExpr.
See Also:   RCExpr



visit_ret
public void visit_ret(Instruction inst)(Code)
Adds a RetStmt to the statement list.
See Also:   RetStmt



visit_return
public void visit_return(Instruction inst)(Code)
Adds a ReturnStmt to the statement list.



visit_saload
public void visit_saload(Instruction inst)(Code)



visit_sastore
public void visit_sastore(Instruction inst)(Code)



visit_supdate
public void visit_supdate(Instruction inst)(Code)
Replace the expression at the stack depth specified in the instruction with a UCExpr.
See Also:   UCExpr



visit_swap
public void visit_swap(Instruction inst)(Code)



visit_switch
public void visit_switch(Instruction inst)(Code)
Add a SwitchStmt to the statement list.
See Also:   SwitchStmt



Fields inherited from EDU.purdue.cs.bloat.tree.Node
int key(Code)(Java Doc)
protected Node parent(Code)(Java Doc)
int valueNumber(Code)(Java Doc)

Methods inherited from EDU.purdue.cs.bloat.tree.Node
public Block block()(Code)(Java Doc)
public void cleanup()(Code)(Java Doc)
abstract public void cleanupOnly()(Code)(Java Doc)
protected Node copyInto(Node node)(Code)(Java Doc)
public boolean hasParent()(Code)(Java Doc)
public int key()(Code)(Java Doc)
public Node parent()(Code)(Java Doc)
public void replaceWith(Node node)(Code)(Java Doc)
public void replaceWith(Node node, boolean cleanup)(Code)(Java Doc)
public void setKey(int key)(Code)(Java Doc)
public void setParent(Node parent)(Code)(Java Doc)
public void setValueNumber(int valueNumber)(Code)(Java Doc)
public String toString()(Code)(Java Doc)
public int valueNumber()(Code)(Java Doc)
abstract public void visit(TreeVisitor visitor)(Code)(Java Doc)
public void visitChildren(TreeVisitor visitor)(Code)(Java Doc)
abstract public void visitForceChildren(TreeVisitor visitor)(Code)(Java Doc)
public void visitOnly(TreeVisitor visitor)(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.