Top Constructors Methods
org.codehaus.groovy.antlr.java

public Class Java2GroovyProcessor

extends Object
Class Inheritance
Annotations
@Deprecated
Imports
antlr.collections.AST, org.codehaus.groovy.antlr.AntlrASTProcessor, .SourceBuffer, .UnicodeEscapingReader, org.codehaus.groovy.antlr.parser.GroovyLexer, .GroovyRecognizer, org.codehaus.groovy.antlr.treewalker.MindMapPrinter, .NodePrinter, .PreOrderTraversal, .SourceCodeTraversal, .SourcePrinter, .Visitor, org.codehaus.groovy.runtime.ResourceGroovyMethods, java.io.ByteArrayOutputStream, .File, .FileNotFoundException, .FileOutputStream, .PrintStream, .StringReader, java.util.List

Deprecated

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static String
convert(String filename, String input)

public static String
convert(String filename, String input, boolean withHeader, boolean withNewLines)

private static String[]
private static JavaRecognizer
private static void
groovifyFatJavaLikeGroovyAST(AST ast, String[] groovyTokenNames)

public static String
mindmap(String input)

private static void
public static String
public static void
processFiles(List<String> fileNames)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

Java2GroovyProcessorback to summary
public Java2GroovyProcessor()

Method Detail

convertback to summary
public static String convert(String filename, String input) throws Exception
convertback to summary
public static String convert(String filename, String input, boolean withHeader, boolean withNewLines) throws Exception
getGroovyTokenNamesback to summary
private static String[] getGroovyTokenNames(String input)
getJavaParserback to summary
private static JavaRecognizer getJavaParser(String input)
groovifyFatJavaLikeGroovyASTback to summary
private static void groovifyFatJavaLikeGroovyAST(AST ast, String[] groovyTokenNames)
mindmapback to summary
public static String mindmap(String input) throws Exception
modifyJavaASTintoGroovyASTback to summary
private static void modifyJavaASTintoGroovyAST(String[] tokenNames, AST ast)
nodePrinterback to summary
public static String nodePrinter(String input) throws Exception
processFilesback to summary
public static void processFiles(List<String> fileNames) throws Exception