Class RequireThisCheck.ForFrame
java.lang.Object
com.puppycrawl.tools.checkstyle.checks.coding.RequireThisCheck.AbstractFrame
com.puppycrawl.tools.checkstyle.checks.coding.RequireThisCheck.ForFrame
- Enclosing class:
- RequireThisCheck
A frame initiated on entering a for block; holds local for variable names.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedForFrame(RequireThisCheck.AbstractFrame parent, DetailAST ident) Creates for frame. -
Method Summary
Methods inherited from class com.puppycrawl.tools.checkstyle.checks.coding.RequireThisCheck.AbstractFrame
containsFieldOrVariable, containsFieldOrVariableDef, getFrameName, getFrameNameIdent, getIfContains, getParent, isProperDefinition
-
Constructor Details
-
ForFrame
Creates for frame.- Parameters:
parent- parent frame.ident- ident frame name ident.
-
-
Method Details
-
getType
Description copied from class:RequireThisCheck.AbstractFrameGet the type of the frame.- Specified by:
getTypein classRequireThisCheck.AbstractFrame- Returns:
- a FrameType.
-