Class ModAnnotation
java.lang.Object
net.minecraftforge.fml.loading.moddiscovery.ModAnnotation
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
ConstructorDescriptionModAnnotation(ElementType type, org.objectweb.asm.Type asmType, String member)
ModAnnotation(org.objectweb.asm.Type asmType, ModAnnotation parent)
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addChildAnnotation(String name, String desc)
void
addEnumProperty(String key, String enumName, String value)
void
addProperty(String key, Object value)
void
endArray()
static net.minecraftforge.forgespi.language.ModFileScanData.AnnotationData
fromModAnnotation(org.objectweb.asm.Type clazz, ModAnnotation annotation)
org.objectweb.asm.Type
getType()
toString()
-
Field Details
-
type
-
asmType
private final org.objectweb.asm.Type asmType -
member
-
values
-
arrayList
-
arrayName
-
-
Constructor Details
-
ModAnnotation
-
ModAnnotation
-
-
Method Details
-
fromModAnnotation
public static net.minecraftforge.forgespi.language.ModFileScanData.AnnotationData fromModAnnotation(org.objectweb.asm.Type clazz, ModAnnotation annotation) -
toString
-
getType
-
getASMType
public org.objectweb.asm.Type getASMType() -
getMember
-
getValues
-
addArray
-
addProperty
-
addEnumProperty
-
endArray
public void endArray() -
addChildAnnotation
-