Class ModAnnotationVisitor
- java.lang.Object
-
- org.objectweb.asm.AnnotationVisitor
-
- net.minecraftforge.fml.loading.moddiscovery.ModAnnotationVisitor
-
public class ModAnnotationVisitor extends org.objectweb.asm.AnnotationVisitor
-
-
Field Summary
Fields Modifier and Type Field Description private ModAnnotation
annotation
private java.util.LinkedList<ModAnnotation>
annotations
private boolean
array
private boolean
isSubAnnotation
private java.lang.String
name
-
Constructor Summary
Constructors Constructor Description ModAnnotationVisitor(java.util.LinkedList<ModAnnotation> annotations, ModAnnotation annotation)
ModAnnotationVisitor(java.util.LinkedList<ModAnnotation> annotations, ModAnnotation annotation, boolean isSubAnnotation)
ModAnnotationVisitor(java.util.LinkedList<ModAnnotation> annotations, ModAnnotation annotation, java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
visit(java.lang.String key, java.lang.Object value)
org.objectweb.asm.AnnotationVisitor
visitAnnotation(java.lang.String name, java.lang.String desc)
org.objectweb.asm.AnnotationVisitor
visitArray(java.lang.String name)
void
visitEnd()
void
visitEnum(java.lang.String name, java.lang.String desc, java.lang.String value)
-
-
-
Field Detail
-
annotation
private final ModAnnotation annotation
-
annotations
private java.util.LinkedList<ModAnnotation> annotations
-
array
private boolean array
-
name
private java.lang.String name
-
isSubAnnotation
private boolean isSubAnnotation
-
-
Constructor Detail
-
ModAnnotationVisitor
public ModAnnotationVisitor(java.util.LinkedList<ModAnnotation> annotations, ModAnnotation annotation)
-
ModAnnotationVisitor
public ModAnnotationVisitor(java.util.LinkedList<ModAnnotation> annotations, ModAnnotation annotation, java.lang.String name)
-
ModAnnotationVisitor
public ModAnnotationVisitor(java.util.LinkedList<ModAnnotation> annotations, ModAnnotation annotation, boolean isSubAnnotation)
-
-
Method Detail
-
visit
public void visit(java.lang.String key, java.lang.Object value)
- Overrides:
visit
in classorg.objectweb.asm.AnnotationVisitor
-
visitEnum
public void visitEnum(java.lang.String name, java.lang.String desc, java.lang.String value)
- Overrides:
visitEnum
in classorg.objectweb.asm.AnnotationVisitor
-
visitArray
public org.objectweb.asm.AnnotationVisitor visitArray(java.lang.String name)
- Overrides:
visitArray
in classorg.objectweb.asm.AnnotationVisitor
-
visitAnnotation
public org.objectweb.asm.AnnotationVisitor visitAnnotation(java.lang.String name, java.lang.String desc)
- Overrides:
visitAnnotation
in classorg.objectweb.asm.AnnotationVisitor
-
visitEnd
public void visitEnd()
- Overrides:
visitEnd
in classorg.objectweb.asm.AnnotationVisitor
-
-