Class RequireThisCheck.ForFrame

  • Enclosing class:
    RequireThisCheck

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

      Constructors 
      Modifier Constructor Description
      protected ForFrame​(com.puppycrawl.tools.checkstyle.checks.coding.RequireThisCheck.AbstractFrame parent, DetailAST ident)
      Creates for frame.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.puppycrawl.tools.checkstyle.checks.coding.RequireThisCheck.FrameType getType()
      Get the type of the frame.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.