Class AnnotationUtil

java.lang.Object
info.u_team.u_team_core.util.annotation.AnnotationUtil

public class AnnotationUtil extends Object
Annotation utility methods
  • 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 found ModFileScanData.AnnotationData for the give annotation Type and modid.
      Parameters:
      modid - The mod files to search for annotations
      type - Annotation type
      Returns:
      List of found annotation data