Class RequireThisCheck.ForFrame

  • Enclosing class:
    RequireThisCheck

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

      • ForFrame

        protected ForFrame​(com.puppycrawl.tools.checkstyle.checks.coding.RequireThisCheck.AbstractFrame parent,
                           DetailAST ident)
        Creates for 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.