Interface AnnotationReader<S extends CommandSource>
Represents a class that has a single responsibility of
reading the annotation components of an annotated command class
-
Method Summary
Modifier and TypeMethodDescriptionvoidacceptCommandsParsing(CommandClassParser<S, Set<Command<S>>> visitor) <E extends Throwable>
voidacceptThrowableResolversParsing(CommandClassParser<S, Set<MethodCommandExceptionHandler<?, S>>> visitor) static <S extends CommandSource>
AnnotationReader<S>read(Imperat<S> imperat, ElementSelector<MethodElement> methodSelector, AnnotationParser<S> parser, Object target)
-
Method Details
-
read
static <S extends CommandSource> AnnotationReader<S> read(Imperat<S> imperat, ElementSelector<MethodElement> methodSelector, AnnotationParser<S> parser, Object target) -
getRootClass
RootCommandClass<S> getRootClass() -
getParsedClass
ClassElement getParsedClass() -
acceptCommandsParsing
-
acceptThrowableResolversParsing
<E extends Throwable> void acceptThrowableResolversParsing(CommandClassParser<S, Set<MethodCommandExceptionHandler<?, S>>> visitor)
-