Class PropertyBaseExpression<Handler extends PropertyHandler.ExpressionPropertyHandler<?,?>>

java.lang.Object
ch.njol.skript.lang.util.SimpleExpression<Object>
org.skriptlang.skript.lang.properties.PropertyBaseExpression<Handler>
Type Parameters:
Handler - The type of ExpressionPropertyHandler used by this expression.
All Implemented Interfaces:
Debuggable, Expression<Object>, Loopable<Object>, Simplifiable<Expression<? extends Object>>, SyntaxElement, PropertyBaseSyntax<Handler>, RuntimeErrorProducer, SyntaxRuntimeErrorProducer
Direct Known Subclasses:
PropExprAmount, PropExprCustomName, PropExprName, PropExprNumber, PropExprSize, PropExprValueOf

@Experimental public abstract class PropertyBaseExpression<Handler extends PropertyHandler.ExpressionPropertyHandler<?,?>> extends SimpleExpression<Object> implements PropertyBaseSyntax<Handler>
A base class for properties that requires only few overridden methods. Any property using this class must have a handler implementing PropertyHandler.ExpressionPropertyHandler.
This class handles multiple possible property handlers for different input types, as well as change modes and type checking.
convert(Event, ExpressionPropertyHandler, Object) can be overridden to customize how the property value is retrieved.
See Also: