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
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
-
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)
-
-
-
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
-
-
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 classorg.objectweb.asm.ClassVisitor
-
visitAnnotation
public org.objectweb.asm.AnnotationVisitor visitAnnotation(java.lang.String annotationName, boolean runtimeVisible)
- Overrides:
visitAnnotation
in classorg.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 classorg.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 classorg.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)
-
-