Skip to content

Commit 21a5acb

Browse files
Calixteromani
authored andcommitted
#161 Update to Checkstyle 8.21
1 parent 6ca1092 commit 21a5acb

File tree

9 files changed

+47
-5
lines changed

9 files changed

+47
-5
lines changed

net.sf.eclipsecs.checkstyle/.classpath

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<classpath>
3-
<classpathentry exported="true" kind="lib" path="checkstyle-8.20-all.jar" sourcepath="checkstyle-checkstyle-8.20.zip"/>
3+
<classpathentry exported="true" kind="lib" path="checkstyle-8.21-all.jar" sourcepath="checkstyle-checkstyle-8.21.zip"/>
44
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8">
55
<attributes>
66
<attribute name="maven.pomderived" value="true"/>

net.sf.eclipsecs.checkstyle/META-INF/MANIFEST.MF

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,5 @@ Export-Package: .,
4646
com.puppycrawl.tools.checkstyle.utils,
4747
org.apache.commons.beanutils;version="8.20.0"
4848
Bundle-ClassPath: .,
49-
checkstyle-8.20-all.jar
49+
checkstyle-8.21-all.jar
5050
Automatic-Module-Name: net.sf.eclipsecs.checkstyle
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
bin.includes = META-INF/,\
22
.,\
33
license/,\
4-
checkstyle-8.20-all.jar
4+
checkstyle-8.21-all.jar
55
jars.compile.order = .
66
source.. = metadata/
-23.1 MB
Binary file not shown.
11 MB
Binary file not shown.

net.sf.eclipsecs.checkstyle/metadata/com/puppycrawl/tools/checkstyle/checks/annotation/checkstyle-metadata.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@
109109
<property-value-option value="VARIABLE_DEF" />
110110
<property-value-option value="ANNOTATION_DEF" />
111111
<property-value-option value="ANNOTATION_FIELD_DEF" />
112-
<property-value-option value="PARAMETER_DEF" />
113112
</enumeration>
114113
</property-metadata>
115114
<property-metadata name="allowSamelineSingleParameterlessAnnotation" datatype="Boolean"

net.sf.eclipsecs.checkstyle/metadata/com/puppycrawl/tools/checkstyle/checks/javadoc/checkstyle-metadata.properties

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,16 @@ JavadocVariable.name = Variable Javadoc
5353
JavadocVariable.scope = Visibility scope where Javadoc comments are checked.
5454
JavadocVariable.tokens = tokens to check
5555
56+
MissingJavadocMethod.name = Missing Javadoc Method
57+
MissingJavadocMethod.desc = Checks for missing Javadoc comments for a method or constructor.
58+
MissingJavadocMethod.minLineCount = Control the minimal amount of lines in method to allow no documentation.
59+
MissingJavadocMethod.allowedAnnotations = Configure the list of annotations that allow missed documentation.
60+
MissingJavadocMethod.scope = Specify the visibility scope where Javadoc comments are checked.
61+
MissingJavadocMethod.excludeScope = Specify the visibility scope where Javadoc comments are not checked.
62+
MissingJavadocMethod.allowMissingPropertyJavadoc = Control whether to allow missing Javadoc on accessor methods for properties (setters and getters).
63+
MissingJavadocMethod.ignoreMethodNamesRegex = ignore method whose names are matching specified regex.
64+
MissingJavadocMethod.tokens = tokens to check
65+
5666
MissingJavadocType.name = Missing Javadoc Type
5767
MissingJavadocType.desc = Checks for missing Javadoc comments for class, enum, interface, and annotation interface definitions. The scope to verify is specified using the Scope class and defaults to Scope.PUBLIC. To verify another scope, set property scope to one of the Scope constants.
5868
MissingJavadocType.scope = specify the visibility scope where Javadoc comments are checked.

net.sf.eclipsecs.checkstyle/metadata/com/puppycrawl/tools/checkstyle/checks/javadoc/checkstyle-metadata.xml

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@
7777
<property-metadata name="ignoreMethodNamesRegex" datatype="Regex">
7878
<description>%JavadocMethod.ignoreMethodNamesRegex</description>
7979
</property-metadata>
80-
<message-key key="javadoc.missing" />
8180
<message-key key="javadoc.classInfo" />
8281
<message-key key="javadoc.unusedTagGeneral" />
8382
<message-key key="javadoc.invalidInheritDoc" />
@@ -201,6 +200,40 @@
201200
<message-key key="javadoc.missing" />
202201
</rule-metadata>
203202

203+
<rule-metadata name="%MissingJavadocMethod.name" internal-name="MissingJavadocMethod" parent="TreeWalker">
204+
<alternative-name internal-name="com.puppycrawl.tools.checkstyle.checks.javadoc.MissingJavadocMethodCheck" />
205+
<description>%MissingJavadocMethod.desc</description>
206+
<property-metadata name="minLineCount" datatype="Integer" default-value="-1">
207+
<description>%MissingJavadocMethod.minLineCount</description>
208+
</property-metadata>
209+
<property-metadata name="allowedAnnotations" datatype="String">
210+
<description>%MissingJavadocMethod.allowedAnnotations</description>
211+
</property-metadata>
212+
<property-metadata name="scope" datatype="SingleSelect" default-value="private">
213+
<description>%MissingJavadocMethod.scope</description>
214+
<enumeration option-provider="com.puppycrawl.tools.checkstyle.api.Scope" />
215+
</property-metadata>
216+
<property-metadata name="excludeScope" datatype="SingleSelect" default-value="nothing">
217+
<description>%MissingJavadocMethod.excludeScope</description>
218+
<enumeration option-provider="com.puppycrawl.tools.checkstyle.api.Scope" />
219+
</property-metadata>
220+
<property-metadata name="allowMissingPropertyJavadoc" datatype="Boolean" default-value="false">
221+
<description>%MissingJavadocMethod.allowMissingPropertyJavadoc</description>
222+
</property-metadata>
223+
<property-metadata name="ignoreMethodNamesRegex" datatype="Regex">
224+
<description>%MissingJavadocMethod.ignoreMethodNamesRegex</description>
225+
</property-metadata>
226+
<property-metadata name="tokens" datatype="MultiCheck" default-value="METHOD_DEF,CTOR_DEF,ANNOTATION_FIELD_DEF">
227+
<description>%MissingJavadocMethod.tokens</description>
228+
<enumeration>
229+
<property-value-option value="METHOD_DEF" />
230+
<property-value-option value="CTOR_DEF" />
231+
<property-value-option value="ANNOTATION_FIELD_DEF" />
232+
</enumeration>
233+
</property-metadata>
234+
<message-key key="javadoc.missing" />
235+
</rule-metadata>
236+
204237
<rule-metadata name="%MissingJavadocType.name" internal-name="MissingJavadocType" parent="TreeWalker">
205238
<alternative-name internal-name="com.puppycrawl.tools.checkstyle.checks.javadoc.MissingJavadocTypeCheck" />
206239
<description>%MissingJavadocType.desc</description>

0 commit comments

Comments
 (0)