Package cuke4duke.internal.groovy

Examples of cuke4duke.internal.groovy.GroovyHook


    private static void addHook(String phase, Object[] tagsAndBody) {
        if (tagsAndBody.length == 0) return;
        String[] tagNames = new String[tagsAndBody.length - 1];
        System.arraycopy(tagsAndBody, 0, tagNames, 0, tagNames.length);
        Closure body = (Closure) tagsAndBody[tagsAndBody.length - 1];
        languageMixin.add_hook(phase, new GroovyHook(Arrays.asList(tagNames), body, groovyLanguage));
    }
View Full Code Here

TOP

Related Classes of cuke4duke.internal.groovy.GroovyHook

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.