Package org.jboss.classfilewriter.code
Class StackState
java.lang.Object
org.jboss.classfilewriter.code.StackState
In immutable stack state, which may be shared between frames
- Author:
- Stuart Douglas
-
Constructor Summary
ConstructorsConstructorDescriptionStackState
(String exceptionType, ConstPool constPool) StackState
(ConstPool constPool) -
Method Summary
Modifier and TypeMethodDescriptionconstructorCall
(int initializedValueStackPosition, StackEntry entry) dup()
dup2()
dup2X1()
dup2X2()
dupX1()
dupX2()
boolean
checks that the appropriate object type is on top of the stackpop
(int no) pop a non-wide type from the top of the stackpush a type on to the top of the stackpush
(StackEntry entry) push a type on to the top of the stackint
size()
swap()
top()
top_1()
top_2()
top_3()
toString()
updateMerged
(int pos, StackEntry frame)
-
Constructor Details
-
StackState
-
StackState
-
-
Method Details
-
isOnTop
checks that the appropriate object type is on top of the stack -
size
public int size() -
push
push a type on to the top of the stack -
push
push a type on to the top of the stack -
aconstNull
-
pop
pop a non-wide type from the top of the stack -
dup
-
dupX1
-
dupX2
-
dup2
-
dup2X1
-
dup2X2
-
top
-
top_1
-
top_2
-
top_3
-
toString
-
getContents
-
constructorCall
-
updateMerged
-
swap
-