Package spoon.processing

Examples of spoon.processing.ProcessingManager


            getLog().info("Adding input source: " + inputSource.getPath());
            builder.addInputSource(inputSource);
        }
        builder.build();

        final ProcessingManager processing = new QueueProcessingManager(factory);
        for (final String processor : processors) {
            getLog().info("Adding processor: " + processor);
            if (processor.endsWith(".groovy")) {
                final File script = new File(processor);
                if (script.exists()) {
                    processing.addProcessor(new GroovyProcessor<CtElement>(script));
                }
            } else {
                processing.addProcessor(processor);
            }
        }
        processing.addProcessor(new JavaOutputProcessor(outputDirectory));
        processing.process();
    }
View Full Code Here

TOP

Related Classes of spoon.processing.ProcessingManager

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.