Package org.codenarc.rule.comments
Class CommentsUtil
java.lang.Object
org.codenarc.rule.comments.CommentsUtil
- All Implemented Interfaces:
groovy.lang.GroovyObject
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongroovy.lang.MetaClass
getProperty
(String property) protected static String
protected static boolean
hasTextOnNextLine
(SourceCode sourceCode, int lineNumber) invokeMethod
(String method, Object arguments) void
setMetaClass
(groovy.lang.MetaClass mc) void
setProperty
(String property, Object value)
-
Field Details
-
WHITESPACE
- See Also:
-
OPTIONAL_WHITESPACE
- See Also:
-
NON_WHITESPACE_CHARS
- See Also:
-
NEW_LINE
- See Also:
-
RELUCTANT
-
JAVADOC_START
- See Also:
-
JAVADOC_ANY_LINES
-
JAVADOC_EMPTY_LINE
- See Also:
-
JAVADOC_END
- See Also:
-
JAVADOC_LINE_PREFIX
- See Also:
-
JAVADOC_LINE_WITH_TEXT
-
-
Constructor Details
-
CommentsUtil
public CommentsUtil()
-
-
Method Details
-
getMetaClass
public groovy.lang.MetaClass getMetaClass()- Specified by:
getMetaClass
in interfacegroovy.lang.GroovyObject
-
setMetaClass
public void setMetaClass(groovy.lang.MetaClass mc) - Specified by:
setMetaClass
in interfacegroovy.lang.GroovyObject
-
invokeMethod
- Specified by:
invokeMethod
in interfacegroovy.lang.GroovyObject
-
getProperty
- Specified by:
getProperty
in interfacegroovy.lang.GroovyObject
-
setProperty
- Specified by:
setProperty
in interfacegroovy.lang.GroovyObject
-
group
-
hasTextOnNextLine
-