[Java] Class AstToTextHelper
- org.codehaus.groovy.ast.AstToTextHelper
public class AstToTextHelper extends Object
Helper class for converting AST into text.
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
public static String |
getClassText(ClassNode node) | |
public static String |
getModifiersText(int modifiers) | |
public static String |
getParameterText(Parameter node) | |
public static String |
getParametersText(Parameter[] parameters) | |
public static String |
getThrowsClauseText(ClassNode[] exceptions) |
Inherited Methods Summary
Methods inherited from class | Name |
---|---|
class Object | wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Method Detail
public static String getClassText(ClassNode node)
public static String getModifiersText(int modifiers)
public static String getParameterText(Parameter node)
public static String getParametersText(Parameter[] parameters)
public static String getThrowsClauseText(ClassNode[] exceptions)
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/3.0.7/html/gapi/org/codehaus/groovy/ast/AstToTextHelper.html