static <A extends Annotation> boolean methodOrClassHasAnnotation(
            final @NonNull Method method,
            final @NonNull Class<A> clazz
    ) {
        return getMethodOrClassAnnotation(method, clazz) != null;
    }
Construct a new annotation parser

@param manager           Command manager instance
@param commandSenderType Command sender type
@param metaMapper        Function that is used to create {@link CommandMeta} instances from annotations on the
                         command methods. These annotations will be mapped to
                         {@link ParserParameter}. Mappers for the
                         parser parameters can be registered using {@link #registerAnnotationMapper(Class, AnnotationMapper)}
cloud-annotations/src/main/java/org/incendo/cloud/annotations/AnnotationParser.java