Class RequireThisCheck.ConstructorFrame
java.lang.Object
com.puppycrawl.tools.checkstyle.checks.coding.RequireThisCheck.AbstractFrame
com.puppycrawl.tools.checkstyle.checks.coding.RequireThisCheck.ConstructorFrame
- Enclosing class:
- RequireThisCheck
A frame initiated at constructor definition.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
ConstructorFrame
(RequireThisCheck.AbstractFrame parent, DetailAST ident) Creates a constructor frame. -
Method Summary
Modifier and TypeMethodDescriptionprotected RequireThisCheck.FrameType
getType()
Get the type of the frame.Methods inherited from class com.puppycrawl.tools.checkstyle.checks.coding.RequireThisCheck.AbstractFrame
containsFieldOrVariable, containsFieldOrVariableDef, getFrameName, getFrameNameIdent, getIfContains, getParent, isProperDefinition
-
Constructor Details
-
ConstructorFrame
Creates a constructor frame.- Parameters:
parent
- parent frame.ident
- frame name ident.
-
-
Method Details
-
getType
Description copied from class:RequireThisCheck.AbstractFrame
Get the type of the frame.- Specified by:
getType
in classRequireThisCheck.AbstractFrame
- Returns:
- a FrameType.
-