Class RequireThisCheck.CatchFrame

  • Enclosing class:
    RequireThisCheck

    public static class RequireThisCheck.CatchFrame
    extends Object
    A frame initiated on entering a catch block; holds local catch variable names.
    • Constructor Detail

      • CatchFrame

        protected CatchFrame​(com.puppycrawl.tools.checkstyle.checks.coding.RequireThisCheck.AbstractFrame parent,
                             DetailAST ident)
        Creates catch frame.
        Parameters:
        parent - parent frame.
        ident - ident frame name ident.
    • Method Detail

      • getType

        public com.puppycrawl.tools.checkstyle.checks.coding.RequireThisCheck.FrameType getType()
        Get the type of the frame.
        Returns:
        a FrameType.