Class ModAnnotation
java.lang.Object
net.neoforged.fml.loading.modscan.ModAnnotation
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionModAnnotation
(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()
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 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
-