Package ch.njol.skript.lang
Class ExpressionInfo<E extends Expression<T>,T>
java.lang.Object
ch.njol.skript.lang.SyntaxElementInfo<E>
ch.njol.skript.lang.ExpressionInfo<E,T>
-
Field Summary
Fields inherited from class ch.njol.skript.lang.SyntaxElementInfo
c, originClassPath, patterns
-
Constructor Summary
ConstructorDescriptionExpressionInfo(String[] patterns, Class<T> returnType, Class<E> c, String originClassPath, @Nullable ExpressionType expressionType)
-
Method Summary
Modifier and TypeMethodDescription@Nullable ExpressionType
Get the type of this expression.Get the return type of this expression.Methods inherited from class ch.njol.skript.lang.SyntaxElementInfo
getElementClass, getOriginClassPath, getPatterns
-
Field Details
-
returnType
-
expressionType
-
-
Constructor Details
-
ExpressionInfo
public ExpressionInfo(String[] patterns, Class<T> returnType, Class<E> c, String originClassPath) throws IllegalArgumentException- Throws:
IllegalArgumentException
-
ExpressionInfo
public ExpressionInfo(String[] patterns, Class<T> returnType, Class<E> c, String originClassPath, @Nullable ExpressionType expressionType) throws IllegalArgumentException- Throws:
IllegalArgumentException
-
-
Method Details
-
getReturnType
Get the return type of this expression.- Returns:
- The return type of this Expression
-
getExpressionType
Get the type of this expression.- Returns:
- The type of this Expression
-