Class ExpressionInfo<E extends Expression<T>,T>

java.lang.Object
ch.njol.skript.lang.SyntaxElementInfo<E>
ch.njol.skript.lang.ExpressionInfo<E,T>
All Implemented Interfaces:
DefaultSyntaxInfos, SyntaxInfo<E>

@Deprecated(since="2.14", forRemoval=true) public class ExpressionInfo<E extends Expression<T>,T> extends SyntaxElementInfo<E>
Deprecated, for removal: This API element is subject to removal in a future version.
Represents an expression's information, for use when creating new instances of expressions.
  • Field Details

    • expressionType

      @Nullable public @Nullable ExpressionType expressionType
      Deprecated, for removal: This API element is subject to removal in a future version.
    • returnType

      public Class<T> returnType
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Constructor Details

  • Method Details

    • getReturnType

      public Class<T> getReturnType()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Get the return type of this expression.
      Returns:
      The return type of this Expression
    • getExpressionType

      @Nullable public @Nullable ExpressionType getExpressionType()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Get the type of this expression.
      Returns:
      The type of this Expression