Package ch.njol.skript.classes
@NonNullByDefault({PARAMETER,RETURN_TYPE,FIELD})
package ch.njol.skript.classes
Code related to handling the different types of Java, Skript, and Bukkit.
-
InterfaceDescriptionArithmetic<A,R>Represents arithmetic for certain two types.Changer<T>An interface to declare changeable values.Cloner<T>An interface for optionally cloning an object, should return the given object if no cloning is required.Comparator<T1,T2>Used to compare two objects of a different or the same type.Converter<F,T>Converts data from type to another.Deprecated.Deprecated.
-
ClassDescriptionChainedConverter<F,M,T>Used to chain convertes to build a single converter.ClassInfo<T>Comparator.ComparatorInfo<T1,T2>holds information about a comparator.ConfigurationSerializer<T extends org.bukkit.configuration.serialization.ConfigurationSerializable>Uses strings for serialisation because the whole ConfigurationSerializable interface is badly documented, and especially DelegateDeserialization doesn't work well with Yggdrasil.Converter.ConverterInfo<F,T>holds information about a converterEnumSerializer<T extends Enum<T>>Mainly kept for backwards compatibility, but also serves as
ClassResolver
for enums.InverseComparator<T1,T2>Parser<T>A parser used to parse data from a string or turn data into a string.SerializableGetter<R,A>Deprecated.Serializer<T>YggdrasilSerializer<T extends YggdrasilSerializable> -
Enum ClassDescriptionrepresents a relation between two objects.