@HashCodeAndEqualsPlugin.Enhance protected static class PrimitiveNarrowingDelegate.NarrowingStackManipulation extends StackManipulation.AbstractBase
StackManipulation.AbstractBase, StackManipulation.Compound, StackManipulation.Illegal, StackManipulation.Simple, StackManipulation.Size, StackManipulation.Trivial
Modifier | Constructor and Description |
---|---|
protected |
NarrowingStackManipulation(int[] conversionOpcodes,
StackManipulation.Size size)
Creates a new narrowing stack manipulation.
|
Modifier and Type | Method and Description |
---|---|
StackManipulation.Size |
apply(MethodVisitor methodVisitor,
Implementation.Context context)
Applies the stack manipulation that is described by this instance.
|
isValid
protected NarrowingStackManipulation(int[] conversionOpcodes, StackManipulation.Size size)
conversionOpcodes
- The opcodes for executing the conversion.size
- The size change of applying the conversion.public StackManipulation.Size apply(MethodVisitor methodVisitor, Implementation.Context context)
methodVisitor
- The method visitor used to write the method implementation to.context
- The context of the current implementation.Copyright © 2014–2025. All rights reserved.