@HashCodeAndEqualsPlugin.Enhance public static class ByteCodeAppender.Size extends java.lang.Object
ByteCodeAppender.| Modifier and Type | Field and Description |
|---|---|
private int |
localVariableSize
The size of the local variable array.
|
private int |
operandStackSize
The size of the operand stack.
|
| Constructor and Description |
|---|
Size(int operandStackSize,
int localVariableSize) |
| 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.
|
private final int operandStackSize
private final int localVariableSize
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.