I'm going to add custom validation as an eclipse-cs plugin and get stuck with the problem.
I created a java file with custom validation. Validation works, but I can’t change the user validation message because it is not in the field.
The Java file is as follows:
package myCheck.checks; import com.puppycrawl.tools.checkstyle.api.Check; import com.puppycrawl.tools.checkstyle.api.DetailAST; import com.puppycrawl.tools.checkstyle.api.TokenTypes; public class MethodLimitCheck extends Check { private int max = 30; public int[] getDefaultTokens() { return new int[] { TokenTypes.CLASS_DEF, TokenTypes.INTERFACE_DEF }; } public void setMax(int limit) { max = limit; } public void visitToken(DetailAST ast) {
The configuration block looks like this:

I can not change this message. I want Box to look like this, so I can install a custom message from the configuration window:

What changes have been made to my code or any file to do this?
source share