public class ModAnnotation
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
ModAnnotation.EnumHolder |
Constructor and Description |
---|
ModAnnotation(net.minecraftforge.fml.common.discovery.asm.ASMModParser.AnnotationType type,
org.objectweb.asm.Type asmType,
ModAnnotation parent) |
ModAnnotation(net.minecraftforge.fml.common.discovery.asm.ASMModParser.AnnotationType type,
org.objectweb.asm.Type asmType,
java.lang.String member) |
Modifier and Type | Method and Description |
---|---|
void |
addArray(java.lang.String name) |
ModAnnotation |
addChildAnnotation(java.lang.String name,
java.lang.String desc) |
void |
addEnumProperty(java.lang.String key,
java.lang.String enumName,
java.lang.String value) |
void |
addProperty(java.lang.String key,
java.lang.Object value) |
void |
endArray() |
org.objectweb.asm.Type |
getASMType() |
java.lang.String |
getMember() |
net.minecraftforge.fml.common.discovery.asm.ASMModParser.AnnotationType |
getType() |
java.util.Map<java.lang.String,java.lang.Object> |
getValues() |
java.lang.String |
toString() |
public ModAnnotation(net.minecraftforge.fml.common.discovery.asm.ASMModParser.AnnotationType type, org.objectweb.asm.Type asmType, java.lang.String member)
public ModAnnotation(net.minecraftforge.fml.common.discovery.asm.ASMModParser.AnnotationType type, org.objectweb.asm.Type asmType, ModAnnotation parent)
public java.lang.String toString()
toString
in class java.lang.Object
public net.minecraftforge.fml.common.discovery.asm.ASMModParser.AnnotationType getType()
public org.objectweb.asm.Type getASMType()
public java.lang.String getMember()
public java.util.Map<java.lang.String,java.lang.Object> getValues()
public void addArray(java.lang.String name)
public void addProperty(java.lang.String key, java.lang.Object value)
public void addEnumProperty(java.lang.String key, java.lang.String enumName, java.lang.String value)
public void endArray()
public ModAnnotation addChildAnnotation(java.lang.String name, java.lang.String desc)