1 package jrre.event;
2
3 import jrre.instructionset.Instruction;
4
5 public class PushStackFrameEvent extends VMEvent {
6
7 private String methodName;
8 private int maxStackSize;
9 private int localVariableCount;
10 private Instruction instructions;
11
12 public PushStackFrameEvent(String methodName,
13 int maxStackSize,
14 int localVariableCount,
15 Instruction instructions){
16 super();
17
18 this.methodName = methodName;
19 this.maxStackSize = maxStackSize;
20 this.localVariableCount = localVariableCount;
21 this.instructions = instructions;
22 }
23
24 /***
25 * Gets the Instructions.
26 */
27 public Instruction getInstructions(){
28 return this.instructions;
29 }
30
31 /***
32 * Sets the Instructions.
33 * @param Instructions The value to set it to.
34 */
35 public void setInstructions(Instruction instructions){
36 this.instructions = instructions;
37 }
38
39 /***
40 * Gets the LocalVariableCount.
41 */
42 public int getLocalVariableCount(){
43 return this.localVariableCount;
44 }
45
46 /***
47 * Sets the LocalVariableCount.
48 * @param LocalVariableCount The value to set it to.
49 */
50 public void setLocalVariableCount(int localVariableCount){
51 this.localVariableCount = localVariableCount;
52 }
53
54 /***
55 * Gets the MaxStackSize.
56 */
57 public int getMaxStackSize(){
58 return this.maxStackSize;
59 }
60
61 /***
62 * Sets the MaxStackSize.
63 * @param MaxStackSize The value to set it to.
64 */
65 public void setMaxStackSize(int maxStackSize){
66 this.maxStackSize = maxStackSize;
67 }
68
69 /***
70 * Gets the Name.
71 */
72 public String getMethodName(){
73 return this.methodName;
74 }
75
76 /***
77 * Sets the Name.
78 * @param Name The value to set it to.
79 */
80 public void setMethodName(String methodName){
81 this.methodName = methodName;
82 }
83
84 }
This page was automatically generated by Maven