Class DocumentationIdProvider

java.lang.Object
ch.njol.skript.doc.DocumentationIdProvider

public class DocumentationIdProvider extends Object
  • Constructor Details

    • DocumentationIdProvider

      public DocumentationIdProvider()
  • Method Details

    • getId

      public static <T> String getId(SyntaxElementInfo<? extends T> syntaxInfo)
      Gets the documentation ID of a syntax element
      Parameters:
      syntaxInfo - the SyntaxElementInfo to get the ID of
      Returns:
      the ID of the syntax element
    • getId

      public static String getId(Function<?> function)
      Gets the documentation ID of a function
      Parameters:
      function - the function to get the ID of
      Returns:
      the documentation ID of the function
    • getId

      public static String getId(ClassInfo<?> classInfo)
      Gets the documentation ID of a ClassInfo
      Parameters:
      classInfo - the ClassInfo to get the ID of
      Returns:
      the ID of the ClassInfo
    • getId

      public static String getId(SkriptEventInfo<?> eventInfo)
      Gets the documentation ID of an event
      Parameters:
      eventInfo - the event to get the ID of
      Returns:
      the ID of the event