Package ch.njol.skript.registrations
Class Converters
java.lang.Object
ch.njol.skript.registrations.Converters
Deprecated, for removal: This API element is subject to removal in a future version.
WARNING! This class has been removed in this update.
This class stub has been left behind to prevent loading errors from outdated addons, but its functionality has been largely removed.-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionstatic <F,
T> T[] Deprecated, for removal: This API element is subject to removal in a future version.static <F,
T> T Deprecated, for removal: This API element is subject to removal in a future version.static <F,
T> T Deprecated, for removal: This API element is subject to removal in a future version.static <T> T[]
convertArray
(@Nullable Object[] o, Class<? extends T>[] to, Class<T> superType) Deprecated, for removal: This API element is subject to removal in a future version.static <T> T[]
convertArray
(@Nullable Object[] o, Class<T> to) Deprecated, for removal: This API element is subject to removal in a future version.static boolean
converterExists
(Class<?> from, Class<?> to) Deprecated, for removal: This API element is subject to removal in a future version.static boolean
converterExists
(Class<?> from, Class<?>... to) Deprecated, for removal: This API element is subject to removal in a future version.static <T> T[]
convertStrictly
(Object[] original, Class<T> to) Deprecated, for removal: This API element is subject to removal in a future version.static <T> T
convertStrictly
(Object original, Class<T> to) Deprecated, for removal: This API element is subject to removal in a future version.static <F,
T> T[] convertUnsafe
(F[] from, Class<?> to, Converter<? super F, ? extends T> conv) Deprecated, for removal: This API element is subject to removal in a future version.static <F,
T> Converter <? super F, ? extends T> getConverter
(Class<F> from, Class<T> to) Deprecated, for removal: This API element is subject to removal in a future version.static <F,
T> ConverterInfo <? super F, ? extends T> getConverterInfo
(Class<F> from, Class<T> to) Deprecated, for removal: This API element is subject to removal in a future version.static <F,
T> List <ConverterInfo<?, ?>> Deprecated, for removal: This API element is subject to removal in a future version.static <F,
T> void registerConverter
(Class<F> from, Class<T> to, Converter<F, T> converter) Deprecated, for removal: This API element is subject to removal in a future version.static <F,
T> void registerConverter
(Class<F> from, Class<T> to, Converter<F, T> converter, int options) Deprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Details
-
Converters
public Converters()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
getConverters
Deprecated, for removal: This API element is subject to removal in a future version. -
registerConverter
@Deprecated(forRemoval=true) public static <F,T> void registerConverter(Class<F> from, Class<T> to, Converter<F, T> converter) Deprecated, for removal: This API element is subject to removal in a future version. -
registerConverter
@Deprecated(forRemoval=true) public static <F,T> void registerConverter(Class<F> from, Class<T> to, Converter<F, T> converter, int options) Deprecated, for removal: This API element is subject to removal in a future version. -
convert
Deprecated, for removal: This API element is subject to removal in a future version. -
convert
Deprecated, for removal: This API element is subject to removal in a future version. -
convertArray
@Deprecated(forRemoval=true) public static <T> T[] convertArray(@Nullable @Nullable Object[] o, Class<T> to) Deprecated, for removal: This API element is subject to removal in a future version. -
convertArray
@Deprecated(forRemoval=true) public static <T> T[] convertArray(@Nullable @Nullable Object[] o, Class<? extends T>[] to, Class<T> superType) Deprecated, for removal: This API element is subject to removal in a future version. -
convertStrictly
@Deprecated(forRemoval=true) public static <T> T[] convertStrictly(Object[] original, Class<T> to) throws ClassCastException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
ClassCastException
-
convertStrictly
@Deprecated(forRemoval=true) public static <T> T convertStrictly(Object original, Class<T> to) throws ClassCastException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
ClassCastException
-
converterExists
Deprecated, for removal: This API element is subject to removal in a future version. -
converterExists
Deprecated, for removal: This API element is subject to removal in a future version. -
getConverter
@Deprecated(forRemoval=true) public static <F,T> Converter<? super F,? extends T> getConverter(Class<F> from, Class<T> to) Deprecated, for removal: This API element is subject to removal in a future version. -
getConverterInfo
@Deprecated(forRemoval=true) public static <F,T> ConverterInfo<? super F,? extends T> getConverterInfo(Class<F> from, Class<T> to) Deprecated, for removal: This API element is subject to removal in a future version. -
convertUnsafe
@Deprecated(forRemoval=true) public static <F,T> T[] convertUnsafe(F[] from, Class<?> to, Converter<? super F, ? extends T> conv) Deprecated, for removal: This API element is subject to removal in a future version. -
convert
@Deprecated(forRemoval=true) public static <F,T> T[] convert(F[] from, Class<T> to, Converter<? super F, ? extends T> conv) Deprecated, for removal: This API element is subject to removal in a future version.
-
Converters