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(). +

+ + + +
+