Class RequireThisCheck.MethodFrame
java.lang.Object
com.puppycrawl.tools.checkstyle.checks.coding.RequireThisCheck.AbstractFrame
com.puppycrawl.tools.checkstyle.checks.coding.RequireThisCheck.MethodFrame
- Enclosing class:
- RequireThisCheck
A frame initiated at method definition; holds a method definition token.
-
Constructor Summary
ModifierConstructorDescriptionprotected
MethodFrame
(RequireThisCheck.AbstractFrame parent, DetailAST ident) Creates method 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
-
MethodFrame
Creates method frame.- Parameters:
parent
- parent frame.ident
- method name identifier token.
-
-
Method Details
-
getType
Description copied from class:RequireThisCheck.AbstractFrame
Get the type of the frame.- Specified by:
getType
in classRequireThisCheck.AbstractFrame
- Returns:
- a FrameType.
-