public class ModAnnotation
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ModAnnotation.EnumHolder |
Modifier and Type | Field and Description |
---|---|
private java.util.ArrayList<java.lang.Object> |
arrayList |
private java.lang.String |
arrayName |
(package private) org.objectweb.asm.Type |
asmType |
(package private) java.lang.String |
member |
(package private) ASMModParser.AnnotationType |
type |
(package private) java.util.Map<java.lang.String,java.lang.Object> |
values |
Constructor and Description |
---|
ModAnnotation(ASMModParser.AnnotationType type,
org.objectweb.asm.Type asmType,
ModAnnotation parent) |
ModAnnotation(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() |
ASMModParser.AnnotationType |
getType() |
java.util.Map<java.lang.String,java.lang.Object> |
getValues() |
java.lang.String |
toString() |
ASMModParser.AnnotationType type
org.objectweb.asm.Type asmType
java.lang.String member
java.util.Map<java.lang.String,java.lang.Object> values
private java.util.ArrayList<java.lang.Object> arrayList
private java.lang.String arrayName
public ModAnnotation(ASMModParser.AnnotationType type, org.objectweb.asm.Type asmType, java.lang.String member)
public ModAnnotation(ASMModParser.AnnotationType type, org.objectweb.asm.Type asmType, ModAnnotation parent)
public java.lang.String toString()
toString
in class java.lang.Object
public 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)