groovy.lang.GroovyObjectpublic class CommentsUtil extends Object implements groovy.lang.GroovyObject
| Modifier and Type | Field | Description |
|---|---|---|
protected static String |
JAVADOC_ANY_LINES |
|
protected static String |
JAVADOC_EMPTY_LINE |
|
protected static String |
JAVADOC_END |
|
protected static String |
JAVADOC_LINE_PREFIX |
|
protected static String |
JAVADOC_LINE_WITH_TEXT |
|
protected static String |
JAVADOC_START |
|
protected static String |
NEW_LINE |
|
protected static String |
NON_WHITESPACE_CHARS |
|
protected static String |
OPTIONAL_WHITESPACE |
|
protected static String |
RELUCTANT |
|
protected static String |
WHITESPACE |
| Constructor | Description |
|---|---|
CommentsUtil() |
| Modifier and Type | Method | Description |
|---|---|---|
groovy.lang.MetaClass |
getMetaClass() |
|
Object |
getProperty(String property) |
|
protected static String |
group(String inside) |
|
protected static boolean |
hasTextOnNextLine(SourceCode sourceCode,
int lineNumber) |
|
Object |
invokeMethod(String method,
Object arguments) |
|
void |
setMetaClass(groovy.lang.MetaClass mc) |
|
void |
setProperty(String property,
Object value) |
protected static final String WHITESPACE
protected static final String OPTIONAL_WHITESPACE
protected static final String NON_WHITESPACE_CHARS
protected static final String NEW_LINE
protected static final String RELUCTANT
protected static final String JAVADOC_START
protected static final String JAVADOC_ANY_LINES
protected static final String JAVADOC_EMPTY_LINE
protected static final String JAVADOC_END
protected static final String JAVADOC_LINE_PREFIX
protected static final String JAVADOC_LINE_WITH_TEXT
public groovy.lang.MetaClass getMetaClass()
getMetaClass in interface groovy.lang.GroovyObjectpublic void setMetaClass(groovy.lang.MetaClass mc)
setMetaClass in interface groovy.lang.GroovyObjectpublic Object invokeMethod(String method, Object arguments)
invokeMethod in interface groovy.lang.GroovyObjectpublic Object getProperty(String property)
getProperty in interface groovy.lang.GroovyObjectpublic void setProperty(String property, Object value)
setProperty in interface groovy.lang.GroovyObjectprotected static boolean hasTextOnNextLine(SourceCode sourceCode, int lineNumber)
Copyright © 2019. All rights reserved.