Class WrapFormat<PARSED,OUT>

java.lang.Object
dev.rollczi.litecommands.wrapper.WrapFormat<PARSED,OUT>

public class WrapFormat<PARSED,OUT> extends Object
  • Method Details

    • getParsedType

      public Class<PARSED> getParsedType()
    • hasOutType

      public boolean hasOutType()
    • getOutTypeOrParsed

      public Class<?> getOutTypeOrParsed()
    • getOutType

      public Class<OUT> getOutType()
    • of

      public static <PARSED, OUT> WrapFormat<PARSED,OUT> of(Class<PARSED> type, Class<OUT> toWrapperType)
    • notWrapped

      public static <PARSED> WrapFormat<PARSED,PARSED> notWrapped(Class<PARSED> type)