com.puppycrawl.tools.checkstyle.checks.coding
Class ArrayTrailingCommaCheck
- Configurable, Contextualizable
public class ArrayTrailingCommaCheck
Checks if array initialization contains optional trailing comma.
Rationale: Putting this comma in make is easier to change the
order of the elements or add new elements on the end.
An example of how to configure the check is:
<module name="ArrayTrailingComma"/>
beginTree , destroy , finishTree , getAcceptableTokens , getClassLoader , getDefaultTokens , getFileContents , getLines , getRequiredTokens , getTabWidth , getTokenNames , init , leaveToken , log , log , setClassLoader , setFileContents , setMessages , setTabWidth , setTokens , visitToken |
getId , getMessageBundle , getSeverity , getSeverityLevel , log , log , log , log , log , log , log , log , log , log , log , setId , setSeverity |