public static boolean isTypeManagedBeanOrDecoratorOrInterceptor ( AnnotatedType < ? > annotatedType ) { Class < ? > javaClass = annotatedType . getJavaClass ( ) ; return ! javaClass . isEnum ( ) && ! Extension . class . isAssignableFrom ( javaClass ) && Reflections . isTopLevelOrStaticNestedClass ( javaClass ) && ! Reflections . isParameterizedTypeWithWildcard ( javaClass ) && hasSimpleCdiConstructor ( annotatedType ) ; }
Indicates if the type is a simple Web Bean