| Modifier and Type | Field and Description |
|---|---|
| public static final StackSize | DOUBLE
A double slot stack size which is required by |
| public static final StackSize | SINGLE
A single slot stack size. |
| private final int | size
The size of the stack this instance represents. |
| public static final StackSize | ZERO
An empty stack size. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public int | Returns: An integer representing the operand stack size.The numeric value of this stack size representation. |
| public StackSize | |
| public static StackSize | |
| public static StackSize | |
| public static int | Returns: The total size of all types.The types for which to compute the size. typeDefinition)Computes the stack size of all supplied types. |
| public static int | Returns: The total size of all types.The types for which to compute the size. typeDefinitions)Computes the stack size of all supplied types. |
| public StackManipulation. | Returns: A stack size decrease by the size represented by this stack size.Creates an instance of a
|
| public StackManipulation. | Returns: A stack size growth by the size represented by this stack size.Creates an instance of a
|
| public static StackSize | |
| public static StackSize[] |
| DOUBLE | back to summary |
|---|---|
| public static final StackSize DOUBLE A double slot stack size which is required by | |
| SINGLE | back to summary |
|---|---|
| public static final StackSize SINGLE A single slot stack size. | |
| size | back to summary |
|---|---|
| private final int size The size of the stack this instance represents. | |
| ZERO | back to summary |
|---|---|
| public static final StackSize ZERO An empty stack size. | |
| StackSize | back to summary |
|---|---|
| private StackSize(int size) Creates a new stack size.
| |
| getSize | back to summary |
|---|---|
| public int getSize() The numeric value of this stack size representation.
| |
| maximum | back to summary |
|---|---|
| public StackSize maximum(StackSize stackSize) Determines the maximum of two stack size representations. | |
| of | back to summary |
|---|---|
| public static StackSize of(Class<?> type) Finds the operand stack size of a given Java type. | |
| of | back to summary |
|---|---|
| public static StackSize of(int size) Represents a numeric size as a
| |
| of | back to summary |
|---|---|
| public static int of(TypeDefinition... typeDefinition) Computes the stack size of all supplied types.
| |
| of | back to summary |
|---|---|
| public static int of(Collection<? extends TypeDefinition> typeDefinitions) Computes the stack size of all supplied types.
| |
| toDecreasingSize | back to summary |
|---|---|
| public StackManipulation. Creates an instance of a
| |
| toIncreasingSize | back to summary |
|---|---|
| public StackManipulation. Creates an instance of a
| |
| valueOf | back to summary |
|---|---|
| public static StackSize valueOf(String name) | |
| values | back to summary |
|---|---|
| public static StackSize[] values() | |