Class Frame
- java.lang.Object
-
- org.fife.rsta.ac.java.classreader.Frame
-
public class Frame extends java.lang.ObjectAFramecontains information on a method being decompiled, similar to a Frame as defined in 3.6 of the JVM spec.- Version:
- 1.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFrame.LocalVarInfoInformation about a local variable.
-
Field Summary
Fields Modifier and Type Field Description private Frame.LocalVarInfo[]localVarsprivate java.util.Stack<java.lang.String>operandStack
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Frame.LocalVarInfogetLocalVar(int index, java.lang.String defaultType)Returns the specified local variable.java.lang.Stringpop()Pops a value from this frame.voidpush(java.lang.String value)Pushes a value onto this frame.
-
-
-
Field Detail
-
operandStack
private java.util.Stack<java.lang.String> operandStack
-
localVars
private Frame.LocalVarInfo[] localVars
-
-
Method Detail
-
getLocalVar
public Frame.LocalVarInfo getLocalVar(int index, java.lang.String defaultType)
Returns the specified local variable.- Parameters:
index- The index of the local variable.defaultType- The default type.- Returns:
- The local variable.
-
pop
public java.lang.String pop()
Pops a value from this frame.- Returns:
- The value.
- See Also:
push(String)
-
push
public void push(java.lang.String value)
Pushes a value onto this frame.- Parameters:
value- The value to push.- See Also:
pop()
-
-