Class GenericTypeInstance<B>
java.lang.Object
net.orbyfied.j8.command.parameter.GenericTypeInstance<B>
- All Implemented Interfaces:
ParameterType<B>
-
Constructor Summary
ConstructorsConstructorDescriptionGenericTypeInstance(GenericParameterType<B> base, List<ParameterType> types) GenericTypeInstance(GenericParameterType<B> base, ParameterType... types) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetBase()Class<?>getType()voidsuggest(Context context, SuggestionAccumulator suggestions) voidwrite(Context context, StringBuilder builder, B v)
-
Constructor Details
-
GenericTypeInstance
-
GenericTypeInstance
-
-
Method Details
-
getBase
-
getIdentifier
- Specified by:
getIdentifierin interfaceParameterType<B>
-
getBaseIdentifier
- Specified by:
getBaseIdentifierin interfaceParameterType<B>
-
getType
- Specified by:
getTypein interfaceParameterType<B>
-
accepts
- Specified by:
acceptsin interfaceParameterType<B>
-
parse
- Specified by:
parsein interfaceParameterType<B>
-
write
- Specified by:
writein interfaceParameterType<B>
-
suggest
- Specified by:
suggestin interfaceParameterType<B>
-