Class AnnotationRemoval.AnnotationRemovingFieldVisitor

java.lang.Object
org.objectweb.asm.FieldVisitor
net.bytebuddy.asm.AnnotationRemoval.AnnotationRemovingFieldVisitor
Enclosing class:
AnnotationRemoval

private static class AnnotationRemoval.AnnotationRemovingFieldVisitor extends org.objectweb.asm.FieldVisitor
A field visitor that removes annotations.
  • Field Details

  • Constructor Details

    • AnnotationRemovingFieldVisitor

      private AnnotationRemovingFieldVisitor(org.objectweb.asm.FieldVisitor fieldVisitor, ElementMatcher<? super AnnotationDescription> annotationMatcher, Map<String,AnnotationDescription> annotations)
      Creates a visitor for removing annotations from fields.
      Parameters:
      fieldVisitor - The field visitor to delegate to.
      annotationMatcher - AMatches annotations that should be removed.
      annotations - A map of annotation type descriptors names and descriptors to consider for removal.
  • Method Details

    • visitAnnotation

      @MaybeNull public org.objectweb.asm.AnnotationVisitor visitAnnotation(String descriptor, boolean visible)
      Overrides:
      visitAnnotation in class org.objectweb.asm.FieldVisitor