public static boolean canProcessAnnotation ( final Class < ? extends Component < ? > > componentClass ) { final SkipAnnotation skip = ClassUtility . getLastClassAnnotation ( componentClass , SkipAnnotation . class ) ; // No annotation or annotation deactivated ==> skip annotation processing return ! ( skip == null || skip . value ( ) ) ; }
Check if annotation can be processed for the given class .