public static boolean hasAnnotation ( final ClassNode classNode , final Class < ? extends Annotation > annotationClass ) { return ! classNode . getAnnotations ( new ClassNode ( annotationClass ) ) . isEmpty ( ) ; }
Returns true if classNode is marked with annotationClass