Top Description Fields Constructors Methods
tools.jackson.module.afterburner.util.bytebuddy

public abstract Class AbstractDelegatingAppender<T>

extends Object
implements ByteCodeAppender
Class Inheritance
All Implemented Interfaces
net.bytebuddy.implementation.bytecode.ByteCodeAppender
Known Direct Subclasses
tools.jackson.module.afterburner.deser.PropertyMutatorCollector.FieldAppender, tools.jackson.module.afterburner.deser.PropertyMutatorCollector.MethodAppender, tools.jackson.module.afterburner.ser.PropertyAccessorCollector.MethodAppender, tools.jackson.module.afterburner.ser.PropertyAccessorCollector.FieldAppender
Imports
net.bytebuddy.description.method.MethodDescription, net.bytebuddy.implementation.Implementation, net.bytebuddy.implementation.bytecode.ByteCodeAppender, .StackManipulation, net.bytebuddy.jar.asm.MethodVisitor, java.util.ArrayList, .List

Provides the basic algorithm for adding the starting and ending parts of method implementations as well as handling the delegation to the proper appender Should not be called when no properties are needed

Field Summary

Modifier and TypeField and Description
private final int

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public ByteCodeAppender.Size
apply(MethodVisitor methodVisitor, Implementation.Context implementationContext, MethodDescription instrumentedMethod)

Implements net.bytebuddy.implementation.bytecode.ByteCodeAppender.apply.

Applies this byte code appender to a type creation process.

protected abstract StackManipulation
protected abstract StackManipulation
protected abstract StackManipulation
protected abstract StackManipulation
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

propsSizeback to summary
private final int propsSize

Constructor Detail

AbstractDelegatingAppenderback to summary
public AbstractDelegatingAppender(List<T> props)

Method Detail

applyback to summary
public ByteCodeAppender.Size apply(MethodVisitor methodVisitor, Implementation.Context implementationContext, MethodDescription instrumentedMethod)

Implements net.bytebuddy.implementation.bytecode.ByteCodeAppender.apply.

Doc from net.bytebuddy.implementation.bytecode.ByteCodeAppender.apply.

Applies this byte code appender to a type creation process.

Annotations
@Override
createLocalVarback to summary
protected abstract StackManipulation createLocalVar()
singleback to summary
protected abstract StackManipulation single()
usingIfback to summary
protected abstract StackManipulation usingIf()
usingSwitchback to summary
protected abstract StackManipulation usingSwitch()