@HashCodeAndEqualsPlugin.Enhance public static class ArrayFactory.ArrayCreator.ForReferenceType extends StackManipulation.AbstractBase implements ArrayFactory.ArrayCreator
ArrayFactory.ArrayCreator.ForPrimitiveType, ArrayFactory.ArrayCreator.ForReferenceType
StackManipulation.AbstractBase, StackManipulation.Compound, StackManipulation.Illegal, StackManipulation.Simple, StackManipulation.Size, StackManipulation.Trivial
ARRAY_CREATION_SIZE_CHANGE
Modifier | Constructor and Description |
---|---|
protected |
ForReferenceType(TypeDescription referenceType)
Creates a new array creator for a reference type.
|
Modifier and Type | Method and Description |
---|---|
StackManipulation.Size |
apply(org.objectweb.asm.MethodVisitor methodVisitor,
Implementation.Context implementationContext)
Applies the stack manipulation that is described by this instance.
|
int |
getStorageOpcode()
The opcode instruction for storing a value of the component type inside an array.
|
isValid
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isValid
protected ForReferenceType(TypeDescription referenceType)
referenceType
- The internal name of this array's non-primitive component type.public StackManipulation.Size apply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext)
apply
in interface StackManipulation
methodVisitor
- The method visitor used to write the method implementation to.implementationContext
- The context of the current implementation.public int getStorageOpcode()
getStorageOpcode
in interface ArrayFactory.ArrayCreator
Copyright © 2014–2021. All rights reserved.