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, JavaConstantValue, LongConstant.ConstantPool, MethodCallProxy.AssignableSignatureCall, MethodConstant, MethodInvocation.DynamicInvocation, MethodInvocation.HandleInvocation, MethodInvocation.Invocation, MethodVariableAccess.MethodLoading, MethodVariableAccess.OffsetIncrementing, MethodVariableAccess.OffsetLoading, MethodVariableAccess.OffsetWriting, Morph.Binder.RedirectionProxy, Pipe.Binder.RedirectionProxy, 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.
  • Constructor Details

    • AbstractBase

      public AbstractBase()
  • Method Details

    • isValid

      public boolean isValid()
      Determines if this stack manipulation is valid.
      Specified by:
      isValid in interface StackManipulation
      Returns:
      If false, this manipulation cannot be applied and should throw an exception.