Class StackManipulation.AbstractBase
java.lang.Object
net.bytebuddy.implementation.bytecode.StackManipulation.AbstractBase
- All Implemented Interfaces:
StackManipulation
- Direct Known Subclasses:
AgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.LambdaMethodImplementation.Appender.Dispatcher.UsingMethodHandle, ArrayAccess.Loader, ArrayAccess.Putter, ArrayFactory.ArrayCreator.ForReferenceType, DoubleConstant.ConstantPool, EqualsMethod.ConditionalReturn, EqualsMethod.NullValueGuard.UsingJump.AfterInstruction, EqualsMethod.NullValueGuard.UsingJump.BeforeInstruction, FieldAccess.AccessDispatcher.AbstractFieldInstruction, FieldConstant, FieldProxy.Binder.AccessorProxy, FloatConstant.ConstantPool, HandleInvocation, HashCodeMethod.NullValueGuard.UsingJump.AfterInstruction, HashCodeMethod.NullValueGuard.UsingJump.BeforeInstruction, Implementation.SpecialMethodInvocation.AbstractBase, InstanceCheck, IntegerConstant.ConstantPool, IntegerConstant.SingleBytePush, IntegerConstant.TwoBytePush, Invokedynamic, JavaConstantValue, LongConstant.ConstantPool, MethodCallProxy.AssignableSignatureCall, MethodConstant, MethodInvocation.HandleInvocation, MethodInvocation.Invocation, MethodVariableAccess.MethodLoading, MethodVariableAccess.OffsetIncrementing, MethodVariableAccess.OffsetLoading, MethodVariableAccess.OffsetWriting, Morph.Binder.RedirectionProxy, Pipe.Binder.RedirectionProxy, PrimitiveNarrowingDelegate.NarrowingStackManipulation, PrimitiveWideningDelegate.WideningStackManipulation, SerializedConstant, StackManipulation.Simple, TextConstant, TypeCasting, TypeCreation, TypeProxy.ForDefaultMethod, TypeProxy.ForSuperMethodByConstructor, TypeProxy.ForSuperMethodByReflectionFactory
- Enclosing interface:
StackManipulation
public abstract static class StackManipulation.AbstractBase
extends Object
implements StackManipulation
An abstract base implementation of a valid stack manipulation.
-
Nested Class Summary
Nested classes/interfaces inherited from interface StackManipulation
StackManipulation.AbstractBase, StackManipulation.Compound, StackManipulation.Illegal, StackManipulation.Simple, StackManipulation.Size, StackManipulation.Trivial -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisValid()Determines if this stack manipulation is valid.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface StackManipulation
apply
-
Constructor Details
-
AbstractBase
public AbstractBase()
-
-
Method Details
-
isValid
public boolean isValid()Determines if this stack manipulation is valid.- Specified by:
isValidin interfaceStackManipulation- Returns:
- If
false, this manipulation cannot be applied and should throw an exception.
-