org.codehaus.groovy.ast
Class AstToTextHelper
java.lang.Object
org.codehaus.groovy.ast.AstToTextHelper
public class AstToTextHelper
- extends java.lang.Object
Helper class for converting AST into text.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AstToTextHelper
public AstToTextHelper()
getClassText
public static java.lang.String getClassText(ClassNode node)
getParameterText
public static java.lang.String getParameterText(Parameter node)
getParametersText
public static java.lang.String getParametersText(Parameter[] parameters)
getThrowsClauseText
public static java.lang.String getThrowsClauseText(ClassNode[] exceptions)
getModifiersText
public static java.lang.String getModifiersText(int modifiers)