groovy.lang.GroovyObject, RuleJavadocMissingExceptionDescriptionRule, JavadocMissingParamDescriptionRule, JavadocMissingThrowsDescriptionRulepublic abstract class AbstractJavadocMissingDescriptionRule extends AbstractAstVisitorRule implements groovy.lang.GroovyObject
CLOSURE_TEXT, DEFAULT_CONST_NAME, DEFAULT_FIELD_NAME, DEFAULT_TEST_CLASS_NAMES, DEFAULT_TEST_FILES, DEFAULT_VAR_NAME| Constructor | Description |
|---|---|
AbstractJavadocMissingDescriptionRule() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
applyTo(SourceCode sourceCode,
List<Violation> violations) |
Apply this rule to the specified source and return a list of violations (or an empty List)
|
boolean |
getAllowMultiline() |
|
groovy.lang.MetaClass |
getMetaClass() |
|
int |
getPriority() |
|
Object |
getProperty(String property) |
|
protected abstract String |
getTag() |
|
Object |
invokeMethod(String method,
Object arguments) |
|
boolean |
isAllowMultiline() |
|
void |
setAllowMultiline(boolean value) |
|
void |
setMetaClass(groovy.lang.MetaClass mc) |
|
void |
setPriority(int value) |
Set the priority for this rule
|
void |
setProperty(String property,
Object value) |
getApplyToClassNames, getAstVisitor, getAstVisitorClass, getDoNotApplyToClassNames, setApplyToClassNames, setDoNotApplyToClassNames, shouldApplyThisRuleToapplyTo, createViolation, createViolation, createViolationForImport, createViolationForImport, getApplyToFileNames, getApplyToFilesMatching, getCompilerPhase, getDescription, getDoNotApplyToFileNames, getDoNotApplyToFilesMatching, getName, getViolationMessage, isEnabled, isReady, setApplyToFileNames, setApplyToFilesMatching, setDescription, setDoNotApplyToFileNames, setDoNotApplyToFilesMatching, setEnabled, setName, setViolationMessage, toString, validatepublic AbstractJavadocMissingDescriptionRule()
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.GroovyObjectpublic int getPriority()
getPriority in interface RulegetPriority in class AbstractRulepublic void setPriority(int value)
AbstractRulesetPriority in class AbstractRulevalue - - the priority of this rule, between 1 (highest priority) and 3 (lowest priority), inclusive.public boolean getAllowMultiline()
public boolean isAllowMultiline()
public void setAllowMultiline(boolean value)
protected abstract String getTag()
public void applyTo(SourceCode sourceCode, List<Violation> violations)
AbstractRuleapplyTo in class AbstractAstVisitorRulesourceCode - - the source to apply this rule toviolations - - the List of violations to which new violations from this rule are to be addedCopyright © 2019. All rights reserved.