Groovy Documentation

## org.codehaus.groovy.ast
[Java] Class AstToTextHelper

    java.lang.Object
      org.codehaus.groovy.ast.AstToTextHelper

    public class AstToTextHelper
    extends java.lang.Object

Helper class for converting AST into text.

Authors:
  Hamlet D'Arcy

Method Summary
`static java.lang.String` | `getClassText(ClassNode node)`
`static java.lang.String` | `getModifiersText(int modifiers)`
`static java.lang.String` | `getParameterText(Parameter node)`
`static java.lang.String` | `getParametersText(Parameter[] parameters)`
`static java.lang.String` | `getThrowsClauseText(ClassNode[] exceptions)`

Methods inherited from class java.lang.Object
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()

Method Detail

### getClassText

    public static java.lang.String getClassText(ClassNode node)

### getModifiersText

    public static java.lang.String getModifiersText(int modifiers)

### 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)

Groovy Documentation