public class VariableSlotLoader
extends BytecodeExpression
A bytecode expression that loads a variable from a specific slot index.
| Fields inherited from class | Fields |
|---|---|
class BytecodeExpression |
NOP |
class Expression |
EMPTY_ARRAY |
| Constructor and description |
|---|
VariableSlotLoader(ClassNode type, int index, OperandStack os)Creates a variable slot loader with a specified type and index. |
VariableSlotLoader(int index, OperandStack os)Creates a variable slot loader with a specified index. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public int |
getIndex()Returns the slot index of the variable. |
|
public void |
visit(org.objectweb.asm.MethodVisitor mv)* Emits bytecode instructions using the provided method visitor. * *
|
| Methods inherited from class | Name |
|---|---|
class BytecodeExpression |
getText, transformExpression, visit, visit |
class Expression |
getType, setType, transformExpression, transformExpressions, transformExpressions |
class AnnotatedNode |
addAnnotation, addAnnotation, addAnnotations, getAnnotations, getAnnotations, getDeclaringClass, getGroovydoc, getInstance, hasNoRealSourcePosition, isSynthetic, setDeclaringClass, setHasNoRealSourcePosition, setSynthetic |
class ASTNode |
copyNodeMetaData, getColumnNumber, getLastColumnNumber, getLastLineNumber, getLineNumber, getMetaDataMap, getText, setColumnNumber, setLastColumnNumber, setLastLineNumber, setLineNumber, setMetaDataMap, setSourcePosition, visit |
Creates a variable slot loader with a specified type and index.
type - the type of the variableindex - the slot index of the variableos - the operand stackCreates a variable slot loader with a specified index.
index - the slot index of the variableos - the operand stackCopyright © 2003-2026 The Apache Software Foundation. All rights reserved.