@HashCodeAndEqualsPlugin.Enhance public static class ByteCodeAppender.Size extends Object
ByteCodeAppender.| Modifier and Type | Field and Description | 
|---|---|
static ByteCodeAppender.Size | 
ZERO
A size of zero. 
 | 
| Constructor and Description | 
|---|
Size(int operandStackSize,
    int localVariableSize)
Creates a size representation. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
getLocalVariableSize()
Returns the required size of the local variable array. 
 | 
int | 
getOperandStackSize()
Returns the required operand stack size. 
 | 
ByteCodeAppender.Size | 
merge(ByteCodeAppender.Size other)
Merges two sizes in order to describe the size that is required by both size descriptions. 
 | 
public static final ByteCodeAppender.Size ZERO
public Size(int operandStackSize,
            int localVariableSize)
operandStackSize - The operand stack size that is required for running given byte code.localVariableSize - The local variable array size that is required for running given byte code.public int getOperandStackSize()
public int getLocalVariableSize()
public ByteCodeAppender.Size merge(ByteCodeAppender.Size other)
other - The other size description.Copyright © 2014–2025. All rights reserved.