Handy methods when working with Closure AST data structures.
| Type Params | Return Type | Name and description | 
|---|---|---|
|  | static String | convertClosureToSource(ReaderSource readerSource, ClosureExpression expression)Converts a ClosureExpression into the String source. | 
|  | static Parameter[] | getParametersSafe(ClosureExpression ce)@return the parameters for the ClosureExpression | 
|  | static boolean | hasImplicitParameter(ClosureExpression ce)@return true if the ClosureExpression has an implicit 'it' parameter | 
|  | static boolean | hasSingleCharacterArg(Closure c)Does the Closure have a single char-like (char or Character) argument. | 
|  | static boolean | hasSingleStringArg(Closure c)Does the Closure have a single String argument. | 
Converts a ClosureExpression into the String source.
readerSource -  a sourceexpression -  a closure. Can't be null
Does the Closure have a single char-like (char or Character) argument.
c -  a ClosureDoes the Closure have a single String argument.
c -  a Closure