Uses of Interface
net.bytebuddy.implementation.bytecode.StackManipulation
-
Packages that use StackManipulation Package Description net.bytebuddy Byte Buddy is a library for creating Java classes at runtime of a Java program.net.bytebuddy.agent.builder An agent builder is used to easily implement load-time class-transformations using a Java agent.net.bytebuddy.asm The ASM package contains classes that are meant for direct interaction with the ASM API.net.bytebuddy.dynamic.scaffold.inline All classes and types in this package are related to creating aDynamicTypeby enhancing a given type.net.bytebuddy.implementation The implementation package contains any logic for intercepting method calls.net.bytebuddy.implementation.auxiliary Auxiliary types describe helper types that aid as a supplementary to a givenInstrumentedType.net.bytebuddy.implementation.bind The types and classes of this package are responsible for binding a method call to calling another method.net.bytebuddy.implementation.bind.annotation This package contains annotations, types and classes that are responsible for binding a method to calling another method by interpreting annotations that indicate how a method should be bound to another method.net.bytebuddy.implementation.bytecode Types and classes in this package are responsible for creating Java byte code for a given byte code target which is represented by aMethodDescription.net.bytebuddy.implementation.bytecode.assign AnAssigneris responsible for transforming a givenTypeDescriptioninto another one.net.bytebuddy.implementation.bytecode.assign.primitive Assignerimplementations of this package are capable of handling primitive types or thevoidtype.net.bytebuddy.implementation.bytecode.assign.reference Assignerimplementations of this package are capable of assigning non-primitive types to each other.net.bytebuddy.implementation.bytecode.collection This package is dedicated to creatingStackManipulations that create collections or arrays from a given number of values.net.bytebuddy.implementation.bytecode.constant StackManipulations in this package are responsible for creating compile-time constants and pushing them onto the operand stack.net.bytebuddy.implementation.bytecode.member StackManipulations of this package are responsible for accessing type or method members, i.e.net.bytebuddy.utility This package contains utility classes for common use within any Byte Buddy logic. -
-
Uses of StackManipulation in net.bytebuddy
Fields in net.bytebuddy declared as StackManipulation Modifier and Type Field Description private StackManipulationByteBuddy.RecordObjectMethod. stackManipulationThe stack manipulation to append to the arguments.Constructors in net.bytebuddy with parameters of type StackManipulation Constructor Description RecordObjectMethod(java.lang.String name, StackManipulation stackManipulation, java.lang.Class<?> returnType, java.lang.Class<?>... arguments)Creates a new object method instance for a Java record. -
Uses of StackManipulation in net.bytebuddy.agent.builder
Classes in net.bytebuddy.agent.builder that implement StackManipulation Modifier and Type Class Description static classAgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.LambdaMethodImplementation.Appender.Dispatcher.UsingMethodHandleAn invocation that is using an exact invocation of a method handle.Methods in net.bytebuddy.agent.builder that return StackManipulation Modifier and Type Method Description StackManipulationAgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.LambdaMethodImplementation.Appender.Dispatcher. initialize()Initializes this invocation.StackManipulationAgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.LambdaMethodImplementation.Appender.Dispatcher.UsingDirectInvocation. initialize()Initializes this invocation.StackManipulationAgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.LambdaMethodImplementation.Appender.Dispatcher.UsingMethodHandle. initialize()Initializes this invocation.StackManipulationAgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.LambdaMethodImplementation.Appender.Dispatcher. invoke(MethodDescription methodDescription)Invokes this invocation.StackManipulationAgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.LambdaMethodImplementation.Appender.Dispatcher.UsingDirectInvocation. invoke(MethodDescription methodDescription)Invokes this invocation.StackManipulationAgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.LambdaMethodImplementation.Appender.Dispatcher.UsingMethodHandle. invoke(MethodDescription methodDescription)Invokes this invocation. -
Uses of StackManipulation in net.bytebuddy.asm
Classes in net.bytebuddy.asm that implement StackManipulation Modifier and Type Class Description protected static classAdvice.AssignReturned.DefaultValueSkipA stack manipulation that applies a null-check on the returned value which indicates if an assignment should be skipped, if discovered.protected static classAdvice.AssignReturned.ExceptionHandlerAn exception handler to handle exceptions during assignment.Fields in net.bytebuddy.asm declared as StackManipulation Modifier and Type Field Description private StackManipulationAdvice.OffsetMapping.ForSerializedValue. deserializationThe stack manipulation deserializing the represented value.private StackManipulationAdvice.OffsetMapping.ForSerializedValue.Factory. deserializationThe stack manipulation that loads the represented value.private StackManipulationMemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForStackManipulation.OfSerializedConstant. deserializationA stack manipulation that represents the deserialization.private StackManipulationAdvice.AssignReturned.ExceptionHandler. exceptionHandlerThe exception handler to apply.private StackManipulationAdvice.Dispatcher.Delegating.Resolved.AdviceMethodWriter. exceptionHandlerThe exception handler that is resolved for the instrumented method.private StackManipulationAdvice.Dispatcher.Inlining.CodeTranslationVisitor. exceptionHandlerThe exception handler that is resolved for the instrumented method.protected StackManipulationAdvice.Dispatcher.Inlining.Resolved.AdviceMethodInliner. exceptionHandlerThe exception handler that is resolved for the instrumented method.private StackManipulationAdvice.Dispatcher.SuppressionHandler.Suppressing.Bound. exceptionHandlerThe stack manipulation to apply within a suppression handler.private StackManipulationAdvice.OffsetMapping.Target.ForStackManipulation.Writable. readThe reading stack manipulation.protected StackManipulationAdvice.OffsetMapping.Target.ForDefaultValue. readAssignmentA stack manipulation to apply after a read instruction.protected StackManipulationAdvice.OffsetMapping.Target.ForField. readAssignmentThe stack manipulation to apply upon a read.protected StackManipulationAdvice.OffsetMapping.Target.ForVariable. readAssignmentAn assignment to execute upon reading a value.private StackManipulationAdvice.AssignReturned.DefaultValueSkip. stackManipulationThe wrapped stack manipulation in case the value is not a default value.private StackManipulationAdvice.AssignReturned.ExceptionHandler. stackManipulationThe stack manipulation that represents the assignment.private StackManipulationAdvice.ExceptionHandler.Simple. stackManipulationThe stack manipulation to execute.private StackManipulationAdvice.OffsetMapping.ForStackManipulation.Factory. stackManipulationThe stack manipulation that loads the bound value.private StackManipulationAdvice.OffsetMapping.ForStackManipulation. stackManipulationThe stack manipulation that loads the bound value.private StackManipulationAdvice.OffsetMapping.Target.ForStackManipulation. stackManipulationThe represented stack manipulation.private StackManipulationMemberSubstitution.Substitution.Chain.Step.ForArgumentSubstitution.Factory. stackManipulationThe stack manipulation that loads the substituted argument.private StackManipulationMemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForStackManipulation.Factory. stackManipulationThe stack manipulation that produces the assigned value.private StackManipulationMemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForStackManipulation.Resolved. stackManipulationThe stack manipulation to apply.private StackManipulationMemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForStackManipulation. stackManipulationThe stack manipulation to apply.private StackManipulationMemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.Resolved.ForStackManipulation. stackManipulationThe stack manipulation to load.private StackManipulationMemberSubstitution.Substitution.Chain.Step.Simple. stackManipulationThe stack manipulation to apply.private StackManipulationMemberSubstitution.Substitution.ForValue. stackManipulationThe stack manipulation to load the value that represents the substitution.private StackManipulationMemberSubstitution.Substitution.Chain.Step.ForArgumentSubstitution. substitutionThe stack manipulation that loads the substituted argument.private StackManipulationAdvice.OffsetMapping.Target.ForStackManipulation.Writable. writeThe writing stack manipulation.private StackManipulationAdvice.OffsetMapping.Target.ForField.ReadWrite. writeAssignmentAn assignment to apply prior to a field write.private StackManipulationAdvice.OffsetMapping.Target.ForField.WriteOnly. writeAssignmentAn assignment to apply prior to a field write.private StackManipulationAdvice.OffsetMapping.Target.ForVariable.ReadWrite. writeAssignmentA stack manipulation to apply upon a write to the variable.Fields in net.bytebuddy.asm with type parameters of type StackManipulation Modifier and Type Field Description protected java.util.List<? extends StackManipulation>Advice.OffsetMapping.Target.ForArray. valueReadsThe stack manipulations to apply upon reading a variable array.private java.util.List<? extends StackManipulation>Advice.OffsetMapping.Target.ForArray.ReadWrite. valueWritesThe stack manipulations to apply upon writing to a variable array.Methods in net.bytebuddy.asm that return StackManipulation Modifier and Type Method Description StackManipulationAdvice.Delegator. apply(TypeDescription instrumentedType, MethodDescription instrumentedMethod)Materializes an invocation.StackManipulationAdvice.Delegator.ForDynamicInvocation. apply(TypeDescription instrumentedType, MethodDescription instrumentedMethod)Materializes an invocation.StackManipulationAdvice.Delegator.ForRegularInvocation. apply(TypeDescription instrumentedType, MethodDescription instrumentedMethod)Materializes an invocation.StackManipulationMemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher.ForDynamicInvocation.Resolved. apply(MemberSubstitution.Target target, JavaConstant.MethodHandle methodHandle)Creates a stack manipulation for a given substitution target.StackManipulationMemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher.ForRegularInvocation. apply(MemberSubstitution.Target target, JavaConstant.MethodHandle methodHandle)Creates a stack manipulation for a given substitution target.StackManipulationMemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher.Resolved. apply(MemberSubstitution.Target target, JavaConstant.MethodHandle methodHandle)Creates a stack manipulation for a given substitution target.StackManipulationMemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForAllArguments.Resolved. apply(MemberSubstitution.Target target, TypeList.Generic parameters, TypeDescription.Generic result, TypeDescription.Generic current, JavaConstant.MethodHandle methodHandle, java.util.Map<java.lang.Integer,java.lang.Integer> offsets, int offset)Applies this offset mapping.StackManipulationMemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForArgument.Resolved. apply(MemberSubstitution.Target target, TypeList.Generic parameters, TypeDescription.Generic result, TypeDescription.Generic current, JavaConstant.MethodHandle methodHandle, java.util.Map<java.lang.Integer,java.lang.Integer> offsets, int offset)Applies this offset mapping.StackManipulationMemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForCurrent.Resolved. apply(MemberSubstitution.Target target, TypeList.Generic parameters, TypeDescription.Generic result, TypeDescription.Generic current, JavaConstant.MethodHandle methodHandle, java.util.Map<java.lang.Integer,java.lang.Integer> offsets, int offset)Applies this offset mapping.StackManipulationMemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForOrigin.Resolved. apply(MemberSubstitution.Target target, TypeList.Generic parameters, TypeDescription.Generic result, TypeDescription.Generic current, JavaConstant.MethodHandle methodHandle, java.util.Map<java.lang.Integer,java.lang.Integer> offsets, int offset)Applies this offset mapping.StackManipulationMemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForSelfCallHandle.Bound. apply(MemberSubstitution.Target target, TypeList.Generic parameters, TypeDescription.Generic result, TypeDescription.Generic current, JavaConstant.MethodHandle methodHandle, java.util.Map<java.lang.Integer,java.lang.Integer> offsets, int offset)Applies this offset mapping.StackManipulationMemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForSelfCallHandle.Unbound. apply(MemberSubstitution.Target target, TypeList.Generic parameters, TypeDescription.Generic result, TypeDescription.Generic current, JavaConstant.MethodHandle methodHandle, java.util.Map<java.lang.Integer,java.lang.Integer> offsets, int offset)Applies this offset mapping.StackManipulationMemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForStackManipulation.Resolved. apply(MemberSubstitution.Target target, TypeList.Generic parameters, TypeDescription.Generic result, TypeDescription.Generic current, JavaConstant.MethodHandle methodHandle, java.util.Map<java.lang.Integer,java.lang.Integer> offsets, int offset)Applies this offset mapping.StackManipulationMemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForStubValue.Resolved. apply(MemberSubstitution.Target target, TypeList.Generic parameters, TypeDescription.Generic result, TypeDescription.Generic current, JavaConstant.MethodHandle methodHandle, java.util.Map<java.lang.Integer,java.lang.Integer> offsets, int offset)Applies this offset mapping.StackManipulationMemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForThisReference.Resolved. apply(MemberSubstitution.Target target, TypeList.Generic parameters, TypeDescription.Generic result, TypeDescription.Generic current, JavaConstant.MethodHandle methodHandle, java.util.Map<java.lang.Integer,java.lang.Integer> offsets, int offset)Applies this offset mapping.StackManipulationMemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.Resolved. apply(MemberSubstitution.Target target, TypeList.Generic parameters, TypeDescription.Generic result, TypeDescription.Generic current, JavaConstant.MethodHandle methodHandle, java.util.Map<java.lang.Integer,java.lang.Integer> offsets, int offset)Applies this offset mapping.StackManipulationMemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.Resolved.ForStackManipulation. apply(MemberSubstitution.Target target, TypeList.Generic parameters, TypeDescription.Generic result, TypeDescription.Generic current, JavaConstant.MethodHandle methodHandle, java.util.Map<java.lang.Integer,java.lang.Integer> offsets, int offset)Applies this offset mapping.protected abstract StackManipulationAdvice.OffsetMapping.ForSelfCallHandle. decorate(MethodDescription methodDescription, StackManipulation stackManipulation)Resolves a stack manipulation.StackManipulationMemberSubstitution.Substitution.Chain.Step.Resolution. getStackManipulation()Returns the stack manipulation to apply the substitution.StackManipulationMemberSubstitution.Substitution.Chain.Step.Simple. getStackManipulation()Returns the stack manipulation to apply the substitution.StackManipulationMemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher.ForDynamicInvocation.Resolved. initialize()StackManipulationMemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher.ForRegularInvocation. initialize()StackManipulationMemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher.Resolved. initialize()StackManipulationMemberSubstitution.Replacement.Binding.ForDynamicInvocation. make(TypeList.Generic parameters, TypeDescription.Generic result, JavaConstant.MethodHandle methodHandle, StackManipulation stackManipulation, int freeOffset)Creates a stack manipulation that represents the substitution.StackManipulationMemberSubstitution.Replacement.Binding.ForMember. make(TypeList.Generic parameters, TypeDescription.Generic result, JavaConstant.MethodHandle methodHandle, StackManipulation stackManipulation, int freeOffset)Creates a stack manipulation that represents the substitution.StackManipulationMemberSubstitution.Replacement.Binding. make(TypeList.Generic parameters, TypeDescription.Generic result, JavaConstant.MethodHandle methodHandle, StackManipulation stackManipulation, int freeOffset)Creates a stack manipulation that represents the substitution.StackManipulationMemberSubstitution.Replacement.Binding.Unresolved. make(TypeList.Generic parameters, TypeDescription.Generic result, JavaConstant.MethodHandle methodHandle, StackManipulation stackManipulation, int freeOffset)Creates a stack manipulation that represents the substitution.protected static StackManipulationAdvice.AssignReturned.DefaultValueSkip. of(StackManipulation stackManipulation, Advice.StackMapFrameHandler.ForPostProcessor stackMapFrameHandler, int offset, TypeDefinition typeDefinition)Resolves a skipping stack manipulation for the supplied type.StackManipulationAdvice.AssignReturned.Handler. resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, TypeDescription type, StackManipulation value)Resolves this handler.StackManipulationAdvice.AssignReturned. resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, Advice.StackMapFrameHandler.ForPostProcessor stackMapFrameHandler, StackManipulation exceptionHandler)Resolves this post processor for a given instrumented method.StackManipulationAdvice.AssignReturned.ToAllArguments.Handler. resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, TypeDescription type, StackManipulation value)Resolves this handler.StackManipulationAdvice.AssignReturned.ToArguments.Handler. resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, TypeDescription type, StackManipulation value)Resolves this handler.StackManipulationAdvice.AssignReturned.ToFields.Handler. resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, TypeDescription type, StackManipulation value)Resolves this handler.StackManipulationAdvice.AssignReturned.ToReturned.Handler. resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, TypeDescription type, StackManipulation value)Resolves this handler.StackManipulationAdvice.AssignReturned.ToThis.Handler. resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, TypeDescription type, StackManipulation value)Resolves this handler.StackManipulationAdvice.AssignReturned.ToThrown.Handler. resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, TypeDescription type, StackManipulation value)Resolves this handler.StackManipulationAdvice.ExceptionHandler. resolve(MethodDescription instrumentedMethod, TypeDescription instrumentedType)Resolves a stack manipulation to apply.StackManipulationAdvice.ExceptionHandler.Simple. resolve(MethodDescription instrumentedMethod, TypeDescription instrumentedType)Resolves a stack manipulation to apply.StackManipulationAdvice.PostProcessor.Compound. resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, Advice.StackMapFrameHandler.ForPostProcessor stackMapFrameHandler, StackManipulation exceptionHandler)Resolves this post processor for a given instrumented method.StackManipulationAdvice.PostProcessor.NoOp. resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, Advice.StackMapFrameHandler.ForPostProcessor stackMapFrameHandler, StackManipulation exceptionHandler)Resolves this post processor for a given instrumented method.StackManipulationAdvice.PostProcessor. resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, Advice.StackMapFrameHandler.ForPostProcessor stackMapFrameHandler, StackManipulation exceptionHandler)Resolves this post processor for a given instrumented method.protected abstract StackManipulationMemberSubstitution.Source. resolve(MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForOrigin.Sort sort, MemberSubstitution.Target target, TypeList.Generic parameters, TypeDescription.Generic result, MethodDescription instrumentedMethod)Resolves a stack manipulation that loads the supplied sort of origin onto the operand stack.StackManipulationMemberSubstitution.Substitution.Chain. resolve(S target, TypeList.Generic parameters, TypeDescription.Generic result, JavaConstant.MethodHandle methodHandle, StackManipulation stackManipulation, int freeOffset)Resolves this substitution into a stack manipulation.protected abstract StackManipulationMemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForOrigin.Sort. resolve(ByteCodeElement.Member member, java.util.List<TypeDescription> parameterTypes, TypeDescription returnType)Creates a stack manipulation for the supplied byte code element.StackManipulationMemberSubstitution.Substitution.ForFieldAccess. resolve(MemberSubstitution.Target target, TypeList.Generic parameters, TypeDescription.Generic result, JavaConstant.MethodHandle methodHandle, StackManipulation stackManipulation, int freeOffset)Resolves this substitution into a stack manipulation.StackManipulationMemberSubstitution.Substitution.ForMethodInvocation. resolve(MemberSubstitution.Target target, TypeList.Generic parameters, TypeDescription.Generic result, JavaConstant.MethodHandle methodHandle, StackManipulation stackManipulation, int freeOffset)Resolves this substitution into a stack manipulation.StackManipulationMemberSubstitution.Substitution.ForValue. resolve(MemberSubstitution.Target target, TypeList.Generic parameters, TypeDescription.Generic result, JavaConstant.MethodHandle methodHandle, StackManipulation stackManipulation, int freeOffset)Resolves this substitution into a stack manipulation.StackManipulationMemberSubstitution.Substitution. resolve(T target, TypeList.Generic parameters, TypeDescription.Generic result, JavaConstant.MethodHandle methodHandle, StackManipulation stackManipulation, int freeOffset)Resolves this substitution into a stack manipulation.StackManipulationMemberSubstitution.Substitution.Stubbing. resolve(MemberSubstitution.Target target, TypeList.Generic parameters, TypeDescription.Generic result, JavaConstant.MethodHandle methodHandle, StackManipulation stackManipulation, int freeOffset)Resolves this substitution into a stack manipulation.StackManipulationAdvice.OffsetMapping.Target.AbstractReadOnlyAdapter. resolveIncrement(int value)Resolves an increment instruction.StackManipulationAdvice.OffsetMapping.Target.ForArray. resolveIncrement(int value)Resolves an increment instruction.StackManipulationAdvice.OffsetMapping.Target.ForDefaultValue.ReadOnly. resolveIncrement(int value)Resolves an increment instruction.StackManipulationAdvice.OffsetMapping.Target.ForDefaultValue.ReadWrite. resolveIncrement(int value)Resolves an increment instruction.StackManipulationAdvice.OffsetMapping.Target.ForField.ReadOnly. resolveIncrement(int value)Resolves an increment instruction.StackManipulationAdvice.OffsetMapping.Target.ForField.ReadWrite. resolveIncrement(int value)Resolves an increment instruction.StackManipulationAdvice.OffsetMapping.Target.ForField.WriteOnly. resolveIncrement(int value)Resolves an increment instruction.StackManipulationAdvice.OffsetMapping.Target.ForStackManipulation. resolveIncrement(int value)Resolves an increment instruction.StackManipulationAdvice.OffsetMapping.Target.ForStackManipulation.Writable. resolveIncrement(int value)Resolves an increment instruction.StackManipulationAdvice.OffsetMapping.Target.ForVariable.ReadOnly. resolveIncrement(int value)Resolves an increment instruction.StackManipulationAdvice.OffsetMapping.Target.ForVariable.ReadWrite. resolveIncrement(int value)Resolves an increment instruction.StackManipulationAdvice.OffsetMapping.Target. resolveIncrement(int value)Resolves an increment instruction.StackManipulationAdvice.OffsetMapping.Target.ForArray. resolveRead()Resolves a read instruction.StackManipulationAdvice.OffsetMapping.Target.ForDefaultValue. resolveRead()Resolves a read instruction.StackManipulationAdvice.OffsetMapping.Target.ForField. resolveRead()Resolves a read instruction.StackManipulationAdvice.OffsetMapping.Target.ForField.WriteOnly. resolveRead()Resolves a read instruction.StackManipulationAdvice.OffsetMapping.Target.ForStackManipulation. resolveRead()Resolves a read instruction.StackManipulationAdvice.OffsetMapping.Target.ForStackManipulation.Writable. resolveRead()Resolves a read instruction.StackManipulationAdvice.OffsetMapping.Target.ForVariable. resolveRead()Resolves a read instruction.StackManipulationAdvice.OffsetMapping.Target. resolveRead()Resolves a read instruction.StackManipulationAdvice.OffsetMapping.Target.AbstractReadOnlyAdapter. resolveWrite()Resolves a write instruction.StackManipulationAdvice.OffsetMapping.Target.ForArray.ReadOnly. resolveWrite()Resolves a write instruction.StackManipulationAdvice.OffsetMapping.Target.ForArray.ReadWrite. resolveWrite()Resolves a write instruction.StackManipulationAdvice.OffsetMapping.Target.ForDefaultValue.ReadOnly. resolveWrite()Resolves a write instruction.StackManipulationAdvice.OffsetMapping.Target.ForDefaultValue.ReadWrite. resolveWrite()Resolves a write instruction.StackManipulationAdvice.OffsetMapping.Target.ForField.ReadOnly. resolveWrite()Resolves a write instruction.StackManipulationAdvice.OffsetMapping.Target.ForField.ReadWrite. resolveWrite()Resolves a write instruction.StackManipulationAdvice.OffsetMapping.Target.ForField.WriteOnly. resolveWrite()Resolves a write instruction.StackManipulationAdvice.OffsetMapping.Target.ForStackManipulation. resolveWrite()Resolves a write instruction.StackManipulationAdvice.OffsetMapping.Target.ForStackManipulation.Writable. resolveWrite()Resolves a write instruction.StackManipulationAdvice.OffsetMapping.Target.ForVariable.ReadOnly. resolveWrite()Resolves a write instruction.StackManipulationAdvice.OffsetMapping.Target.ForVariable.ReadWrite. resolveWrite()Resolves a write instruction.StackManipulationAdvice.OffsetMapping.Target. resolveWrite()Resolves a write instruction.protected StackManipulationAdvice.AssignReturned.ForArray. toLoadInstruction(Advice.AssignReturned.Handler handler, int offset)protected StackManipulationAdvice.AssignReturned.ForScalar. toLoadInstruction(Advice.AssignReturned.Handler handler, int offset)protected abstract StackManipulationAdvice.AssignReturned. toLoadInstruction(Advice.AssignReturned.Handler handler, int offset)Creates a load instruction for the given handler.StackManipulationAdvice.AssignReturned.ExceptionHandler.Factory.Enabled. wrap(StackManipulation stackManipulation, StackManipulation exceptionHandler, Advice.StackMapFrameHandler.ForPostProcessor stackMapFrameHandler)Wraps the supplied stack manipulation.StackManipulationAdvice.AssignReturned.ExceptionHandler.Factory.NoOp. wrap(StackManipulation stackManipulation, StackManipulation exceptionHandler, Advice.StackMapFrameHandler.ForPostProcessor stackMapFrameHandler)Wraps the supplied stack manipulation.StackManipulationAdvice.AssignReturned.ExceptionHandler.Factory. wrap(StackManipulation stackManipulation, StackManipulation exceptionHandler, Advice.StackMapFrameHandler.ForPostProcessor stackMapFrameHandler)Wraps the supplied stack manipulation.Methods in net.bytebuddy.asm with parameters of type StackManipulation Modifier and Type Method Description protected abstract org.objectweb.asm.MethodVisitorAdvice.Dispatcher.Inlining.Resolved. apply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Assigner assigner, Advice.ArgumentHandler.ForInstrumentedMethod argumentHandler, Advice.MethodSizeHandler.ForInstrumentedMethod methodSizeHandler, Advice.StackMapFrameHandler.ForInstrumentedMethod stackMapFrameHandler, TypeDescription instrumentedType, MethodDescription instrumentedMethod, Advice.Dispatcher.SuppressionHandler.Bound suppressionHandler, Advice.Dispatcher.RelocationHandler.Bound relocationHandler, StackManipulation exceptionHandler)Applies a resolution for a given instrumented method.protected org.objectweb.asm.MethodVisitorAdvice.Dispatcher.Inlining.Resolved.ForMethodEnter. apply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Assigner assigner, Advice.ArgumentHandler.ForInstrumentedMethod argumentHandler, Advice.MethodSizeHandler.ForInstrumentedMethod methodSizeHandler, Advice.StackMapFrameHandler.ForInstrumentedMethod stackMapFrameHandler, TypeDescription instrumentedType, MethodDescription instrumentedMethod, Advice.Dispatcher.SuppressionHandler.Bound suppressionHandler, Advice.Dispatcher.RelocationHandler.Bound relocationHandler, StackManipulation exceptionHandler)protected org.objectweb.asm.MethodVisitorAdvice.Dispatcher.Inlining.Resolved.ForMethodExit. apply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Assigner assigner, Advice.ArgumentHandler.ForInstrumentedMethod argumentHandler, Advice.MethodSizeHandler.ForInstrumentedMethod methodSizeHandler, Advice.StackMapFrameHandler.ForInstrumentedMethod stackMapFrameHandler, TypeDescription instrumentedType, MethodDescription instrumentedMethod, Advice.Dispatcher.SuppressionHandler.Bound suppressionHandler, Advice.Dispatcher.RelocationHandler.Bound relocationHandler, StackManipulation exceptionHandler)Advice.Dispatcher.BoundAdvice.Dispatcher.Delegating.Resolved. bind(TypeDescription instrumentedType, MethodDescription instrumentedMethod, org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Assigner assigner, Advice.ArgumentHandler.ForInstrumentedMethod argumentHandler, Advice.MethodSizeHandler.ForInstrumentedMethod methodSizeHandler, Advice.StackMapFrameHandler.ForInstrumentedMethod stackMapFrameHandler, StackManipulation exceptionHandler, Advice.Dispatcher.RelocationHandler.Relocation relocation)Binds this dispatcher for resolution to a specific method.Advice.Dispatcher.BoundAdvice.Dispatcher.Inactive. bind(TypeDescription instrumentedType, MethodDescription instrumentedMethod, org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Assigner assigner, Advice.ArgumentHandler.ForInstrumentedMethod argumentHandler, Advice.MethodSizeHandler.ForInstrumentedMethod methodSizeHandler, Advice.StackMapFrameHandler.ForInstrumentedMethod stackMapFrameHandler, StackManipulation exceptionHandler, Advice.Dispatcher.RelocationHandler.Relocation relocation)Binds this dispatcher for resolution to a specific method.Advice.Dispatcher.BoundAdvice.Dispatcher.Inlining.Resolved.ForMethodEnter. bind(TypeDescription instrumentedType, MethodDescription instrumentedMethod, org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Assigner assigner, Advice.ArgumentHandler.ForInstrumentedMethod argumentHandler, Advice.MethodSizeHandler.ForInstrumentedMethod methodSizeHandler, Advice.StackMapFrameHandler.ForInstrumentedMethod stackMapFrameHandler, StackManipulation exceptionHandler, Advice.Dispatcher.RelocationHandler.Relocation relocation)Binds this dispatcher for resolution to a specific method.Advice.Dispatcher.BoundAdvice.Dispatcher.Inlining.Resolved.ForMethodExit. bind(TypeDescription instrumentedType, MethodDescription instrumentedMethod, org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Assigner assigner, Advice.ArgumentHandler.ForInstrumentedMethod argumentHandler, Advice.MethodSizeHandler.ForInstrumentedMethod methodSizeHandler, Advice.StackMapFrameHandler.ForInstrumentedMethod stackMapFrameHandler, StackManipulation exceptionHandler, Advice.Dispatcher.RelocationHandler.Relocation relocation)Binds this dispatcher for resolution to a specific method.Advice.Dispatcher.BoundAdvice.Dispatcher.Resolved. bind(TypeDescription instrumentedType, MethodDescription instrumentedMethod, org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Assigner assigner, Advice.ArgumentHandler.ForInstrumentedMethod argumentHandler, Advice.MethodSizeHandler.ForInstrumentedMethod methodSizeHandler, Advice.StackMapFrameHandler.ForInstrumentedMethod stackMapFrameHandler, StackManipulation exceptionHandler, Advice.Dispatcher.RelocationHandler.Relocation relocation)Binds this dispatcher for resolution to a specific method.Advice.Dispatcher.SuppressionHandler.BoundAdvice.Dispatcher.SuppressionHandler. bind(StackManipulation exceptionHandler)Binds the suppression handler for instrumenting a specific method.Advice.Dispatcher.SuppressionHandler.BoundAdvice.Dispatcher.SuppressionHandler.NoOp. bind(StackManipulation exceptionHandler)Binds the suppression handler for instrumenting a specific method.Advice.Dispatcher.SuppressionHandler.BoundAdvice.Dispatcher.SuppressionHandler.Suppressing. bind(StackManipulation exceptionHandler)Binds the suppression handler for instrumenting a specific method.<T extends java.lang.annotation.Annotation>
Advice.WithCustomMappingAdvice.WithCustomMapping. bind(java.lang.Class<T> type, StackManipulation stackManipulation, java.lang.reflect.Type targetType)Binds the supplied annotation to the annotation's property of the specified name.<T extends java.lang.annotation.Annotation>
Advice.WithCustomMappingAdvice.WithCustomMapping. bind(java.lang.Class<T> type, StackManipulation stackManipulation, TypeDescription.Generic targetType)Binds the supplied annotation to the annotation's property of the specified name.<T extends java.lang.annotation.Annotation>
MemberSubstitution.Substitution.Chain.Step.ForDelegation.WithCustomMappingMemberSubstitution.Substitution.Chain.Step.ForDelegation.WithCustomMapping. bind(java.lang.Class<T> type, StackManipulation stackManipulation, java.lang.reflect.Type targetType)Binds the supplied annotation to the annotation's property of the specified name.<T extends java.lang.annotation.Annotation>
MemberSubstitution.Substitution.Chain.Step.ForDelegation.WithCustomMappingMemberSubstitution.Substitution.Chain.Step.ForDelegation.WithCustomMapping. bind(java.lang.Class<T> type, StackManipulation stackManipulation, TypeDescription.Generic targetType)Binds the supplied annotation to the annotation's property of the specified name.protected abstract StackManipulationAdvice.OffsetMapping.ForSelfCallHandle. decorate(MethodDescription methodDescription, StackManipulation stackManipulation)Resolves a stack manipulation.protected org.objectweb.asm.MethodVisitorAdvice.Dispatcher.Inlining.Resolved.ForMethodEnter. doApply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Assigner assigner, Advice.ArgumentHandler.ForAdvice argumentHandler, Advice.MethodSizeHandler.ForAdvice methodSizeHandler, Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler, TypeDescription instrumentedType, MethodDescription instrumentedMethod, Advice.Dispatcher.SuppressionHandler.Bound suppressionHandler, Advice.Dispatcher.RelocationHandler.Bound relocationHandler, StackManipulation exceptionHandler)Applies a resolution for a given instrumented method.protected org.objectweb.asm.MethodVisitorAdvice.Dispatcher.Inlining.Resolved.ForMethodEnter.WithDiscardedEnterType. doApply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Assigner assigner, Advice.ArgumentHandler.ForAdvice argumentHandler, Advice.MethodSizeHandler.ForAdvice methodSizeHandler, Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler, TypeDescription instrumentedType, MethodDescription instrumentedMethod, Advice.Dispatcher.SuppressionHandler.Bound suppressionHandler, Advice.Dispatcher.RelocationHandler.Bound relocationHandler, StackManipulation exceptionHandler)Applies a resolution for a given instrumented method.private org.objectweb.asm.MethodVisitorAdvice.Dispatcher.Inlining.Resolved.ForMethodExit. doApply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Assigner assigner, Advice.ArgumentHandler.ForAdvice argumentHandler, Advice.MethodSizeHandler.ForAdvice methodSizeHandler, Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler, TypeDescription instrumentedType, MethodDescription instrumentedMethod, Advice.Dispatcher.SuppressionHandler.Bound suppressionHandler, Advice.Dispatcher.RelocationHandler.Bound relocationHandler, StackManipulation exceptionHandler)Applies a resolution for a given instrumented method.protected Advice.Dispatcher.BoundAdvice.Dispatcher.Delegating.Resolved.ForMethodEnter. doResolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Assigner assigner, Advice.ArgumentHandler.ForAdvice argumentHandler, Advice.MethodSizeHandler.ForAdvice methodSizeHandler, Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler, Advice.Dispatcher.SuppressionHandler.Bound suppressionHandler, Advice.Dispatcher.RelocationHandler.Bound relocationHandler, StackManipulation exceptionHandler)Binds this dispatcher for resolution to a specific method.protected Advice.Dispatcher.BoundAdvice.Dispatcher.Delegating.Resolved.ForMethodEnter.WithDiscardedEnterType. doResolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Assigner assigner, Advice.ArgumentHandler.ForAdvice argumentHandler, Advice.MethodSizeHandler.ForAdvice methodSizeHandler, Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler, Advice.Dispatcher.SuppressionHandler.Bound suppressionHandler, Advice.Dispatcher.RelocationHandler.Bound relocationHandler, StackManipulation exceptionHandler)Binds this dispatcher for resolution to a specific method.private Advice.Dispatcher.BoundAdvice.Dispatcher.Delegating.Resolved.ForMethodExit. doResolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Assigner assigner, Advice.ArgumentHandler.ForAdvice argumentHandler, Advice.MethodSizeHandler.ForAdvice methodSizeHandler, Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler, Advice.Dispatcher.SuppressionHandler.Bound suppressionHandler, Advice.Dispatcher.RelocationHandler.Bound relocationHandler, StackManipulation exceptionHandler)Binds this dispatcher for resolution to a specific method.protected abstract MemberSubstitution.Substitution.Chain.Step.ResolutionMemberSubstitution.Substitution.Chain.Step.ForField. doResolve(MemberSubstitution.Target target, TypeList.Generic parameters, java.util.Map<java.lang.Integer,java.lang.Integer> offsets, StackManipulation stackManipulation)Completes the resolution.protected MemberSubstitution.Substitution.Chain.Step.ResolutionMemberSubstitution.Substitution.Chain.Step.ForField.Read. doResolve(MemberSubstitution.Target target, TypeList.Generic parameters, java.util.Map<java.lang.Integer,java.lang.Integer> offsets, StackManipulation stackManipulation)Completes the resolution.protected MemberSubstitution.Substitution.Chain.Step.ResolutionMemberSubstitution.Substitution.Chain.Step.ForField.Write. doResolve(MemberSubstitution.Target target, TypeList.Generic parameters, java.util.Map<java.lang.Integer,java.lang.Integer> offsets, StackManipulation stackManipulation)Completes the resolution.StackManipulationMemberSubstitution.Replacement.Binding.ForDynamicInvocation. make(TypeList.Generic parameters, TypeDescription.Generic result, JavaConstant.MethodHandle methodHandle, StackManipulation stackManipulation, int freeOffset)Creates a stack manipulation that represents the substitution.StackManipulationMemberSubstitution.Replacement.Binding.ForMember. make(TypeList.Generic parameters, TypeDescription.Generic result, JavaConstant.MethodHandle methodHandle, StackManipulation stackManipulation, int freeOffset)Creates a stack manipulation that represents the substitution.StackManipulationMemberSubstitution.Replacement.Binding. make(TypeList.Generic parameters, TypeDescription.Generic result, JavaConstant.MethodHandle methodHandle, StackManipulation stackManipulation, int freeOffset)Creates a stack manipulation that represents the substitution.StackManipulationMemberSubstitution.Replacement.Binding.Unresolved. make(TypeList.Generic parameters, TypeDescription.Generic result, JavaConstant.MethodHandle methodHandle, StackManipulation stackManipulation, int freeOffset)Creates a stack manipulation that represents the substitution.protected static StackManipulationAdvice.AssignReturned.DefaultValueSkip. of(StackManipulation stackManipulation, Advice.StackMapFrameHandler.ForPostProcessor stackMapFrameHandler, int offset, TypeDefinition typeDefinition)Resolves a skipping stack manipulation for the supplied type.StackManipulationAdvice.AssignReturned.Handler. resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, TypeDescription type, StackManipulation value)Resolves this handler.StackManipulationAdvice.AssignReturned. resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, Advice.StackMapFrameHandler.ForPostProcessor stackMapFrameHandler, StackManipulation exceptionHandler)Resolves this post processor for a given instrumented method.StackManipulationAdvice.AssignReturned.ToAllArguments.Handler. resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, TypeDescription type, StackManipulation value)Resolves this handler.StackManipulationAdvice.AssignReturned.ToArguments.Handler. resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, TypeDescription type, StackManipulation value)Resolves this handler.StackManipulationAdvice.AssignReturned.ToFields.Handler. resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, TypeDescription type, StackManipulation value)Resolves this handler.StackManipulationAdvice.AssignReturned.ToReturned.Handler. resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, TypeDescription type, StackManipulation value)Resolves this handler.StackManipulationAdvice.AssignReturned.ToThis.Handler. resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, TypeDescription type, StackManipulation value)Resolves this handler.StackManipulationAdvice.AssignReturned.ToThrown.Handler. resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, TypeDescription type, StackManipulation value)Resolves this handler.protected Advice.Dispatcher.BoundAdvice.Dispatcher.Delegating.Resolved.ForMethodEnter. resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Assigner assigner, Advice.ArgumentHandler.ForInstrumentedMethod argumentHandler, Advice.MethodSizeHandler.ForInstrumentedMethod methodSizeHandler, Advice.StackMapFrameHandler.ForInstrumentedMethod stackMapFrameHandler, StackManipulation exceptionHandler, Advice.Dispatcher.RelocationHandler.Relocation relocation)protected Advice.Dispatcher.BoundAdvice.Dispatcher.Delegating.Resolved.ForMethodExit. resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Assigner assigner, Advice.ArgumentHandler.ForInstrumentedMethod argumentHandler, Advice.MethodSizeHandler.ForInstrumentedMethod methodSizeHandler, Advice.StackMapFrameHandler.ForInstrumentedMethod stackMapFrameHandler, StackManipulation exceptionHandler, Advice.Dispatcher.RelocationHandler.Relocation relocation)protected abstract Advice.Dispatcher.BoundAdvice.Dispatcher.Delegating.Resolved. resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Assigner assigner, Advice.ArgumentHandler.ForInstrumentedMethod argumentHandler, Advice.MethodSizeHandler.ForInstrumentedMethod methodSizeHandler, Advice.StackMapFrameHandler.ForInstrumentedMethod stackMapFrameHandler, StackManipulation exceptionHandler, Advice.Dispatcher.RelocationHandler.Relocation relocation)Binds this dispatcher for resolution to a specific method.StackManipulationAdvice.PostProcessor.Compound. resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, Advice.StackMapFrameHandler.ForPostProcessor stackMapFrameHandler, StackManipulation exceptionHandler)Resolves this post processor for a given instrumented method.StackManipulationAdvice.PostProcessor.NoOp. resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, Advice.StackMapFrameHandler.ForPostProcessor stackMapFrameHandler, StackManipulation exceptionHandler)Resolves this post processor for a given instrumented method.StackManipulationAdvice.PostProcessor. resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, Advice.StackMapFrameHandler.ForPostProcessor stackMapFrameHandler, StackManipulation exceptionHandler)Resolves this post processor for a given instrumented method.StackManipulationMemberSubstitution.Substitution.Chain. resolve(S target, TypeList.Generic parameters, TypeDescription.Generic result, JavaConstant.MethodHandle methodHandle, StackManipulation stackManipulation, int freeOffset)Resolves this substitution into a stack manipulation.MemberSubstitution.Substitution.Chain.Step.ResolutionMemberSubstitution.Substitution.Chain.Step.ForArgumentLoading. resolve(MemberSubstitution.Target target, TypeList.Generic parameters, TypeDescription.Generic result, JavaConstant.MethodHandle methodHandle, StackManipulation stackManipulation, TypeDescription.Generic current, java.util.Map<java.lang.Integer,java.lang.Integer> offsets, int freeOffset)Resolves this step of a substitution chain.MemberSubstitution.Substitution.Chain.Step.ResolutionMemberSubstitution.Substitution.Chain.Step.ForArgumentSubstitution. resolve(MemberSubstitution.Target target, TypeList.Generic parameters, TypeDescription.Generic result, JavaConstant.MethodHandle methodHandle, StackManipulation stackManipulation, TypeDescription.Generic current, java.util.Map<java.lang.Integer,java.lang.Integer> offsets, int freeOffset)Resolves this step of a substitution chain.MemberSubstitution.Substitution.Chain.Step.ResolutionMemberSubstitution.Substitution.Chain.Step.ForAssignment. resolve(MemberSubstitution.Target target, TypeList.Generic parameters, TypeDescription.Generic result, JavaConstant.MethodHandle methodHandle, StackManipulation stackManipulation, TypeDescription.Generic current, java.util.Map<java.lang.Integer,java.lang.Integer> offsets, int freeOffset)Resolves this step of a substitution chain.MemberSubstitution.Substitution.Chain.Step.ResolutionMemberSubstitution.Substitution.Chain.Step.ForDelegation. resolve(MemberSubstitution.Target target, TypeList.Generic parameters, TypeDescription.Generic result, JavaConstant.MethodHandle methodHandle, StackManipulation stackManipulation, TypeDescription.Generic current, java.util.Map<java.lang.Integer,java.lang.Integer> offsets, int freeOffset)Resolves this step of a substitution chain.MemberSubstitution.Substitution.Chain.Step.ResolutionMemberSubstitution.Substitution.Chain.Step.ForField. resolve(MemberSubstitution.Target target, TypeList.Generic parameters, TypeDescription.Generic result, JavaConstant.MethodHandle methodHandle, StackManipulation stackManipulation, TypeDescription.Generic current, java.util.Map<java.lang.Integer,java.lang.Integer> offsets, int freeOffset)Resolves this step of a substitution chain.MemberSubstitution.Substitution.Chain.Step.ResolutionMemberSubstitution.Substitution.Chain.Step.ForInvocation. resolve(MemberSubstitution.Target target, TypeList.Generic parameters, TypeDescription.Generic result, JavaConstant.MethodHandle methodHandle, StackManipulation stackManipulation, TypeDescription.Generic current, java.util.Map<java.lang.Integer,java.lang.Integer> offsets, int freeOffset)Resolves this step of a substitution chain.MemberSubstitution.Substitution.Chain.Step.ResolutionMemberSubstitution.Substitution.Chain.Step.OfOriginalExpression. resolve(MemberSubstitution.Target target, TypeList.Generic parameters, TypeDescription.Generic result, JavaConstant.MethodHandle methodHandle, StackManipulation stackManipulation, TypeDescription.Generic current, java.util.Map<java.lang.Integer,java.lang.Integer> offsets, int freeOffset)Resolves this step of a substitution chain.MemberSubstitution.Substitution.Chain.Step.ResolutionMemberSubstitution.Substitution.Chain.Step. resolve(U target, TypeList.Generic parameters, TypeDescription.Generic result, JavaConstant.MethodHandle methodHandle, StackManipulation stackManipulation, TypeDescription.Generic current, java.util.Map<java.lang.Integer,java.lang.Integer> offsets, int freeOffset)Resolves this step of a substitution chain.MemberSubstitution.Substitution.Chain.Step.ResolutionMemberSubstitution.Substitution.Chain.Step.Simple. resolve(MemberSubstitution.Target target, TypeList.Generic parameters, TypeDescription.Generic result, JavaConstant.MethodHandle methodHandle, StackManipulation stackManipulation, TypeDescription.Generic current, java.util.Map<java.lang.Integer,java.lang.Integer> offsets, int freeOffset)Resolves this step of a substitution chain.StackManipulationMemberSubstitution.Substitution.ForFieldAccess. resolve(MemberSubstitution.Target target, TypeList.Generic parameters, TypeDescription.Generic result, JavaConstant.MethodHandle methodHandle, StackManipulation stackManipulation, int freeOffset)Resolves this substitution into a stack manipulation.StackManipulationMemberSubstitution.Substitution.ForMethodInvocation. resolve(MemberSubstitution.Target target, TypeList.Generic parameters, TypeDescription.Generic result, JavaConstant.MethodHandle methodHandle, StackManipulation stackManipulation, int freeOffset)Resolves this substitution into a stack manipulation.StackManipulationMemberSubstitution.Substitution.ForValue. resolve(MemberSubstitution.Target target, TypeList.Generic parameters, TypeDescription.Generic result, JavaConstant.MethodHandle methodHandle, StackManipulation stackManipulation, int freeOffset)Resolves this substitution into a stack manipulation.StackManipulationMemberSubstitution.Substitution. resolve(T target, TypeList.Generic parameters, TypeDescription.Generic result, JavaConstant.MethodHandle methodHandle, StackManipulation stackManipulation, int freeOffset)Resolves this substitution into a stack manipulation.StackManipulationMemberSubstitution.Substitution.Stubbing. resolve(MemberSubstitution.Target target, TypeList.Generic parameters, TypeDescription.Generic result, JavaConstant.MethodHandle methodHandle, StackManipulation stackManipulation, int freeOffset)Resolves this substitution into a stack manipulation.AdviceAdvice. withExceptionHandler(StackManipulation exceptionHandler)Configures this advice to execute the given stack manipulation upon a suppressed exception.StackManipulationAdvice.AssignReturned.ExceptionHandler.Factory.Enabled. wrap(StackManipulation stackManipulation, StackManipulation exceptionHandler, Advice.StackMapFrameHandler.ForPostProcessor stackMapFrameHandler)Wraps the supplied stack manipulation.StackManipulationAdvice.AssignReturned.ExceptionHandler.Factory.NoOp. wrap(StackManipulation stackManipulation, StackManipulation exceptionHandler, Advice.StackMapFrameHandler.ForPostProcessor stackMapFrameHandler)Wraps the supplied stack manipulation.StackManipulationAdvice.AssignReturned.ExceptionHandler.Factory. wrap(StackManipulation stackManipulation, StackManipulation exceptionHandler, Advice.StackMapFrameHandler.ForPostProcessor stackMapFrameHandler)Wraps the supplied stack manipulation.Constructors in net.bytebuddy.asm with parameters of type StackManipulation Constructor Description AdviceMethodInliner(TypeDescription instrumentedType, MethodDescription instrumentedMethod, org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Assigner assigner, Advice.ArgumentHandler.ForInstrumentedMethod argumentHandler, Advice.MethodSizeHandler.ForInstrumentedMethod methodSizeHandler, Advice.StackMapFrameHandler.ForInstrumentedMethod stackMapFrameHandler, Advice.Dispatcher.SuppressionHandler.Bound suppressionHandler, Advice.Dispatcher.RelocationHandler.Bound relocationHandler, StackManipulation exceptionHandler, AsmClassReader classReader)Creates a new advice method inliner.AdviceMethodWriter(MethodDescription.TypeToken typeToken, TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.PostProcessor postProcessor, java.util.List<Advice.OffsetMapping.Target> offsetMappings, org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Advice.ArgumentHandler.ForAdvice argumentHandler, Advice.MethodSizeHandler.ForAdvice methodSizeHandler, Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler, Advice.Dispatcher.SuppressionHandler.Bound suppressionHandler, Advice.Dispatcher.RelocationHandler.Bound relocationHandler, StackManipulation exceptionHandler, Advice.Delegator delegator)Creates a new advice method writer.AdviceVisitor(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Assigner assigner, StackManipulation exceptionHandler, TypeDescription instrumentedType, MethodDescription instrumentedMethod, Advice.Dispatcher.Resolved.ForMethodEnter methodEnter, Advice.Dispatcher.Resolved.ForMethodExit methodExit, java.util.List<? extends TypeDescription> postMethodTypes, int writerFlags, int readerFlags)Creates a new advice visitor.Bound(TypeDescription suppressedType, StackManipulation exceptionHandler)Creates a new active, bound suppression handler.CodeTranslationVisitor(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Advice.ArgumentHandler.ForAdvice argumentHandler, Advice.MethodSizeHandler.ForAdvice methodSizeHandler, Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler, TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, MethodDescription.InDefinedShape adviceMethod, java.util.Map<java.lang.Integer,Advice.OffsetMapping.Target> offsetMappings, Advice.Dispatcher.SuppressionHandler.Bound suppressionHandler, Advice.Dispatcher.RelocationHandler.Bound relocationHandler, StackManipulation exceptionHandler, Advice.PostProcessor postProcessor, boolean exit)Creates a new code translation visitor.DefaultValueSkip(StackManipulation stackManipulation, Advice.StackMapFrameHandler.ForPostProcessor stackMapFrameHandler, int offset, Advice.AssignReturned.DefaultValueSkip.Dispatcher dispatcher)Creates a null-check wrapper.ExceptionHandler(StackManipulation stackManipulation, StackManipulation exceptionHandler, TypeDescription exceptionType, Advice.StackMapFrameHandler.ForPostProcessor stackMapFrameHandler)Creates a new exception handler for an assignment.Factory(java.lang.Class<T> annotationType, TypeDescription typeDescription, StackManipulation deserialization)Creates a factory for loading a deserialized value.Factory(java.lang.Class<T> annotationType, StackManipulation stackManipulation, TypeDescription.Generic typeDescription)Creates a new factory for binding a stack manipulation.Factory(StackManipulation stackManipulation, java.lang.reflect.Type type, int index)Creates a factory for an argument substitution step.Factory(StackManipulation stackManipulation, TypeDescription.Generic typeDescription, int index)Creates a factory for an argument substitution step.Factory(java.lang.Class<T> annotationType, StackManipulation stackManipulation, TypeDescription.Generic typeDescription)Creates a factory for a given stack manipulation.ForArgumentSubstitution(StackManipulation substitution, TypeDescription.Generic typeDescription, int index, Assigner assigner, Assigner.Typing typing)Creates an argument substitution step.ForDefaultValue(TypeDefinition typeDefinition, StackManipulation readAssignment)Creates a new target for a default value.ForField(FieldDescription fieldDescription, StackManipulation readAssignment)Creates a new target for a field value mapping.ForMethodEnter(MethodDescription.TypeToken typeToken, TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.PostProcessor postProcessor, java.util.List<Advice.OffsetMapping.Target> offsetMappings, org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Advice.ArgumentHandler.ForAdvice argumentHandler, Advice.MethodSizeHandler.ForAdvice methodSizeHandler, Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler, Advice.Dispatcher.SuppressionHandler.Bound suppressionHandler, Advice.Dispatcher.RelocationHandler.Bound relocationHandler, StackManipulation exceptionHandler, Advice.Delegator delegator)Creates a new advice method writer.ForMethodExit(MethodDescription.TypeToken typeToken, TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.PostProcessor postProcessor, java.util.List<Advice.OffsetMapping.Target> offsetMappings, org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Advice.ArgumentHandler.ForAdvice argumentHandler, Advice.MethodSizeHandler.ForAdvice methodSizeHandler, Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler, Advice.Dispatcher.SuppressionHandler.Bound suppressionHandler, Advice.Dispatcher.RelocationHandler.Bound relocationHandler, StackManipulation exceptionHandler, Advice.Delegator delegator)Creates a new advice method writer.ForSerializedValue(TypeDescription.Generic target, TypeDescription typeDescription, StackManipulation deserialization)Creates a new offset mapping for a serialized value.ForStackManipulation(StackManipulation stackManipulation, TypeDescription.Generic typeDescription, TypeDescription.Generic targetType, Assigner.Typing typing)Creates an offset mapping that binds a stack manipulation.ForStackManipulation(StackManipulation stackManipulation)Creates a new target for an offset mapping for a stack manipulation.ForStackManipulation(StackManipulation stackManipulation, TypeDescription.Generic typeDescription, TypeDescription.Generic targetType)Creates a new offset mapping for a stack manipulation.ForStackManipulation(StackManipulation stackManipulation)Creates a resolved offset mapping for a stack manipulation.ForValue(StackManipulation stackManipulation, TypeDescription.Generic typeDescription)Creates a new substitution for loading a constant value.ForVariable(TypeDefinition typeDefinition, int offset, StackManipulation readAssignment)Creates a new target for a local variable mapping.OfSerializedConstant(java.lang.Class<T> annotationType, StackManipulation deserialization, TypeDescription.Generic typeDescription)Creates a factory that creates an offset mapping for a value that is deserialized.ReadOnly(TypeDefinition typeDefinition, StackManipulation readAssignment)Creates a new -writable target for a default value.ReadOnly(FieldDescription fieldDescription, StackManipulation readAssignment)Creates a new read-only mapping for a field.ReadOnly(TypeDefinition typeDefinition, int offset, StackManipulation readAssignment)Creates a read-only mapping for a local variable.ReadWrite(TypeDefinition typeDefinition, StackManipulation readAssignment)Creates a new read-only target for a default value.ReadWrite(FieldDescription fieldDescription, StackManipulation readAssignment, StackManipulation writeAssignment)Creates a new target for a writable field.ReadWrite(TypeDefinition typeDefinition, int offset, StackManipulation readAssignment, StackManipulation writeAssignment)Creates a new target mapping for a writable local variable.Resolved(Assigner assigner, Assigner.Typing typing, StackManipulation stackManipulation, TypeDescription.Generic typeDescription, TypeDescription.Generic targetType)Creates a resolved offset mapping for a given stack manipulation.Simple(StackManipulation stackManipulation)Creates a new simple exception handler.Simple(StackManipulation stackManipulation, java.lang.reflect.Type resultType)Creates a new simple substitution step.Simple(StackManipulation stackManipulation, TypeDescription.Generic resultType)Creates a new simple substitution step.WithExceptionHandling(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Assigner assigner, StackManipulation exceptionHandler, TypeDescription instrumentedType, MethodDescription instrumentedMethod, Advice.Dispatcher.Resolved.ForMethodEnter methodEnter, Advice.Dispatcher.Resolved.ForMethodExit methodExit, int writerFlags, int readerFlags, TypeDescription throwable)Creates a new advice visitor that captures exception by weaving try-catch blocks around user code.WithExitAdvice(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Assigner assigner, StackManipulation exceptionHandler, TypeDescription instrumentedType, MethodDescription instrumentedMethod, Advice.Dispatcher.Resolved.ForMethodEnter methodEnter, Advice.Dispatcher.Resolved.ForMethodExit methodExit, java.util.List<? extends TypeDescription> postMethodTypes, int writerFlags, int readerFlags)Creates an advice visitor that applies exit advice.WithoutExceptionHandling(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Assigner assigner, StackManipulation exceptionHandler, TypeDescription instrumentedType, MethodDescription instrumentedMethod, Advice.Dispatcher.Resolved.ForMethodEnter methodEnter, Advice.Dispatcher.Resolved.ForMethodExit methodExit, int writerFlags, int readerFlags)Creates a new advice visitor that does not capture exceptions.WithoutExitAdvice(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Assigner assigner, StackManipulation exceptionHandler, TypeDescription instrumentedType, MethodDescription instrumentedMethod, Advice.Dispatcher.Resolved.ForMethodEnter methodEnter, int writerFlags, int readerFlags)Creates an advice visitor that does not apply exit advice.Writable(StackManipulation read, StackManipulation write)Creates a writable target.WriteOnly(FieldDescription fieldDescription, StackManipulation writeAssignment)Creates a write-only mapping for a field value.Constructor parameters in net.bytebuddy.asm with type arguments of type StackManipulation Constructor Description ForArray(TypeDescription.Generic target, java.util.List<? extends StackManipulation> valueReads)Creates a new target mapping for an array of all local variables.ReadOnly(TypeDescription.Generic target, java.util.List<? extends StackManipulation> valueReads)Creates a read-only target mapping for an array of all local variables.ReadWrite(TypeDescription.Generic target, java.util.List<? extends StackManipulation> valueReads, java.util.List<? extends StackManipulation> valueWrites)Creates a writable target mapping for an array of all local variables. -
Uses of StackManipulation in net.bytebuddy.dynamic.scaffold.inline
Classes in net.bytebuddy.dynamic.scaffold.inline that implement StackManipulation Modifier and Type Class Description protected static classRebaseImplementationTarget.RebasedMethodInvocationAImplementation.SpecialMethodInvocationwhich invokes a rebased method as given by aMethodRebaseResolver.Fields in net.bytebuddy.dynamic.scaffold.inline declared as StackManipulation Modifier and Type Field Description private StackManipulationRebaseImplementationTarget.RebasedMethodInvocation. stackManipulationThe stack manipulation to execute in order to invoke the rebased method.Constructors in net.bytebuddy.dynamic.scaffold.inline with parameters of type StackManipulation Constructor Description RebasedMethodInvocation(MethodDescription.InDefinedShape methodDescription, TypeDescription instrumentedType, StackManipulation stackManipulation, TypeList prependedParameters)Creates a new rebased method invocation. -
Uses of StackManipulation in net.bytebuddy.implementation
Subinterfaces of StackManipulation in net.bytebuddy.implementation Modifier and Type Interface Description static interfaceImplementation.SpecialMethodInvocationRepresents a type-specific method invocation on the current instrumented type which is not legal from outside the type such as a super method or default method invocation.Classes in net.bytebuddy.implementation that implement StackManipulation Modifier and Type Class Description protected static classEqualsMethod.ConditionalReturnA conditional return aborts the equality computation if a given condition was reached.protected classEqualsMethod.NullValueGuard.UsingJump.AfterInstructionThe stack manipulation to apply after the equality computation.protected classEqualsMethod.NullValueGuard.UsingJump.BeforeInstructionThe stack manipulation to apply before the equality computation.protected static classEqualsMethod.ValueComparatorA value comparator is responsible to compare to values of a given type.protected classHashCodeMethod.NullValueGuard.UsingJump.AfterInstructionThe stack manipulation to apply after the hash value computation.protected classHashCodeMethod.NullValueGuard.UsingJump.BeforeInstructionThe stack manipulation to apply before the hash value computation.protected static classHashCodeMethod.ValueTransformerA value transformer that is responsible for resolving a field value to anintvalue.protected static classImplementation.Context.Default.FieldCacheEntryA field cache entry for uniquely identifying a cached field.static classImplementation.SpecialMethodInvocation.AbstractBaseAn abstract base implementation of a valid special method invocation.static classImplementation.SpecialMethodInvocation.IllegalA canonical implementation of an illegalImplementation.SpecialMethodInvocation.static classImplementation.SpecialMethodInvocation.SimpleA canonical implementation of aImplementation.SpecialMethodInvocation.protected static classToStringMethod.ValueConsumerA value consumer that is responsible for adding a field value to the string creatingStringBuilder.Fields in net.bytebuddy.implementation declared as StackManipulation Modifier and Type Field Description private StackManipulationImplementation.Context.Default.AccessorMethodDelegation. accessorMethodInvocationThe stack manipulation that represents the requested special method invocation.private StackManipulationEqualsMethod.Appender. baselineThe baseline stack manipulation.private StackManipulationFixedValue.ForValue.StaticFieldByteCodeAppender. fieldGetAccessThe stack manipulation that loads the fixed value onto the operand stack.private StackManipulationImplementation.Context.Default.FieldCacheEntry. fieldValueThe field value that is represented by this field cache entry.private StackManipulationHashCodeMethod.Appender. initialValueLoads the initial hash code onto the operand stack.private StackManipulationFieldAccessor.ForSetter.OfConstantValue. stackManipulationA stack manipulation to load the constant value.private StackManipulationImplementation.SpecialMethodInvocation.Simple. stackManipulationA stack manipulation representing the method's invocation on the type description.private StackManipulationInvokeDynamic.InvocationProvider.ArgumentProvider.ConstantPoolWrapper.WrappingArgumentProvider. stackManipulationThe stack manipulation that represents the loading of the primitive value.private StackManipulationInvokeDynamic.InvocationProvider.ArgumentProvider.Resolved.Simple. stackManipulationA stack manipulation that loads the arguments onto the operand stack.private StackManipulationInvokeDynamic.InvocationProvider.Target.Resolved.Simple. stackManipulationThe stack manipulation that loads the arguments onto the operand stack.private StackManipulationMethodCall.ArgumentLoader.ForStackManipulation. stackManipulationThe stack manipulation to load.private StackManipulationMethodCall.TargetHandler.Simple. stackManipulationThe stack manipulation that loads a target for the method call.private StackManipulationFixedValue.ForConstantValue. valueLoadInstructionThe stack manipulation which is responsible for loading the fixed value onto the operand stack.Methods in net.bytebuddy.implementation that return StackManipulation Modifier and Type Method Description StackManipulationEqualsMethod.NullValueGuard. after()Returns a stack manipulation to apply after computing equality.StackManipulationEqualsMethod.NullValueGuard.NoOp. after()Returns a stack manipulation to apply after computing equality.StackManipulationEqualsMethod.NullValueGuard.UsingJump. after()Returns a stack manipulation to apply after computing equality.StackManipulationHashCodeMethod.NullValueGuard. after()Returns a stack manipulation to apply after computing a hash value.StackManipulationHashCodeMethod.NullValueGuard.NoOp. after()Returns a stack manipulation to apply after computing a hash value.StackManipulationHashCodeMethod.NullValueGuard.UsingJump. after()Returns a stack manipulation to apply after computing a hash value.StackManipulationImplementation.Simple.Dispatcher. apply(Implementation.Target implementationTarget, MethodDescription instrumentedMethod)Creates a stack manipulation from a simple method dispatch.StackManipulationEqualsMethod.NullValueGuard. before()Returns a stack manipulation to apply before computing equality.StackManipulationEqualsMethod.NullValueGuard.NoOp. before()Returns a stack manipulation to apply before computing equality.StackManipulationEqualsMethod.NullValueGuard.UsingJump. before()Returns a stack manipulation to apply before computing equality.StackManipulationHashCodeMethod.NullValueGuard. before()Returns a stack manipulation to apply before computing a hash value.StackManipulationHashCodeMethod.NullValueGuard.NoOp. before()Returns a stack manipulation to apply before computing a hash value.StackManipulationHashCodeMethod.NullValueGuard.UsingJump. before()Returns a stack manipulation to apply before computing a hash value.StackManipulationInvokeDynamic.InvocationProvider.ArgumentProvider.Resolved. getLoadInstruction()Returns a stack manipulation that loads the arguments onto the operand stack.StackManipulationInvokeDynamic.InvocationProvider.ArgumentProvider.Resolved.Simple. getLoadInstruction()Returns a stack manipulation that loads the arguments onto the operand stack.StackManipulationInvokeDynamic.InvocationProvider.Target.Resolved. getStackManipulation()Returns the stack manipulation that loads the arguments onto the operand stack.StackManipulationInvokeDynamic.InvocationProvider.Target.Resolved.Simple. getStackManipulation()Returns the stack manipulation that loads the arguments onto the operand stack.private StackManipulationDefaultMethodCall.Appender. locateDefault(MethodDescription methodDescription)Locates a special method invocation to be invoked from a given method.StackManipulationExceptionMethod.ConstructionDelegate.ForDefaultConstructor. make()Creates a stack manipulation that creates pushes all constructor arguments onto the operand stack and subsequently calls the constructor.StackManipulationExceptionMethod.ConstructionDelegate.ForStringConstructor. make()Creates a stack manipulation that creates pushes all constructor arguments onto the operand stack and subsequently calls the constructor.StackManipulationExceptionMethod.ConstructionDelegate. make()Creates a stack manipulation that creates pushes all constructor arguments onto the operand stack and subsequently calls the constructor.static StackManipulationEqualsMethod.ValueComparator. of(TypeDefinition typeDefinition)Resolves a type definition to a equality comparison.static StackManipulationHashCodeMethod.ValueTransformer. of(TypeDefinition typeDefinition)Resolves a type definition to a hash code.protected abstract StackManipulationSuperMethodCall.Appender.TerminationHandler. of(MethodDescription methodDescription)Creates a stack manipulation that represents this handler's behavior.protected static StackManipulationToStringMethod.ValueConsumer. of(TypeDescription typeDescription)Resolves an appropriate value resolver for a given type.StackManipulationMethodCall.TerminationHandler.FieldSetting. prepare()Returns a preparing stack manipulation to apply prior to the method call.StackManipulationMethodCall.TerminationHandler. prepare()Returns a preparing stack manipulation to apply prior to the method call.StackManipulationMethodCall.TerminationHandler.Simple. prepare()Returns a preparing stack manipulation to apply prior to the method call.StackManipulationMethodDelegation.ImplementationDelegate.Compiled.ForConstruction. prepare(MethodDescription instrumentedMethod)Resolves a stack manipulation that prepares the delegation invocation.StackManipulationMethodDelegation.ImplementationDelegate.Compiled.ForField. prepare(MethodDescription instrumentedMethod)Resolves a stack manipulation that prepares the delegation invocation.StackManipulationMethodDelegation.ImplementationDelegate.Compiled.ForMethodReturn. prepare(MethodDescription instrumentedMethod)Resolves a stack manipulation that prepares the delegation invocation.StackManipulationMethodDelegation.ImplementationDelegate.Compiled.ForStaticCall. prepare(MethodDescription instrumentedMethod)Resolves a stack manipulation that prepares the delegation invocation.StackManipulationMethodDelegation.ImplementationDelegate.Compiled. prepare(MethodDescription instrumentedMethod)Resolves a stack manipulation that prepares the delegation invocation.protected abstract StackManipulationEqualsMethod.SuperClassCheck. resolve(TypeDescription instrumentedType)Resolves a stack manipulation for the required super class check.protected abstract StackManipulationEqualsMethod.TypeCompatibilityCheck. resolve(TypeDescription instrumentedType)Resolves a stack manipulation for the required type compatibility check.protected StackManipulationFieldAccessor.ForSetter.OfConstantValue. resolve(java.lang.Void unused, FieldDescription fieldDescription, TypeDescription instrumentedType, MethodDescription instrumentedMethod)Resolves the stack manipulation to load the value being set.protected StackManipulationFieldAccessor.ForSetter.OfDefaultValue. resolve(java.lang.Void initialized, FieldDescription fieldDescription, TypeDescription instrumentedType, MethodDescription instrumentedMethod)Resolves the stack manipulation to load the value being set.protected StackManipulationFieldAccessor.ForSetter.OfFieldValue. resolve(FieldAccessor.FieldLocation.Prepared target, FieldDescription fieldDescription, TypeDescription instrumentedType, MethodDescription instrumentedMethod)Resolves the stack manipulation to load the value being set.protected StackManipulationFieldAccessor.ForSetter.OfParameterValue. resolve(java.lang.Void unused, FieldDescription fieldDescription, TypeDescription instrumentedType, MethodDescription instrumentedMethod)Resolves the stack manipulation to load the value being set.protected StackManipulationFieldAccessor.ForSetter.OfReferenceValue. resolve(FieldDescription.InDefinedShape target, FieldDescription fieldDescription, TypeDescription instrumentedType, MethodDescription instrumentedMethod)Resolves the stack manipulation to load the value being set.protected abstract StackManipulationFieldAccessor.ForSetter. resolve(T initialized, FieldDescription fieldDescription, TypeDescription instrumentedType, MethodDescription instrumentedMethod)Resolves the stack manipulation to load the value being set.protected abstract StackManipulationFieldAccessor.ForSetter.TerminationHandler. resolve(MethodDescription instrumentedMethod)Resolves the return instruction.StackManipulationHashCodeMethod.OffsetProvider.ForDynamicTypeHash. resolve(TypeDescription instrumentedType)Resolves this offset provider for a given instrumented type.StackManipulationHashCodeMethod.OffsetProvider.ForFixedValue. resolve(TypeDescription instrumentedType)Resolves this offset provider for a given instrumented type.StackManipulationHashCodeMethod.OffsetProvider.ForStaticTypeHash. resolve(TypeDescription instrumentedType)Resolves this offset provider for a given instrumented type.StackManipulationHashCodeMethod.OffsetProvider.ForSuperMethodCall. resolve(TypeDescription instrumentedType)Resolves this offset provider for a given instrumented type.StackManipulationHashCodeMethod.OffsetProvider. resolve(TypeDescription instrumentedType)Resolves this offset provider for a given instrumented type.protected abstract StackManipulationInvokeDynamic.TerminationHandler. resolve(MethodDescription interceptedMethod, TypeDescription returnType, Assigner assigner, Assigner.Typing typing)Returns a stack manipulation that handles the method return.protected StackManipulationEqualsMethod.ConditionalReturn. returningTrue()Returns a new stack manipulation that returnstruefor the given condition.protected StackManipulationMethodCall.Appender. toStackManipulation(MethodDescription instrumentedMethod, MethodDescription invokedMethod, MethodCall.TargetHandler.Resolved targetHandler)Resolves this appender to a stack manipulation.StackManipulationMethodCall.ArgumentLoader.ForField. toStackManipulation(ParameterDescription target, Assigner assigner, Assigner.Typing typing)Loads the argument that is represented by this instance onto the operand stack.StackManipulationMethodCall.ArgumentLoader.ForInstance. toStackManipulation(ParameterDescription target, Assigner assigner, Assigner.Typing typing)Loads the argument that is represented by this instance onto the operand stack.StackManipulationMethodCall.ArgumentLoader.ForInstrumentedType. toStackManipulation(ParameterDescription target, Assigner assigner, Assigner.Typing typing)Loads the argument that is represented by this instance onto the operand stack.StackManipulationMethodCall.ArgumentLoader.ForMethodCall. toStackManipulation(ParameterDescription target, Assigner assigner, Assigner.Typing typing)Loads the argument that is represented by this instance onto the operand stack.StackManipulationMethodCall.ArgumentLoader.ForMethodParameter. toStackManipulation(ParameterDescription target, Assigner assigner, Assigner.Typing typing)Loads the argument that is represented by this instance onto the operand stack.StackManipulationMethodCall.ArgumentLoader.ForMethodParameterArray. toStackManipulation(ParameterDescription target, Assigner assigner, Assigner.Typing typing)Loads the argument that is represented by this instance onto the operand stack.StackManipulationMethodCall.ArgumentLoader.ForMethodParameterArrayElement. toStackManipulation(ParameterDescription target, Assigner assigner, Assigner.Typing typing)Loads the argument that is represented by this instance onto the operand stack.StackManipulationMethodCall.ArgumentLoader.ForNullConstant. toStackManipulation(ParameterDescription target, Assigner assigner, Assigner.Typing typing)Loads the argument that is represented by this instance onto the operand stack.StackManipulationMethodCall.ArgumentLoader.ForStackManipulation. toStackManipulation(ParameterDescription target, Assigner assigner, Assigner.Typing typing)Loads the argument that is represented by this instance onto the operand stack.StackManipulationMethodCall.ArgumentLoader.ForThisReference. toStackManipulation(ParameterDescription target, Assigner assigner, Assigner.Typing typing)Loads the argument that is represented by this instance onto the operand stack.StackManipulationMethodCall.ArgumentLoader. toStackManipulation(ParameterDescription target, Assigner assigner, Assigner.Typing typing)Loads the argument that is represented by this instance onto the operand stack.StackManipulationMethodCall.MethodInvoker.ForContextualInvocation. toStackManipulation(MethodDescription invokedMethod, Implementation.Target implementationTarget)Invokes the method.StackManipulationMethodCall.MethodInvoker.ForDefaultMethodInvocation. toStackManipulation(MethodDescription invokedMethod, Implementation.Target implementationTarget)Invokes the method.StackManipulationMethodCall.MethodInvoker.ForSuperMethodInvocation. toStackManipulation(MethodDescription invokedMethod, Implementation.Target implementationTarget)Invokes the method.StackManipulationMethodCall.MethodInvoker.ForVirtualInvocation. toStackManipulation(MethodDescription invokedMethod, Implementation.Target implementationTarget)Invokes the method.StackManipulationMethodCall.MethodInvoker.ForVirtualInvocation.WithImplicitType. toStackManipulation(MethodDescription invokedMethod, Implementation.Target implementationTarget)Invokes the method.StackManipulationMethodCall.MethodInvoker. toStackManipulation(MethodDescription invokedMethod, Implementation.Target implementationTarget)Invokes the method.StackManipulationMethodCall.TargetHandler.ForConstructingInvocation. toStackManipulation(MethodDescription invokedMethod, Assigner assigner, Assigner.Typing typing)Creates a stack manipulation to represent this resolved target handler.StackManipulationMethodCall.TargetHandler.ForField. toStackManipulation(MethodDescription invokedMethod, Assigner assigner, Assigner.Typing typing)Creates a stack manipulation to represent this resolved target handler.StackManipulationMethodCall.TargetHandler.ForMethodCall.Resolved. toStackManipulation(MethodDescription invokedMethod, Assigner assigner, Assigner.Typing typing)Creates a stack manipulation to represent this resolved target handler.StackManipulationMethodCall.TargetHandler.ForMethodParameter.Resolved. toStackManipulation(MethodDescription invokedMethod, Assigner assigner, Assigner.Typing typing)Creates a stack manipulation to represent this resolved target handler.StackManipulationMethodCall.TargetHandler.ForSelfOrStaticInvocation.Resolved. toStackManipulation(MethodDescription invokedMethod, Assigner assigner, Assigner.Typing typing)Creates a stack manipulation to represent this resolved target handler.StackManipulationMethodCall.TargetHandler.ForValue. toStackManipulation(MethodDescription invokedMethod, Assigner assigner, Assigner.Typing typing)Creates a stack manipulation to represent this resolved target handler.StackManipulationMethodCall.TargetHandler.Resolved. toStackManipulation(MethodDescription invokedMethod, Assigner assigner, Assigner.Typing typing)Creates a stack manipulation to represent this resolved target handler.StackManipulationMethodCall.TargetHandler.Simple. toStackManipulation(MethodDescription invokedMethod, Assigner assigner, Assigner.Typing typing)Creates a stack manipulation to represent this resolved target handler.StackManipulationMethodCall.TerminationHandler.FieldSetting. toStackManipulation(MethodDescription invokedMethod, MethodDescription instrumentedMethod, Assigner assigner, Assigner.Typing typing)Returns a stack manipulation that handles the method return.StackManipulationMethodCall.TerminationHandler. toStackManipulation(MethodDescription invokedMethod, MethodDescription instrumentedMethod, Assigner assigner, Assigner.Typing typing)Returns a stack manipulation that handles the method return.Methods in net.bytebuddy.implementation that return types with arguments of type StackManipulation Modifier and Type Method Description private java.util.List<StackManipulation>InvocationHandlerAdapter. argumentValuesOf(MethodDescription instrumentedMethod)Returns a list of stack manipulations that loads all arguments of an instrumented method.Methods in net.bytebuddy.implementation with parameters of type StackManipulation Modifier and Type Method Description protected ByteCodeAppender.SizeFixedValue. apply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, MethodDescription instrumentedMethod, TypeDescription.Generic typeDescription, StackManipulation stackManipulation)Blueprint method that for applying the actual implementation.protected ByteCodeAppender.SizeInvocationHandlerAdapter. apply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, MethodDescription instrumentedMethod, StackManipulation preparingManipulation, FieldDescription fieldDescription)Applies an implementation that delegates to a invocation handler.FieldDescription.InDefinedShapeImplementation.Context. cache(StackManipulation fieldValue, TypeDescription fieldType)Caches a single value by storing it in form of aprivate,finalandstaticfield.FieldDescription.InDefinedShapeImplementation.Context.Default. cache(StackManipulation fieldValue, TypeDescription fieldType)Caches a single value by storing it in form of aprivate,finalandstaticfield.FieldDescription.InDefinedShapeImplementation.Context.Disabled. cache(StackManipulation fieldValue, TypeDescription fieldType)Caches a single value by storing it in form of aprivate,finalandstaticfield.protected InvokeDynamic.InvocationProvider.ArgumentProvider.ResolvedInvokeDynamic.InvocationProvider.ArgumentProvider.ForField. doResolve(StackManipulation access, TypeDescription.Generic type, Assigner assigner, Assigner.Typing typing)Resolves this argument provider.protected InvokeDynamic.InvocationProvider.ArgumentProvider.ResolvedInvokeDynamic.InvocationProvider.ArgumentProvider.ForField.WithExplicitType. doResolve(StackManipulation access, TypeDescription.Generic typeDescription, Assigner assigner, Assigner.Typing typing)Resolves this argument provider.protected InvokeDynamic.InvocationProvider.ArgumentProvider.ResolvedInvokeDynamic.InvocationProvider.ArgumentProvider.ForMethodParameter. doResolve(StackManipulation access, TypeDescription.Generic type, Assigner assigner, Assigner.Typing typing)Resolves this argument provider.protected InvokeDynamic.InvocationProvider.ArgumentProvider.ResolvedInvokeDynamic.InvocationProvider.ArgumentProvider.ForMethodParameter.WithExplicitType. doResolve(StackManipulation access, TypeDescription.Generic type, Assigner assigner, Assigner.Typing typing)Resolves this argument provider.MethodCallMethodCall.WithoutSpecifiedTarget. on(StackManipulation stackManipulation, java.lang.Class<?> type)Invokes the specified method on an instance that is loaded by the provided stack manipulation.MethodCallMethodCall.WithoutSpecifiedTarget. on(StackManipulation stackManipulation, TypeDescription typeDescription)Invokes the specified method on an instance that is loaded by the provided stack manipulation.Implementation.ComposableFieldAccessor.ForImplicitProperty. setsValue(StackManipulation stackManipulation, java.lang.reflect.Type type)Defines a setter of a value that is represented by a stack manipulation.Implementation.ComposableFieldAccessor.ForImplicitProperty. setsValue(StackManipulation stackManipulation, TypeDescription.Generic typeDescription)Defines a setter of a value that is represented by a stack manipulation.Implementation.ComposableFieldAccessor.PropertyConfigurable. setsValue(StackManipulation stackManipulation, java.lang.reflect.Type type)Defines a setter of a value that is represented by a stack manipulation.Implementation.ComposableFieldAccessor.PropertyConfigurable. setsValue(StackManipulation stackManipulation, TypeDescription.Generic typeDescription)Defines a setter of a value that is represented by a stack manipulation.MethodCallMethodCall. with(StackManipulation stackManipulation, java.lang.reflect.Type type)Adds a stack manipulation as an assignment to the next parameter.MethodCallMethodCall. with(StackManipulation stackManipulation, TypeDefinition typeDefinition)Adds a stack manipulation as an assignment to the next parameter.Constructors in net.bytebuddy.implementation with parameters of type StackManipulation Constructor Description AccessorMethodDelegation(MethodDescription.InDefinedShape methodDescription, Visibility visibility, StackManipulation accessorMethodInvocation)Creates a delegation to an accessor method.Appender(TypeDescription instrumentedType, StackManipulation baseline, java.util.List<FieldDescription.InDefinedShape> fieldDescriptions, ElementMatcher<? super FieldDescription.InDefinedShape> nonNullable, ElementMatcher<? super FieldDescription.InDefinedShape> identity)Creates a new appender.Appender(StackManipulation initialValue, int multiplier, java.util.List<FieldDescription.InDefinedShape> fieldDescriptions, ElementMatcher<? super FieldDescription.InDefinedShape> nonNullable, ElementMatcher<? super FieldDescription.InDefinedShape> identity)Creates a new appender for implementing a hash code method.FieldCacheEntry(StackManipulation fieldValue, TypeDescription fieldType)Creates a new field cache entry.ForConstantValue(Assigner assigner, Assigner.Typing typing, StackManipulation valueLoadInstruction, TypeDescription loadedType)Creates a new constant pool fixed value implementation.ForConstantValue(StackManipulation valueLoadInstruction, java.lang.Class<?> loadedType)Creates a new constant pool fixed value implementation.ForConstantValue(StackManipulation valueLoadInstruction, TypeDescription loadedType)Creates a new constant pool fixed value implementation.ForStackManipulation(StackManipulation stackManipulation, java.lang.reflect.Type type)Creates an argument loader that loads a stack manipulation as an argument.ForStackManipulation(StackManipulation stackManipulation, TypeDefinition typeDefinition)Creates an argument loader that loads a stack manipulation as an argument.OfConstantValue(FieldAccessor.FieldLocation fieldLocation, Assigner assigner, Assigner.Typing typing, FieldAccessor.ForSetter.TerminationHandler terminationHandler, TypeDescription.Generic typeDescription, StackManipulation stackManipulation)Creates a setter instrumentation for setting a constant value.Simple(StackManipulation... stackManipulation)Creates a new simple instrumentation for the given stack manipulations which are summarized in a byte code appender that defines any requested method by these manipulations.Simple(MethodDescription methodDescription, TypeDescription typeDescription, StackManipulation stackManipulation)Creates a new legal special method invocation.Simple(StackManipulation stackManipulation, java.util.List<TypeDescription> loadedTypes)Creates a simple resolved argument provider.Simple(StackManipulation stackManipulation, TypeDescription loadedType)Creates a simple resolved argument provider.Simple(StackManipulation stackManipulation, java.lang.String internalName, TypeDescription returnType, java.util.List<TypeDescription> parameterTypes)Creates a new simple instance.Simple(TypeDescription typeDescription, StackManipulation stackManipulation)Creates a simple target handler.WrappingArgumentProvider(StackManipulation stackManipulation)Creates a new wrapping argument provider. -
Uses of StackManipulation in net.bytebuddy.implementation.auxiliary
Classes in net.bytebuddy.implementation.auxiliary that implement StackManipulation Modifier and Type Class Description static classMethodCallProxy.AssignableSignatureCallA stack manipulation that creates aMethodCallProxyfor a given method an pushes such an object onto the call stack.protected static classTypeProxy.AbstractMethodErrorThrowA stack manipulation that throws an abstract method error in case that a given super method cannot be invoked.static classTypeProxy.ForDefaultMethodCreates a type proxy which delegates its super method calls to any invokable default method of a given interface and loads an instance of this proxy onto the operand stack.static classTypeProxy.ForSuperMethodByConstructorLoads a type proxy onto the operand stack which is created by calling one of its constructors.static classTypeProxy.ForSuperMethodByReflectionFactoryLoads a type proxy onto the operand stack which is created by constructing a serialization constructor using the Oracle JDK'sReflectionFactory.newConstructorForSerialization(Class, java.lang.reflect.Constructor)method which might not be available in any Java runtime.protected classTypeProxy.MethodCall.Appender.AccessorMethodInvocationStack manipulation for invoking an accessor method.Fields in net.bytebuddy.implementation.auxiliary declared as StackManipulation Modifier and Type Field Description private StackManipulationTypeProxy.MethodCall.Appender. fieldLoadingInstructionThe stack manipulation for loading the proxied instance onto the stack.private StackManipulationTypeProxy.AbstractMethodErrorThrow. implementationThe stack manipulation that throws the abstract method error. -
Uses of StackManipulation in net.bytebuddy.implementation.bind
Subinterfaces of StackManipulation in net.bytebuddy.implementation.bind Modifier and Type Interface Description static interfaceMethodDelegationBinder.MethodBindingA binding attempt created by aMethodDelegationBinder.static interfaceMethodDelegationBinder.ParameterBinding<T>A binding attempt for a single parameter.Classes in net.bytebuddy.implementation.bind that implement StackManipulation Modifier and Type Class Description protected static classMethodDelegationBinder.MethodBinding.Builder.BuildA method binding that was created by aMethodDelegationBinder.MethodBinding.Builder.static classMethodDelegationBinder.MethodBinding.IllegalRepresentation of an attempt to bind a source method to a target method that is not applicable.static classMethodDelegationBinder.ParameterBinding.AnonymousAn anonymous binding of a target method parameter.static classMethodDelegationBinder.ParameterBinding.IllegalA singleton representation of an illegal binding for a method parameter.static classMethodDelegationBinder.ParameterBinding.Unique<T>A uniquely identifiable parameter binding for a target method.Fields in net.bytebuddy.implementation.bind declared as StackManipulation Modifier and Type Field Description private StackManipulationMethodDelegationBinder.ParameterBinding.Anonymous. delegateThe stack manipulation that represents the loading of the parameter binding onto the stack.private StackManipulationMethodDelegationBinder.ParameterBinding.Unique. delegateThe stack manipulation that represents the loading of the parameter binding onto the stack.private StackManipulationMethodDelegationBinder.MethodBinding.Builder.Build. methodInvocationA stack manipulation that represents the actual method invocation.private StackManipulationMethodDelegationBinder.MethodBinding.Builder.Build. terminatingStackManipulationThe stack manipulation that is applied after the method invocation.Fields in net.bytebuddy.implementation.bind with type parameters of type StackManipulation Modifier and Type Field Description private java.util.List<StackManipulation>MethodDelegationBinder.MethodBinding.Builder.Build. parameterStackManipulationsA list of manipulations that each represent the loading of a parameter value onto the operand stack.private java.util.List<StackManipulation>MethodDelegationBinder.MethodBinding.Builder. parameterStackManipulationsThe current list of stack manipulations for loading values for each parameter onto the operand stack.Methods in net.bytebuddy.implementation.bind that return StackManipulation Modifier and Type Method Description StackManipulationMethodDelegationBinder.MethodInvoker. invoke(MethodDescription methodDescription)Creates a method invocation for a given method.StackManipulationMethodDelegationBinder.MethodInvoker.Simple. invoke(MethodDescription methodDescription)Creates a method invocation for a given method.StackManipulationMethodDelegationBinder.MethodInvoker.Virtual. invoke(MethodDescription methodDescription)Creates a method invocation for a given method.StackManipulationMethodDelegationBinder.TerminationHandler. resolve(Assigner assigner, Assigner.Typing typing, MethodDescription source, MethodDescription target)Creates a stack manipulation that is to be applied after the method return.Methods in net.bytebuddy.implementation.bind with parameters of type StackManipulation Modifier and Type Method Description MethodDelegationBinder.MethodBindingMethodDelegationBinder.MethodBinding.Builder. build(StackManipulation terminatingManipulation)Creates a binding that represents the bindings collected by thisBuilder.static <S> MethodDelegationBinder.ParameterBinding.Unique<S>MethodDelegationBinder.ParameterBinding.Unique. of(StackManipulation delegate, S identificationToken)A factory method for creating a unique binding that infers the tokens type.Constructors in net.bytebuddy.implementation.bind with parameters of type StackManipulation Constructor Description Anonymous(StackManipulation delegate)Creates a new, anonymous parameter binding.Build(MethodDescription target, java.util.Map<?,java.lang.Integer> registeredTargetIndices, StackManipulation methodInvocation, java.util.List<StackManipulation> parameterStackManipulations, StackManipulation terminatingStackManipulation)Creates a new method binding.Unique(StackManipulation delegate, T identificationToken)Creates a new unique parameter binding representant.Constructor parameters in net.bytebuddy.implementation.bind with type arguments of type StackManipulation Constructor Description Build(MethodDescription target, java.util.Map<?,java.lang.Integer> registeredTargetIndices, StackManipulation methodInvocation, java.util.List<StackManipulation> parameterStackManipulations, StackManipulation terminatingStackManipulation)Creates a new method binding. -
Uses of StackManipulation in net.bytebuddy.implementation.bind.annotation
Classes in net.bytebuddy.implementation.bind.annotation that implement StackManipulation Modifier and Type Class Description protected static classDefaultMethod.Binder.DelegationMethodLoads the delegation method constant onto the stack.protected static classFieldProxy.Binder.AccessorProxyA proxy type for accessing a field either by a getter or a setter.protected static classMorph.Binder.RedirectionProxyA proxy that implements the installed interface in order to allow for a morphed super method invocation.protected static classPipe.Binder.RedirectionProxyAn auxiliary type for performing the redirection of a method invocation as requested by thePipeannotation.protected static classSuperMethod.Binder.DelegationMethodLoads the delegation method constant onto the stack.Methods in net.bytebuddy.implementation.bind.annotation that return StackManipulation Modifier and Type Method Description private static StackManipulationOrigin.Binder. methodConstant(AnnotationDescription.Loadable<Origin> annotation, MethodDescription.InDefinedShape methodDescription)Loads a method constant onto the operand stack.protected abstract StackManipulationSuper.Instantiation. proxyFor(TypeDescription proxyType, Implementation.Target implementationTarget, AnnotationDescription.Loadable<Super> annotation)Creates a stack manipulation which loads asuper-call proxy onto the stack. -
Uses of StackManipulation in net.bytebuddy.implementation.bytecode
Classes in net.bytebuddy.implementation.bytecode that implement StackManipulation Modifier and Type Class Description classAdditionA stack manipulation that adds two numbers on the operand stack.classDivisionA stack manipulation that divides two numbers on the operand stack.classDuplicationDuplicates a value that is lying on top of the stack.protected static classDuplication.WithFlipA duplication that flips a value over the second value on the operand stack.classMultiplicationA stack manipulation that multiplies two numbers on the operand stack.classNegationA stack manipulation that negates a number on the operand stack.classRemainderA stack manipulation that computes the remainder two numbers on the operand stack.classRemovalRemoves a value from the operand stack.classShiftLeftA stack manipulation that shifts left two numbers on the operand stack.classShiftRightA stack manipulation that shifts right two numbers on the operand stack.protected static classShiftRight.UnsignedA stack manipulation that shifts right unsigned two numbers on the operand stack.static classStackManipulation.AbstractBaseAn abstract base implementation of a valid stack manipulation.static classStackManipulation.CompoundAn immutable stack manipulation that aggregates a sequence of other stack manipulations.static classStackManipulation.IllegalCanonical representation of an illegal stack manipulation.static classStackManipulation.SimpleAn implementation ofStackManipulationthat simplifies functional invocations via lambda expressions.static classStackManipulation.TrivialCanonical representation of a legal stack manipulation which does not require any action.classSubtractionA stack manipulation that subtracts two numbers on the operand stack.classThrowThrows aThrowablewhich must lie on top of the stack when this stack manipulation is called.classTypeCreationA stack manipulation for creating an undefined type on which a constructor is to be called.Fields in net.bytebuddy.implementation.bytecode declared as StackManipulation Modifier and Type Field Description private StackManipulationByteCodeAppender.Simple. stackManipulationA compound stack manipulation to be applied for this byte code appender.private StackManipulationShiftRight. unsignedThe unsigned equivalent of this operation.Fields in net.bytebuddy.implementation.bytecode with type parameters of type StackManipulation Modifier and Type Field Description private java.util.List<StackManipulation>StackManipulation.Compound. stackManipulationsThe stack manipulations this compound operation represents in their application order.Methods in net.bytebuddy.implementation.bytecode that return StackManipulation Modifier and Type Method Description abstract StackManipulationDuplication. flipOver(TypeDefinition typeDefinition)Creates a duplication that flips the stack's top value over the second stack element.static StackManipulationRemoval. of(TypeDefinition typeDefinition)Removes a value from the operand stack dependant of its size.static StackManipulationTypeCreation. of(TypeDescription typeDescription)Creates a type creation for the given type.StackManipulationShiftRight. toUnsigned()Returns the unsigned equivalent of this operation.Constructors in net.bytebuddy.implementation.bytecode with parameters of type StackManipulation Constructor Description Compound(StackManipulation... stackManipulation)Creates a new compound stack manipulation.ShiftRight(int opcode, StackSize stackSize, StackManipulation unsigned)Creates a new shift right.Simple(StackManipulation... stackManipulation)Creates a new simple byte code appender which represents the given stack manipulation.Constructor parameters in net.bytebuddy.implementation.bytecode with type arguments of type StackManipulation Constructor Description Compound(java.util.List<? extends StackManipulation> stackManipulations)Creates a new compound stack manipulation.Simple(java.util.List<? extends StackManipulation> stackManipulations)Creates a new simple byte code appender which represents the given stack manipulation. -
Uses of StackManipulation in net.bytebuddy.implementation.bytecode.assign
Classes in net.bytebuddy.implementation.bytecode.assign that implement StackManipulation Modifier and Type Class Description classInstanceCheckImplements aninstanceofcheck.classTypeCastingA stack manipulation for a type down casting.Methods in net.bytebuddy.implementation.bytecode.assign that return StackManipulation Modifier and Type Method Description StackManipulationAssigner. assign(TypeDescription.Generic source, TypeDescription.Generic target, Assigner.Typing typing)StackManipulationAssigner.Refusing. assign(TypeDescription.Generic source, TypeDescription.Generic target, Assigner.Typing typing)static StackManipulationInstanceCheck. of(TypeDescription typeDescription)Creates a new instance check.static StackManipulationTypeCasting. to(TypeDefinition typeDefinition)Creates a casting to the given, non-primitive type. -
Uses of StackManipulation in net.bytebuddy.implementation.bytecode.assign.primitive
Classes in net.bytebuddy.implementation.bytecode.assign.primitive that implement StackManipulation Modifier and Type Class Description private classPrimitiveBoxingDelegate.BoxingStackManipulationA stack manipulation for boxing a primitive type into its wrapper type.protected static classPrimitiveNarrowingDelegate.NarrowingStackManipulationA stack manipulation that narrows a primitive type into a smaller primitive type.classPrimitiveUnboxingDelegateThis delegate is responsible for unboxing a wrapper type to their primitive equivalents.protected static classPrimitiveWideningDelegate.WideningStackManipulationA stack manipulation that widens a primitive type into a more general primitive type.Fields in net.bytebuddy.implementation.bytecode.assign.primitive declared as StackManipulation Modifier and Type Field Description private StackManipulationPrimitiveBoxingDelegate.BoxingStackManipulation. stackManipulationA stack manipulation that is applied after the boxing of the top-most value on the operand stack.private StackManipulationPrimitiveNarrowingDelegate. toBooleanStackManipulationA stack manipulation that narrows the type that is represented by this instance to aboolean.private StackManipulationPrimitiveWideningDelegate. toBooleanStackManipulationA stack manipulation that widens the type that is represented by this instance to aboolean.private StackManipulationPrimitiveNarrowingDelegate. toByteStackManipulationA stack manipulation that narrows the type that is represented by this instance to abyte.private StackManipulationPrimitiveWideningDelegate. toByteStackManipulationA stack manipulation that widens the type that is represented by this instance to abyte.private StackManipulationPrimitiveNarrowingDelegate. toCharacterStackManipulationA stack manipulation that narrows the type that is represented by this instance to achar.private StackManipulationPrimitiveWideningDelegate. toCharacterStackManipulationA stack manipulation that widens the type that is represented by this instance to achar.private StackManipulationPrimitiveNarrowingDelegate. toDoubleStackManipulationA stack manipulation that narrows the type that is represented by this instance to adouble.private StackManipulationPrimitiveWideningDelegate. toDoubleStackManipulationA stack manipulation that widens the type that is represented by this instance to adouble.private StackManipulationPrimitiveNarrowingDelegate. toFloatStackManipulationA stack manipulation that narrows the type that is represented by this instance to afloat.private StackManipulationPrimitiveWideningDelegate. toFloatStackManipulationA stack manipulation that widens the type that is represented by this instance to afloat.private StackManipulationPrimitiveNarrowingDelegate. toIntegerStackManipulationA stack manipulation that narrows the type that is represented by this instance to aint.private StackManipulationPrimitiveWideningDelegate. toIntegerStackManipulationA stack manipulation that widens the type that is represented by this instance to aint.private StackManipulationPrimitiveNarrowingDelegate. toLongStackManipulationA stack manipulation that narrows the type that is represented by this instance to along.private StackManipulationPrimitiveWideningDelegate. toLongStackManipulationA stack manipulation that widens the type that is represented by this instance to along.private StackManipulationPrimitiveNarrowingDelegate. toShortStackManipulationA stack manipulation that narrows the type that is represented by this instance to ashort.private StackManipulationPrimitiveWideningDelegate. toShortStackManipulationA stack manipulation that widens the type that is represented by this instance to ashort.Methods in net.bytebuddy.implementation.bytecode.assign.primitive that return StackManipulation Modifier and Type Method Description StackManipulationPrimitiveTypeAwareAssigner. assign(TypeDescription.Generic source, TypeDescription.Generic target, Assigner.Typing typing)StackManipulationVoidAwareAssigner. assign(TypeDescription.Generic source, TypeDescription.Generic target, Assigner.Typing typing)StackManipulationPrimitiveBoxingDelegate. assignBoxedTo(TypeDescription.Generic target, Assigner chainedAssigner, Assigner.Typing typing)Creates a stack manipulation that boxes the represented primitive type and applies a chained assignment to the result of this boxing operation.StackManipulationPrimitiveUnboxingDelegate.ExplicitlyTypedUnboxingResponsible. assignUnboxedTo(TypeDescription.Generic targetType, Assigner assigner, Assigner.Typing typing)Attempts to unbox the represented type in order to assign the unboxed value to the given target type while using the assigner that is provided by the method call.StackManipulationPrimitiveUnboxingDelegate.ImplicitlyTypedUnboxingResponsible. assignUnboxedTo(TypeDescription.Generic target, Assigner assigner, Assigner.Typing typing)Attempts to unbox the represented type in order to assign the unboxed value to the given target type while using the assigner that is provided by the method call.StackManipulationPrimitiveUnboxingDelegate.UnboxingResponsible. assignUnboxedTo(TypeDescription.Generic target, Assigner assigner, Assigner.Typing typing)Attempts to unbox the represented type in order to assign the unboxed value to the given target type while using the assigner that is provided by the method call.StackManipulationPrimitiveNarrowingDelegate. narrowTo(TypeDefinition typeDefinition)Attempts to narrow the represented type into another type.StackManipulationPrimitiveWideningDelegate. widenTo(TypeDefinition typeDefinition)Attempts to widen the represented type into another type.Constructors in net.bytebuddy.implementation.bytecode.assign.primitive with parameters of type StackManipulation Constructor Description BoxingStackManipulation(StackManipulation stackManipulation)Creates a new boxing stack manipulation.PrimitiveNarrowingDelegate(StackManipulation toBooleanStackManipulation, StackManipulation toByteStackManipulation, StackManipulation toShortStackManipulation, StackManipulation toCharacterStackManipulation, StackManipulation toIntegerStackManipulation, StackManipulation toLongStackManipulation, StackManipulation toFloatStackManipulation, StackManipulation toDoubleStackManipulation)Creates a new primitive narrowing delegate.PrimitiveWideningDelegate(StackManipulation toBooleanStackManipulation, StackManipulation toByteStackManipulation, StackManipulation toShortStackManipulation, StackManipulation toCharacterStackManipulation, StackManipulation toIntegerStackManipulation, StackManipulation toLongStackManipulation, StackManipulation toFloatStackManipulation, StackManipulation toDoubleStackManipulation)Creates a new primitive widening delegate. -
Uses of StackManipulation in net.bytebuddy.implementation.bytecode.assign.reference
Methods in net.bytebuddy.implementation.bytecode.assign.reference that return StackManipulation Modifier and Type Method Description StackManipulationGenericTypeAwareAssigner. assign(TypeDescription.Generic source, TypeDescription.Generic target, Assigner.Typing typing)StackManipulationReferenceTypeAwareAssigner. assign(TypeDescription.Generic source, TypeDescription.Generic target, Assigner.Typing typing) -
Uses of StackManipulation in net.bytebuddy.implementation.bytecode.collection
Subinterfaces of StackManipulation in net.bytebuddy.implementation.bytecode.collection Modifier and Type Interface Description protected static interfaceArrayFactory.ArrayCreatorAn array creator is responsible for providing correct byte code instructions for creating an array and for storing values into it.Classes in net.bytebuddy.implementation.bytecode.collection that implement StackManipulation Modifier and Type Class Description protected classArrayAccess.LoaderA stack manipulation for loading an array's value.protected classArrayAccess.PutterA stack manipulation for storing an array's value.static classArrayFactory.ArrayCreator.ForPrimitiveTypeAn array creator implementation for primitive types.static classArrayFactory.ArrayCreator.ForReferenceTypeAn array creator implementation for reference types.protected classArrayFactory.ArrayStackManipulationA stack manipulation for creating an array as defined by the enclosing array factory.classArrayLengthAllows accessing the length of the array.Fields in net.bytebuddy.implementation.bytecode.collection with type parameters of type StackManipulation Modifier and Type Field Description private java.util.List<? extends StackManipulation>ArrayFactory.ArrayStackManipulation. stackManipulationsA list of value load instructions that are to be stored inside the created array.Methods in net.bytebuddy.implementation.bytecode.collection that return StackManipulation Modifier and Type Method Description StackManipulationArrayAccess. forEach(java.util.List<? extends StackManipulation> processInstructions)Applies a stack manipulation to the values of an array.StackManipulationArrayAccess. load()Creates a value-loading stack manipulation.StackManipulationArrayAccess. store()Creates a value-storing stack manipulation.StackManipulationArrayFactory. withValues(java.util.List<? extends StackManipulation> stackManipulations)Applies this collection factory in order to build a new collection where each element is represented by the given stack manipulations.StackManipulationCollectionFactory. withValues(java.util.List<? extends StackManipulation> stackManipulations)Applies this collection factory in order to build a new collection where each element is represented by the given stack manipulations.Method parameters in net.bytebuddy.implementation.bytecode.collection with type arguments of type StackManipulation Modifier and Type Method Description StackManipulationArrayAccess. forEach(java.util.List<? extends StackManipulation> processInstructions)Applies a stack manipulation to the values of an array.StackManipulationArrayFactory. withValues(java.util.List<? extends StackManipulation> stackManipulations)Applies this collection factory in order to build a new collection where each element is represented by the given stack manipulations.StackManipulationCollectionFactory. withValues(java.util.List<? extends StackManipulation> stackManipulations)Applies this collection factory in order to build a new collection where each element is represented by the given stack manipulations.Constructor parameters in net.bytebuddy.implementation.bytecode.collection with type arguments of type StackManipulation Constructor Description ArrayStackManipulation(java.util.List<? extends StackManipulation> stackManipulations)Creates a new array loading instruction. -
Uses of StackManipulation in net.bytebuddy.implementation.bytecode.constant
Subinterfaces of StackManipulation in net.bytebuddy.implementation.bytecode.constant Modifier and Type Interface Description static interfaceMethodConstant.CanCacheRepresents aMethodConstantthat is directly loaded onto the operand stack without caching the value.Classes in net.bytebuddy.implementation.bytecode.constant that implement StackManipulation Modifier and Type Class Description classClassConstantRepresents a constant representing any loaded JavaClass.protected static classClassConstant.ForReferenceTypeA class constant for a non-primitiveClass.classDefaultValueRepresents a stack assignment that loads the default value of a given type onto the stack.classDoubleConstantThis class is responsible for loading anydoubleconstant onto the operand stack.protected static classDoubleConstant.ConstantPoolA stack manipulation for loading adoublevalue from a class's constant pool onto the operand stack.classFieldConstantRepresents aFieldconstant for a given type.protected static classFieldConstant.CachedA cached version of aFieldConstant.classFloatConstantThis class is responsible for loading anyfloatconstant onto the operand stack.protected static classFloatConstant.ConstantPoolA stack manipulation for loading afloatvalue from a class's constant pool onto the operand stack.classIntegerConstantThis class is responsible for loading anyintconstant onto the operand stack.protected static classIntegerConstant.ConstantPoolA stack manipulation that loads a JVM-integer value from a constant pool value onto the operand stack.protected static classIntegerConstant.SingleBytePushA stack manipulation that loads a JVM-integer value by aBIPUSHoperation which is legal for single byte integer values.protected static classIntegerConstant.TwoBytePushA stack manipulation that loads a JVM-integer value by aSIPUSHoperation which is legal for up to two byte integer values.classJavaConstantValueA constant representing aJavaConstant.classLongConstantThis class is responsible for loading anylongconstant onto the operand stack.protected static classLongConstant.ConstantPoolA stack manipulation for loading alongvalue from a class's constant pool onto the operand stack.classMethodConstantRepresents the creation of aMethodvalue which can be created from a given set of constant pool values and can therefore be considered a constant in the broader meaning.protected static classMethodConstant.CachedConstructorRepresents a cached constructor for aMethodConstant.protected static classMethodConstant.CachedMethodRepresents a cached method for aMethodConstant.protected static classMethodConstant.CanCacheIllegalRepresents a method constant that cannot be represented by Java's reflection API.protected static classMethodConstant.ForConstructorCreates aMethodConstantfor loading aConstructorinstance onto the operand stack.protected static classMethodConstant.ForMethodCreates aMethodConstantfor loading aMethodinstance onto the operand stack.protected static classMethodConstant.PrivilegedLookupPerforms a privileged lookup of a method constant by using anjava.security.AccessController.classNullConstantRepresents a stack manipulation to load anullpointer onto the operand stack.classSerializedConstantA constant that represents a value in its serialized form.classTextConstantRepresents aStringvalue that is stored in a type's constant pool.Fields in net.bytebuddy.implementation.bytecode.constant declared as StackManipulation Modifier and Type Field Description private StackManipulationMethodConstant.CachedConstructor. constructorConstantThe stack manipulation that is represented by this caching wrapper.private StackManipulationFieldConstant.Cached. fieldConstantThe field constant stack manipulation.private StackManipulationMethodConstant.CachedMethod. methodConstantThe stack manipulation that is represented by this caching wrapper.private StackManipulationMethodConstant.PrivilegedLookup. methodNameThe stack manipulation for locating the method name.private StackManipulationDefaultValue. stackManipulationThe stack manipulation that represents the loading of a given default value onto the operand stack.Methods in net.bytebuddy.implementation.bytecode.constant that return StackManipulation Modifier and Type Method Description StackManipulationFieldConstant. cached()Returns a cached version of this field constant.StackManipulationMethodConstant.CanCache. cached()Returns this method constant as a cached version.StackManipulationMethodConstant.CanCacheIllegal. cached()Returns this method constant as a cached version.StackManipulationMethodConstant.ForConstructor. cached()Returns this method constant as a cached version.StackManipulationMethodConstant.ForMethod. cached()Returns this method constant as a cached version.StackManipulationMethodConstant.PrivilegedLookup. cached()Returns this method constant as a cached version.static StackManipulationDoubleConstant. forValue(double value)Creates a stack manipulation for loading adoublevalue onto the operand stack.static StackManipulationFloatConstant. forValue(float value)Creates a stack manipulation for loading afloatvalue onto the operand stack.static StackManipulationIntegerConstant. forValue(boolean value)Creates a stack manipulation for loading a boolean value onto the stack.static StackManipulationIntegerConstant. forValue(int value)Creates a stack manipulation for loading anintvalue onto the stack.static StackManipulationLongConstant. forValue(long value)Creates a stack manipulation for loading alongvalue onto the operand stack.protected StackManipulationMethodConstant.ForConstructor. methodName()protected StackManipulationMethodConstant.ForMethod. methodName()protected abstract StackManipulationMethodConstant. methodName()Returns a stack manipulation that loads the method name onto the operand stack if this is required.static StackManipulationClassConstant. of(TypeDescription typeDescription)Returns a stack manipulation that loads aClasstype onto the operand stack which represents the given type.static StackManipulationDefaultValue. of(TypeDefinition typeDefinition)Creates a stack assignment that loads the default value for a given type.static StackManipulationSerializedConstant. of(java.io.Serializable value)Creates a new stack manipulation to load the supplied value onto the stack.Methods in net.bytebuddy.implementation.bytecode.constant that return types with arguments of type StackManipulation Modifier and Type Method Description protected static java.util.List<StackManipulation>MethodConstant. typeConstantsFor(java.util.List<TypeDescription> parameterTypes)Returns a list of type constant load operations for the given list of parameters.Constructors in net.bytebuddy.implementation.bytecode.constant with parameters of type StackManipulation Constructor Description Cached(StackManipulation fieldConstant)Creates a new cached version of a field constant.CachedConstructor(StackManipulation constructorConstant)Creates a new cachedMethodConstant.CachedMethod(StackManipulation methodConstant)Creates a new cachedMethodConstant.DefaultValue(StackManipulation stackManipulation)Creates a new default value load operation.PrivilegedLookup(MethodDescription.InDefinedShape methodDescription, StackManipulation methodName)Creates a new privileged lookup. -
Uses of StackManipulation in net.bytebuddy.implementation.bytecode.member
Subinterfaces of StackManipulation in net.bytebuddy.implementation.bytecode.member Modifier and Type Interface Description static interfaceMethodInvocation.WithImplicitInvocationTargetTypeRepresents a method invocation where the invocation type (static, virtual, special, interface) is derived from the given method's description.Classes in net.bytebuddy.implementation.bytecode.member that implement StackManipulation Modifier and Type Class Description private classFieldAccess.AccessDispatcher.AbstractFieldInstructionAn abstract base implementation for accessing a field value.protected classFieldAccess.AccessDispatcher.FieldGetInstructionA reading field access operation.protected classFieldAccess.AccessDispatcher.FieldPutInstructionA writing field access operation.classHandleInvocationAn exact invocation of a method handle with a polymorphic signature.classInvokedynamicA stack manipulation for an invokedynamic invocation.protected static classMethodInvocation.HandleInvocationPerforms a method invocation on a method handle with a polymorphic type signature.protected static classMethodInvocation.IllegalInvocationAn illegal implicit method invocation.protected classMethodInvocation.InvocationAn implementation of a method invoking stack manipulation.protected static classMethodInvocation.OfGenericMethodA method invocation of a generically resolved method.classMethodReturnA stack manipulation returning a value of a given type.static classMethodVariableAccess.MethodLoadingA stack manipulation that loads all parameters of a given method onto the operand stack.protected static classMethodVariableAccess.OffsetIncrementingA stack manipulation that increments an integer variable.protected classMethodVariableAccess.OffsetLoadingA stack manipulation for loading a variable of a method's local variable array onto the operand stack.protected classMethodVariableAccess.OffsetWritingA stack manipulation for storing a variable into a method's local variable array.Methods in net.bytebuddy.implementation.bytecode.member that return StackManipulation Modifier and Type Method Description StackManipulationMethodInvocation.IllegalInvocation. dynamic(java.lang.String methodName, TypeDescription returnType, java.util.List<? extends TypeDescription> methodType, java.util.List<? extends JavaConstant> arguments)Invokes the method as a bootstrap method to bind a call site with the given properties.StackManipulationMethodInvocation.Invocation. dynamic(java.lang.String name, TypeDescription returnType, java.util.List<? extends TypeDescription> methodType, java.util.List<? extends JavaConstant> arguments)Invokes the method as a bootstrap method to bind a call site with the given properties.StackManipulationMethodInvocation.OfGenericMethod. dynamic(java.lang.String methodName, TypeDescription returnType, java.util.List<? extends TypeDescription> methodType, java.util.List<? extends JavaConstant> arguments)Invokes the method as a bootstrap method to bind a call site with the given properties.StackManipulationMethodInvocation.WithImplicitInvocationTargetType. dynamic(java.lang.String methodName, TypeDescription returnType, java.util.List<? extends TypeDescription> methodType, java.util.List<? extends JavaConstant> arguments)Invokes the method as a bootstrap method to bind a call site with the given properties.static StackManipulationFieldAccess. forEnumeration(EnumerationDescription enumerationDescription)Creates an accessor to read an enumeration value.StackManipulationMethodVariableAccess. increment(int offset, int value)Creates a stack assignment for incrementing the given offset of the local variable array.static StackManipulationMethodVariableAccess. increment(ParameterDescription parameterDescription, int value)Increments the value of the supplied parameter.static StackManipulationMethodVariableAccess. load(ParameterDescription parameterDescription)Loads a parameter's value onto the operand stack.StackManipulationMethodVariableAccess. loadFrom(int offset)Creates a stack assignment for a reading given offset of the local variable array.static StackManipulationMethodVariableAccess. loadThis()Loads a reference to thethisreference what is only meaningful for a non-static method.static StackManipulationMethodInvocation. lookup()Returns a method invocation ofjava.lang.invoke.MethodHandles#lookup().static StackManipulationMethodReturn. of(TypeDefinition typeDefinition)Returns a method return corresponding to a given type.StackManipulationMethodVariableAccess.MethodLoading.TypeCastingHandler.ForBridgeTarget. ofIndex(TypeDescription parameterType, int index)Yields a stack transformation to transform the given argument of the method for which the arguments are loaded onto the operand stack.StackManipulationMethodVariableAccess.MethodLoading.TypeCastingHandler.NoOp. ofIndex(TypeDescription parameterType, int index)Yields a stack transformation to transform the given argument of the method for which the arguments are loaded onto the operand stack.StackManipulationMethodVariableAccess.MethodLoading.TypeCastingHandler. ofIndex(TypeDescription parameterType, int index)Yields a stack transformation to transform the given argument of the method for which the arguments are loaded onto the operand stack.StackManipulationMethodInvocation.IllegalInvocation. onHandle(MethodInvocation.HandleType type)Invokes the method via aMethodHandle.StackManipulationMethodInvocation.Invocation. onHandle(MethodInvocation.HandleType type)Invokes the method via aMethodHandle.StackManipulationMethodInvocation.OfGenericMethod. onHandle(MethodInvocation.HandleType type)Invokes the method via aMethodHandle.StackManipulationMethodInvocation.WithImplicitInvocationTargetType. onHandle(MethodInvocation.HandleType type)Invokes the method via aMethodHandle.StackManipulationMethodVariableAccess.MethodLoading. prependThisReference()Prepends a reference to thethisinstance to the loaded parameters if the represented method is non-static.StackManipulationFieldAccess.AccessDispatcher. read()Creates a getter representation for a given field.StackManipulationFieldAccess.Defined. read()Creates a getter representation for a given field.StackManipulationFieldAccess.OfGenericField. read()Creates a getter representation for a given field.StackManipulationMethodInvocation.IllegalInvocation. special(TypeDescription invocationTarget)Transforms this method invocation into a special invocation on the given type.StackManipulationMethodInvocation.Invocation. special(TypeDescription invocationTarget)Transforms this method invocation into a special invocation on the given type.StackManipulationMethodInvocation.OfGenericMethod. special(TypeDescription invocationTarget)Transforms this method invocation into a special invocation on the given type.StackManipulationMethodInvocation.WithImplicitInvocationTargetType. special(TypeDescription invocationTarget)Transforms this method invocation into a special invocation on the given type.static StackManipulationMethodVariableAccess. store(ParameterDescription parameterDescription)Stores the top operand stack value at the supplied parameter.StackManipulationMethodVariableAccess. storeAt(int offset)Creates a stack assignment for writing to a given offset of the local variable array.StackManipulationMethodInvocation.IllegalInvocation. virtual(TypeDescription invocationTarget)Transforms this method invocation into a virtual (or interface) method invocation on the given type.StackManipulationMethodInvocation.Invocation. virtual(TypeDescription invocationTarget)Transforms this method invocation into a virtual (or interface) method invocation on the given type.StackManipulationMethodInvocation.OfGenericMethod. virtual(TypeDescription invocationTarget)Transforms this method invocation into a virtual (or interface) method invocation on the given type.StackManipulationMethodInvocation.WithImplicitInvocationTargetType. virtual(TypeDescription invocationTarget)Transforms this method invocation into a virtual (or interface) method invocation on the given type.StackManipulationFieldAccess.AccessDispatcher. write()Creates a setter representation for a given field.StackManipulationFieldAccess.Defined. write()Creates a setter representation for a given field.StackManipulationFieldAccess.OfGenericField. write()Creates a setter representation for a given field. -
Uses of StackManipulation in net.bytebuddy.utility
Fields in net.bytebuddy.utility declared as StackManipulation Modifier and Type Field Description private StackManipulationConstantValue.Simple. stackManipulationA stack manipulation that loads a constant.Methods in net.bytebuddy.utility that return StackManipulation Modifier and Type Method Description StackManipulationConstantValue.Simple. toStackManipulation()Returns a stack manipulation loading this value.StackManipulationConstantValue. toStackManipulation()Returns a stack manipulation loading this value.StackManipulationJavaConstant.Dynamic. toStackManipulation()Returns a stack manipulation loading this value.StackManipulationJavaConstant.MethodHandle. toStackManipulation()Returns a stack manipulation loading this value.StackManipulationJavaConstant.MethodType. toStackManipulation()Returns a stack manipulation loading this value.StackManipulationJavaConstant.Simple.OfTrivialValue.ForDouble. toStackManipulation()Returns a stack manipulation loading this value.StackManipulationJavaConstant.Simple.OfTrivialValue.ForFloat. toStackManipulation()Returns a stack manipulation loading this value.StackManipulationJavaConstant.Simple.OfTrivialValue.ForInteger. toStackManipulation()Returns a stack manipulation loading this value.StackManipulationJavaConstant.Simple.OfTrivialValue.ForLong. toStackManipulation()Returns a stack manipulation loading this value.StackManipulationJavaConstant.Simple.OfTrivialValue.ForString. toStackManipulation()Returns a stack manipulation loading this value.StackManipulationJavaConstant.Simple.OfTypeDescription. toStackManipulation()Returns a stack manipulation loading this value.Constructors in net.bytebuddy.utility with parameters of type StackManipulation Constructor Description Simple(StackManipulation stackManipulation, TypeDescription typeDescription)Creates a simple constant value.
-