Class MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForStackManipulation.OfSerializedConstant<T extends java.lang.annotation.Annotation>

    • Field Detail

      • annotationType

        private final java.lang.Class<T extends java.lang.annotation.Annotation> annotationType
        The annotation type.
      • deserialization

        private final StackManipulation deserialization
        A stack manipulation that represents the deserialization.
      • typeDescription

        private final TypeDescription.Generic typeDescription
        A description of the type that is returned as a result of the deserialization.
    • Constructor Detail

      • OfSerializedConstant

        protected 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.
        Parameters:
        annotationType - The annotation type.
        deserialization - A stack manipulation that represents the deserialization.
        typeDescription - A description of the type that is returned as a result of the deserialization.