Class Advice.OffsetMapping.ForField.Resolved.Factory<T extends java.lang.annotation.Annotation>

    • Field Detail

      • annotationType

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

        private final FieldDescription fieldDescription
        The field to be bound.
      • readOnly

        private final boolean readOnly
        true if this factory should create a read-only binding.
    • Constructor Detail

      • Factory

        public Factory​(java.lang.Class<T> annotationType,
                       FieldDescription fieldDescription)
        Creates a new factory for binding a specific field with read-only semantics and static typing.
        Parameters:
        annotationType - The annotation type.
        fieldDescription - The field to bind.
      • Factory

        public Factory​(java.lang.Class<T> annotationType,
                       FieldDescription fieldDescription,
                       boolean readOnly,
                       Assigner.Typing typing)
        Creates a new factory for binding a specific field.
        Parameters:
        annotationType - The annotation type.
        fieldDescription - The field to bind.
        readOnly - true if this factory should create a read-only binding.
        typing - The typing to use.