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