Package org.jboss.classfilewriter.code
Class LocalVariableState
java.lang.Object
org.jboss.classfilewriter.code.LocalVariableState
In immutable local variable state
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ConstPoolprivate final List<StackEntry> The contents, null is used to represent the additional spot taken up by a wide variable. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateLocalVariableState(List<StackEntry> contents, ConstPool constPool) LocalVariableState(ClassMethod method) construct the initial local variable state for a methodLocalVariableState(ConstPool pool, String... entries) -
Method Summary
Modifier and TypeMethodDescriptionconstructorCall(StackEntry entry) get(int index) intsize()store(int index, StackEntry entry) storeWide(int index, StackEntry entry) toString()updateMerged(int pos, StackEntry frame)
-
Field Details
-
contents
The contents, null is used to represent the additional spot taken up by a wide variable.This list may be shared between frames, so it must never be modified
The very first element represents the first local variable (this for non static methods)
-
constPool
-
-
Constructor Details
-
LocalVariableState
construct the initial local variable state for a method -
LocalVariableState
-
LocalVariableState
-
-
Method Details