Interface ArrayFactory.ArrayCreator
-
- All Superinterfaces:
StackManipulation
- All Known Implementing Classes:
ArrayFactory.ArrayCreator.ForPrimitiveType
,ArrayFactory.ArrayCreator.ForReferenceType
- Enclosing class:
- ArrayFactory
protected static interface ArrayFactory.ArrayCreator extends StackManipulation
An array creator is responsible for providing correct byte code instructions for creating an array and for storing values into it.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ArrayFactory.ArrayCreator.ForPrimitiveType
An array creator implementation for primitive types.static class
ArrayFactory.ArrayCreator.ForReferenceType
An array creator implementation for reference types.-
Nested classes/interfaces inherited from interface net.bytebuddy.implementation.bytecode.StackManipulation
StackManipulation.Compound, StackManipulation.Illegal, StackManipulation.Size, StackManipulation.Trivial
-
-
Field Summary
Fields Modifier and Type Field Description static StackManipulation.Size
ARRAY_CREATION_SIZE_CHANGE
The creation of an array consumes one slot on the operand stack and adds a new value to it.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getStorageOpcode()
The opcode instruction for storing a value of the component type inside an array.-
Methods inherited from interface net.bytebuddy.implementation.bytecode.StackManipulation
apply, isValid
-
-
-
-
Field Detail
-
ARRAY_CREATION_SIZE_CHANGE
static final StackManipulation.Size ARRAY_CREATION_SIZE_CHANGE
The creation of an array consumes one slot on the operand stack and adds a new value to it. Therefore, the operand stack's size is not altered.
-
-