Class ModClassVisitor

java.lang.Object
org.objectweb.asm.ClassVisitor
net.minecraftforge.fml.loading.moddiscovery.ModClassVisitor

@Internal class ModClassVisitor extends org.objectweb.asm.ClassVisitor
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    private class 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final LinkedList<ModAnnotation>
     
    private org.objectweb.asm.Type
     
    private org.objectweb.asm.Type
     
    private Set<org.objectweb.asm.Type>
     

    Fields inherited from class org.objectweb.asm.ClassVisitor

    api, cv
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    buildData(Set<net.minecraftforge.forgespi.language.ModFileScanData.ClassData> classes, Set<net.minecraftforge.forgespi.language.ModFileScanData.AnnotationData> baked)
     
    void
    visit(int version, int access, String name, String signature, String superName, String[] interfaces)
     
    org.objectweb.asm.AnnotationVisitor
    visitAnnotation(String annotationName, boolean runtimeVisible)
     
    org.objectweb.asm.FieldVisitor
    visitField(int access, String name, String desc, String signature, Object value)
     
    org.objectweb.asm.MethodVisitor
    visitMethod(int access, String name, String desc, String signature, String[] exceptions)
     

    Methods inherited from class org.objectweb.asm.ClassVisitor

    getDelegate, visitAttribute, visitEnd, visitInnerClass, visitModule, visitNestHost, visitNestMember, visitOuterClass, visitPermittedSubclass, visitRecordComponent, visitSource, visitTypeAnnotation

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • asmType

      private org.objectweb.asm.Type asmType
    • asmSuperType

      private org.objectweb.asm.Type asmSuperType
    • interfaces

      private Set<org.objectweb.asm.Type> interfaces
    • annotations

      private final LinkedList<ModAnnotation> annotations
  • Constructor Details

    • ModClassVisitor

      ModClassVisitor()
  • Method Details

    • visit

      public void visit(int version, int access, String name, String signature, String superName, String[] interfaces)
      Overrides:
      visit in class org.objectweb.asm.ClassVisitor
    • visitAnnotation

      public org.objectweb.asm.AnnotationVisitor visitAnnotation(String annotationName, boolean runtimeVisible)
      Overrides:
      visitAnnotation in class org.objectweb.asm.ClassVisitor
    • visitField

      public org.objectweb.asm.FieldVisitor visitField(int access, String name, String desc, String signature, Object value)
      Overrides:
      visitField in class org.objectweb.asm.ClassVisitor
    • visitMethod

      public org.objectweb.asm.MethodVisitor visitMethod(int access, String name, String desc, String signature, String[] exceptions)
      Overrides:
      visitMethod in class org.objectweb.asm.ClassVisitor
    • buildData

      public void buildData(Set<net.minecraftforge.forgespi.language.ModFileScanData.ClassData> classes, Set<net.minecraftforge.forgespi.language.ModFileScanData.AnnotationData> baked)