UNDOCUMENTED_PROPERTIES = Arrays.asList(
"SuppressWithNearbyCommentFilter.fileContents",
- "SuppressionCommentFilter.fileContents",
- "MethodNameCheck.applyToPackage",
- "MethodNameCheck.applyToPrivate",
- "MethodNameCheck.applyToProtected",
- "MethodNameCheck.applyToPublic");
+ "SuppressionCommentFilter.fileContents"
+ );
@Test
public void testAllChecksPresentOnAvailableChecksPage() throws IOException {
diff --git a/src/xdocs/config_naming.xml b/src/xdocs/config_naming.xml
index e03b3b28b..f417cb848 100644
--- a/src/xdocs/config_naming.xml
+++ b/src/xdocs/config_naming.xml
@@ -725,6 +725,32 @@ class MyClass {
| Boolean |
false |
+
+ | applyToPublic |
+ Controls whether to apply the check to public member. |
+ Boolean |
+ true |
+
+
+ | applyToProtected |
+ Controls whether to apply the check to protected member. |
+ Boolean |
+ true |
+
+
+ | applyToPackage |
+
+ Controls whether to apply the check to package-private member.
+ |
+ Boolean |
+ true |
+
+
+ | applyToPrivate |
+ Controls whether to apply the check to private member. |
+ Boolean |
+ true |
+