Class SpringParenPadCheck

java.lang.Object
com.puppycrawl.tools.checkstyle.api.AutomaticBean
com.puppycrawl.tools.checkstyle.api.AbstractViolationReporter
com.puppycrawl.tools.checkstyle.api.AbstractCheck
com.puppycrawl.tools.checkstyle.checks.whitespace.AbstractParenPadCheck
com.puppycrawl.tools.checkstyle.checks.whitespace.ParenPadCheck
io.spring.javaformat.checkstyle.check.SpringParenPadCheck
All Implemented Interfaces:
com.puppycrawl.tools.checkstyle.api.Configurable, com.puppycrawl.tools.checkstyle.api.Contextualizable

public class SpringParenPadCheck extends com.puppycrawl.tools.checkstyle.checks.whitespace.ParenPadCheck
ParenPadCheck variant that allows whitespace after ( if before //.
Author:
Phillip Webb
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.puppycrawl.tools.checkstyle.api.AutomaticBean

    com.puppycrawl.tools.checkstyle.api.AutomaticBean.OutputStreamOptions
  • Field Summary

    Fields inherited from class com.puppycrawl.tools.checkstyle.checks.whitespace.AbstractParenPadCheck

    MSG_WS_FOLLOWED, MSG_WS_NOT_FOLLOWED, MSG_WS_NOT_PRECEDED, MSG_WS_PRECEDED
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    processLeft(com.puppycrawl.tools.checkstyle.api.DetailAST ast)
     
    void
    setOption(String optionStr)
     

    Methods inherited from class com.puppycrawl.tools.checkstyle.checks.whitespace.ParenPadCheck

    getAcceptableTokens, getDefaultTokens, getRequiredTokens, visitToken

    Methods inherited from class com.puppycrawl.tools.checkstyle.checks.whitespace.AbstractParenPadCheck

    processRight

    Methods inherited from class com.puppycrawl.tools.checkstyle.api.AbstractCheck

    beginTree, clearViolations, destroy, finishTree, getFileContents, getLine, getLineCodePoints, getLines, getTabWidth, getTokenNames, getViolations, init, isCommentNodesRequired, leaveToken, log, log, log, setFileContents, setTabWidth, setTokens

    Methods inherited from class com.puppycrawl.tools.checkstyle.api.AbstractViolationReporter

    finishLocalSetup, getCustomMessages, getId, getMessageBundle, getSeverity, getSeverityLevel, setId, setSeverity

    Methods inherited from class com.puppycrawl.tools.checkstyle.api.AutomaticBean

    configure, contextualize, getConfiguration, setupChild

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SpringParenPadCheck

      public SpringParenPadCheck()
  • Method Details

    • setOption

      public void setOption(String optionStr)
      Overrides:
      setOption in class com.puppycrawl.tools.checkstyle.checks.whitespace.AbstractParenPadCheck
    • processLeft

      protected void processLeft(com.puppycrawl.tools.checkstyle.api.DetailAST ast)
      Overrides:
      processLeft in class com.puppycrawl.tools.checkstyle.checks.whitespace.AbstractParenPadCheck