Class SyntaxElementInfo<E extends SyntaxElement>

java.lang.Object
ch.njol.skript.lang.SyntaxElementInfo<E>
Type Parameters:
E - the syntax element this info is for
Direct Known Subclasses:
ExpressionInfo, StructureInfo

public class SyntaxElementInfo<E extends SyntaxElement> extends Object
  • Field Details

    • elementClass

      public final Class<E extends SyntaxElement> elementClass
    • patterns

      public final String[] patterns
    • originClassPath

      public final String originClassPath
  • Constructor Details

  • Method Details

    • getElementClass

      public Class<E> getElementClass()
      Get the class that represents this element.
      Returns:
      The Class of the element
    • getPatterns

      public String[] getPatterns()
      Get the patterns of this syntax element.
      Returns:
      Array of Skript patterns for this element
    • getOriginClassPath

      public String getOriginClassPath()
      Get the original classpath for this element.
      Returns:
      The original ClassPath for this element