subprojects/griffon-carbonado-groovy-compile/src/main/java/org/codehaus/griffon/compile/carbonado/ast/transform/CarbonadoAwareASTTransformation.java
/**
     * Adds the necessary field and methods to support carbonado handling.
     *
     * @param declaringClass the class to which we add the support field and methods
     */
Adds the necessary field and methods to support carbonado handling.
@param declaringClass the class to which we add the support field and methods
Adds the necessary field and methods to support carbonado handling . @param declaringClass the class to which we add the support field and methods
public static void apply(@Nonnull ClassNode declaringClass) {
        injectInterface(declaringClass, CARBONADO_HANDLER_CNODE);
        Expression carbonadoHandler = injectedField(declaringClass, CARBONADO_HANDLER_CNODE, CARBONADO_HANDLER_FIELD_NAME);
        addDelegateMethods(declaringClass, CARBONADO_HANDLER_CNODE, carbonadoHandler);
    }
public static void apply ( @ Nonnull ClassNode declaringClass ) { injectInterface ( declaringClass , CARBONADO_HANDLER_CNODE ) ; Expression carbonadoHandler = injectedField ( declaringClass , CARBONADO_HANDLER_CNODE , CARBONADO_HANDLER_FIELD_NAME ) ; addDelegateMethods ( declaringClass , CARBONADO_HANDLER_CNODE , carbonadoHandler ) ; }
Adds the necessary field and methods to support carbonado handling.
Adds the necessary field and methods to support carbonado handling .