subprojects/griffon-carbonado-groovy-compile/src/main/java/org/codehaus/griffon/compile/carbonado/ast/transform/CarbonadoAwareASTTransformation.java
/**
     * Convenience method to see if an annotated node is {@code @CarbonadoAware}.
     *
     * @param node the node to check
     *
     * @return true if the node is an event publisher
     */
Convenience method to see if an annotated node is  .
@param node the node to check

@return true if the node is an event publisher
Convenience method to see if an annotated node is . @param node the node to check @return true if the node is an event publisher
public static boolean hasCarbonadoAwareAnnotation(AnnotatedNode node) {
        for (AnnotationNode annotation : node.getAnnotations()) {
            if (CARBONADO_AWARE_CNODE.equals(annotation.getClassNode())) {
                return true;
            }
        }
        return false;
    }
public static boolean hasCarbonadoAwareAnnotation ( AnnotatedNode node ) { for ( AnnotationNode annotation : node . getAnnotations ( ) ) { if ( CARBONADO_AWARE_CNODE . equals ( annotation . getClassNode ( ) ) ) { return true ; } } return false ; }
Convenience method to see if an annotated node is {@code @CarbonadoAware}.
Convenience method to see if an annotated node is { @code @CarbonadoAware } .