Class ClassScanner.RecordComponentScanner

java.lang.Object
org.objectweb.asm.RecordComponentVisitor
de.thetaphi.forbiddenapis.ClassScanner.RecordComponentScanner
All Implemented Interfaces:
Reporter
Enclosing class:
ClassScanner

private final class ClassScanner.RecordComponentScanner extends org.objectweb.asm.RecordComponentVisitor implements Reporter
  • Field Details

    • name

      private final String name
    • currentLocation

      private String currentLocation
  • Constructor Details

    • RecordComponentScanner

      RecordComponentScanner(String name, String desc)
  • Method Details

    • visitAnnotation

      public org.objectweb.asm.AnnotationVisitor visitAnnotation(String desc, boolean visible)
      Overrides:
      visitAnnotation in class org.objectweb.asm.RecordComponentVisitor
    • visitTypeAnnotation

      public org.objectweb.asm.AnnotationVisitor visitTypeAnnotation(int typeRef, org.objectweb.asm.TypePath typePath, String desc, boolean visible)
      Overrides:
      visitTypeAnnotation in class org.objectweb.asm.RecordComponentVisitor
    • location

      public void location(String location)
      Specified by:
      location in interface Reporter
    • report

      public void report(String message, ViolationSeverity severity)
      Specified by:
      report in interface Reporter