Class RecordComponentRemapper

    • Field Detail

      • remapper

        protected final Remapper remapper
        The remapper used to remap the types in the visited field.
    • Method Detail

      • visitAnnotationExperimental

        public AnnotationVisitor visitAnnotationExperimental​(String descriptor,
                                                             boolean visible)
        Description copied from class: RecordComponentVisitor
        Visits an annotation of the record component.
        Overrides:
        visitAnnotationExperimental in class RecordComponentVisitor
        Parameters:
        descriptor - the class descriptor of the annotation class.
        visible - true if the annotation is visible at runtime.
        Returns:
        a visitor to visit the annotation values, or null if this visitor is not interested in visiting this annotation.
      • createAnnotationRemapper

        protected AnnotationVisitor createAnnotationRemapper​(AnnotationVisitor annotationVisitor)
        Constructs a new remapper for annotations. The default implementation of this method returns a new AnnotationRemapper.
        Parameters:
        annotationVisitor - the AnnotationVisitor the remapper must delegate to.
        Returns:
        the newly created remapper.