private void addToBuilder(Stream.Builder<Annotation> builder, Annotation ann) {
        checkIfAnnotation(ann);
        builder.add(ann);
    }
Wraps annotation types to facilitate additional annotations for CDI

@param <T> type of annotated class
support/cdi/src/main/java/org/apache/shiro/cdi/AnnotatedTypeWrapper.java