Class AnnotationUtil
java.lang.Object
info.u_team.u_team_core.util.annotation.AnnotationUtil
Annotation utility methods
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic List<net.minecraftforge.forgespi.language.ModFileScanData.AnnotationData>
getAnnotations
(String modid, org.objectweb.asm.Type type) Returns a list of foundModFileScanData.AnnotationData
for the give annotationType
and modid.
-
Constructor Details
-
AnnotationUtil
public AnnotationUtil()
-
-
Method Details
-
getAnnotations
public static List<net.minecraftforge.forgespi.language.ModFileScanData.AnnotationData> getAnnotations(String modid, org.objectweb.asm.Type type) Returns a list of foundModFileScanData.AnnotationData
for the give annotationType
and modid.- Parameters:
modid
- The mod files to search for annotationstype
- Annotation type- Returns:
- List of found annotation data
-