Class ModAnnotation
java.lang.Object
net.neoforged.fml.loading.modscan.ModAnnotation
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionModAnnotation(ElementType type, Type asmType, String member) ModAnnotation(Type asmType, ModAnnotation parent) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddChildAnnotation(String name, String desc) voidaddEnumProperty(String key, String enumName, String value) voidaddProperty(String key, Object value) voidendArray()fromModAnnotation(Type clazz, ModAnnotation annotation) getType()toString()
-
Field Details
-
type
-
asmType
-
member
-
values
-
arrayList
-
arrayName
-
-
Constructor Details
-
ModAnnotation
-
ModAnnotation
-
-
Method Details
-
fromModAnnotation
public static ModFileScanData.AnnotationData fromModAnnotation(Type clazz, ModAnnotation annotation) -
toString
-
getType
-
getASMType
-
getMember
-
getValues
-
addArray
-
addProperty
-
addEnumProperty
-
endArray
public void endArray() -
addChildAnnotation
-