@HashCodeAndEqualsPlugin.Enhance public static class ByteCodeAppender.Size extends Object
ByteCodeAppender
.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.
|
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–2020. All rights reserved.