Top Description Inners Fields Constructors Methods
tools.jackson.module.afterburner.ser

public Class PropertyAccessorCollector

extends DynamicPropertyAccessorBase
Class Inheritance
Imports
tools.jackson.databind.introspect.AnnotatedMember, tools.jackson.databind.ser.BeanPropertyWriter, tools.jackson.module.afterburner.deser.PropertyMutatorCollector, tools.jackson.module.afterburner.util.ClassName, .DynamicPropertyAccessorBase, .MyClassLoader, tools.jackson.module.afterburner.util.bytebuddy.*, net.bytebuddy.ByteBuddy, .ClassFileVersion, net.bytebuddy.description.field.FieldDescription, .FieldList, net.bytebuddy.description.method.MethodDescription, .MethodList, net.bytebuddy.description.modifier.TypeManifestation, .Visibility, net.bytebuddy.description.type.TypeDefinition, .TypeDescription, net.bytebuddy.dynamic.DynamicType, net.bytebuddy.dynamic.scaffold.TypeValidation, net.bytebuddy.dynamic.scaffold.subclass.ConstructorStrategy, net.bytebuddy.implementation.Implementation, net.bytebuddy.implementation.bytecode.StackManipulation, net.bytebuddy.implementation.bytecode.member.FieldAccess, .MethodInvocation, .MethodReturn, .MethodVariableAccess, net.bytebuddy.jar.asm.MethodVisitor, java.util.*

Simple collector used to keep track of properties for which code-generated accessors are needed.

Nested and Inner Type Summary

Modifier and TypeClass and Description
private abstract static class
PropertyAccessorCollector.AbstractSinglePropStackManipulation<T extends OptimizedBeanPropertyWriter<T>>

Provides template for a method that returns a single getter or field of the bean

private static class
private static class
private static enum
PropertyAccessorCollector.LocalVarIndexCalculator

Implementation specific to PropertyMutatorCollector We now that there are three arguments to the methods created in this case

private static class
private static class
private static class
private static class
private static class

Field Summary

Modifier and TypeField and Description
private final List<BooleanFieldPropertyWriter>
private final List<BooleanMethodPropertyWriter>
private final List<IntFieldPropertyWriter>
private final List<IntMethodPropertyWriter>
private final List<LongFieldPropertyWriter>
private final List<LongMethodPropertyWriter>
private final List<ObjectFieldPropertyWriter>
private final List<ObjectMethodPropertyWriter>
private final List<StringFieldPropertyWriter>
private final List<StringMethodPropertyWriter>
private final Class<?>
private final TypeDescription
Inherited from tools.jackson.module.afterburner.util.DynamicPropertyAccessorBase:
_accessorCount

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private <T extends OptimizedBeanPropertyWriter<T>> DynamicType.Builder<?>
_addFields(DynamicType.Builder<?> builder, List<T> props, String methodName, MethodReturn methodReturn)

private <T extends OptimizedBeanPropertyWriter<T>> DynamicType.Builder<?>
_addGetters(DynamicType.Builder<?> builder, List<T> props, String methodName, MethodReturn methodReturn)

public BooleanFieldPropertyWriter
public BooleanMethodPropertyWriter
public IntFieldPropertyWriter
public IntMethodPropertyWriter
public LongFieldPropertyWriter
public LongMethodPropertyWriter
public ObjectFieldPropertyWriter
public ObjectMethodPropertyWriter
public StringFieldPropertyWriter
public StringMethodPropertyWriter
public BeanPropertyAccessor
public Class<?>
Inherited from tools.jackson.module.afterburner.util.DynamicPropertyAccessorBase:
_addisEmpty