Package dev.rollczi.litecommands.wrapper
Interface WrapFormat<PARSED,OUT>
- All Known Implementing Classes:
WrapFormatTypeToken
public interface WrapFormat<PARSED,OUT>
-
Method Summary
Modifier and TypeMethodDescriptionClass<?> booleanstatic <PARSED> WrapFormat<PARSED, PARSED> notWrapped(TypeToken<PARSED> type) static <PARSED> WrapFormat<PARSED, PARSED> notWrapped(Class<PARSED> type) static <PARSED,OUT>
WrapFormat<PARSED, OUT> static <PARSED,OUT>
WrapFormat<PARSED, OUT> TypeToken<?> outType()
-
Method Details
-
getParsedType
-
parsedType
-
hasOutType
boolean hasOutType() -
getOutTypeOrParsed
Class<?> getOutTypeOrParsed() -
outOrElseParsed
TypeToken<?> outOrElseParsed() -
getOutType
-
outType
-
of
-
notWrapped
-
of
static <PARSED,OUT> WrapFormat<PARSED,OUT> of(TypeToken<PARSED> type, TypeToken<OUT> toWrapperType) -
notWrapped
-