From 79e2149b37d91efaaeee891b491a3a9e0dfb6ac2 Mon Sep 17 00:00:00 2001 From: Vladislav Lisetskiy Date: Tue, 3 Nov 2015 20:26:25 +0300 Subject: [PATCH] Issue #2346: Describe token sets in 'writing checks' section in xdoc --- src/xdocs/writingchecks.xml.vm | 42 ++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/src/xdocs/writingchecks.xml.vm b/src/xdocs/writingchecks.xml.vm index f4ef107ff..ee12fc8d6 100644 --- a/src/xdocs/writingchecks.xml.vm +++ b/src/xdocs/writingchecks.xml.vm @@ -272,6 +272,48 @@ public class MethodLimitCheck extends Check +
+ +

+ There are four methods in Check class to control the processed + TokenTypes - + one setter + + setTokens(), which is used to define a custom set (which is different + from the default one) of the processed TokenTypes via config file and + three getters, which have to be overridden: + + getDefaultTokens(), + + getAcceptableTokens(), + + getRequiredTokens(). +

+ + + +
+