Class Advice.OffsetMapping.ForSerializedValue.Factory<T extends Annotation>

java.lang.Object
net.bytebuddy.asm.Advice.OffsetMapping.ForSerializedValue.Factory<T>
Type Parameters:
T - The annotation type this factory binds.
All Implemented Interfaces:
Advice.OffsetMapping.Factory<T>
Enclosing class:
Advice.OffsetMapping.ForSerializedValue

@Enhance public static class Advice.OffsetMapping.ForSerializedValue.Factory<T extends Annotation> extends Object implements Advice.OffsetMapping.Factory<T>
A factory for loading a deserialized value.
  • Field Details

    • annotationType

      private final Class<T extends Annotation> annotationType
      The annotation type.
    • typeDescription

      private final TypeDescription typeDescription
      The type description as which to treat the deserialized value.
    • deserialization

      private final StackManipulation deserialization
      The stack manipulation that loads the represented value.
  • Constructor Details

    • Factory

      protected Factory(Class<T> annotationType, TypeDescription typeDescription, StackManipulation deserialization)
      Creates a factory for loading a deserialized value.
      Parameters:
      annotationType - The annotation type.
      typeDescription - The type description as which to treat the deserialized value.
      deserialization - The stack manipulation that loads the represented value.
  • Method Details