Class ModClassVisitor
java.lang.Object
org.objectweb.asm.ClassVisitor
net.minecraftforge.fml.loading.moddiscovery.ModClassVisitor
public class ModClassVisitor
extends org.objectweb.asm.ClassVisitor
-
Field Summary
Modifier and TypeFieldDescriptionprivate 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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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
-
Field Details
-
asmType
private org.objectweb.asm.Type asmType -
asmSuperType
private org.objectweb.asm.Type asmSuperType -
interfaces
-
annotations
-
-
Constructor Details
-
ModClassVisitor
public ModClassVisitor()
-
-
Method Details
-
visit
public void visit(int version, int access, String name, String signature, String superName, String[] interfaces) - Overrides:
visit
in classorg.objectweb.asm.ClassVisitor
-
visitAnnotation
public org.objectweb.asm.AnnotationVisitor visitAnnotation(String annotationName, boolean runtimeVisible) - Overrides:
visitAnnotation
in classorg.objectweb.asm.ClassVisitor
-
visitField
public org.objectweb.asm.FieldVisitor visitField(int access, String name, String desc, String signature, Object value) - Overrides:
visitField
in classorg.objectweb.asm.ClassVisitor
-
visitMethod
public org.objectweb.asm.MethodVisitor visitMethod(int access, String name, String desc, String signature, String[] exceptions) - Overrides:
visitMethod
in classorg.objectweb.asm.ClassVisitor
-
buildData
-