Class ModClassVisitor


  • public class ModClassVisitor
    extends org.objectweb.asm.ClassVisitor
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.LinkedList<ModAnnotation> annotations  
      private org.objectweb.asm.Type asmSuperType  
      private org.objectweb.asm.Type asmType  
      private java.util.Set<org.objectweb.asm.Type> interfaces  
      • Fields inherited from class org.objectweb.asm.ClassVisitor

        api, cv
    • Constructor Summary

      Constructors 
      Constructor Description
      ModClassVisitor()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void buildData​(java.util.Set<net.minecraftforge.forgespi.language.ModFileScanData.ClassData> classes, java.util.Set<net.minecraftforge.forgespi.language.ModFileScanData.AnnotationData> annotations)  
      void visit​(int version, int access, java.lang.String name, java.lang.String signature, java.lang.String superName, java.lang.String[] interfaces)  
      org.objectweb.asm.AnnotationVisitor visitAnnotation​(java.lang.String annotationName, boolean runtimeVisible)  
      org.objectweb.asm.FieldVisitor visitField​(int access, java.lang.String name, java.lang.String desc, java.lang.String signature, java.lang.Object value)  
      org.objectweb.asm.MethodVisitor visitMethod​(int access, java.lang.String name, java.lang.String desc, java.lang.String signature, java.lang.String[] exceptions)  
      • Methods inherited from class org.objectweb.asm.ClassVisitor

        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 Detail

      • asmType

        private org.objectweb.asm.Type asmType
      • asmSuperType

        private org.objectweb.asm.Type asmSuperType
      • interfaces

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

        private final java.util.LinkedList<ModAnnotation> annotations
    • Constructor Detail

      • ModClassVisitor

        public ModClassVisitor()
    • Method Detail

      • visit

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

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

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

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

        public void buildData​(java.util.Set<net.minecraftforge.forgespi.language.ModFileScanData.ClassData> classes,
                              java.util.Set<net.minecraftforge.forgespi.language.ModFileScanData.AnnotationData> annotations)