Class JavadocMethodCheck.ExceptionInfo

java.lang.Object
com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocMethodCheck.ExceptionInfo
Enclosing class:
JavadocMethodCheck

private static class JavadocMethodCheck.ExceptionInfo extends Object
Stores useful information about declared exception.
  • Field Details

    • ast

      private final DetailAST ast
      AST node representing this exception.
    • classInfo

      private final JavadocMethodCheck.ClassInfo classInfo
      Class information associated with this exception.
    • found

      private boolean found
      Does the exception have throws tag associated with.
  • Constructor Details

    • ExceptionInfo

      ExceptionInfo(DetailAST ast, JavadocMethodCheck.ClassInfo classInfo)
      Creates new instance for FullIdent.
      Parameters:
      ast - AST node representing this exception
      classInfo - class info
  • Method Details

    • getAst

      private DetailAST getAst()
      Gets the AST node representing this exception.
      Returns:
      the AST node representing this exception
    • setFound

      private void setFound()
      Mark that the exception has associated throws tag.
    • isFound

      private boolean isFound()
      Checks that the exception has throws tag associated with it.
      Returns:
      whether the exception has throws tag associated with
    • getName

      private JavadocMethodCheck.Token getName()
      Gets exception name.
      Returns:
      exception's name