Class RequireThisCheck.AnonymousClassFrame
java.lang.Object
com.puppycrawl.tools.checkstyle.checks.coding.RequireThisCheck.AbstractFrame
com.puppycrawl.tools.checkstyle.checks.coding.RequireThisCheck.ClassFrame
com.puppycrawl.tools.checkstyle.checks.coding.RequireThisCheck.AnonymousClassFrame
- Enclosing class:
- RequireThisCheck
An anonymous class frame; holds instance variable names.
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
AnonymousClassFrame
(RequireThisCheck.AbstractFrame parent, String frameName) Creates anonymous class frame. -
Method Summary
Methods inherited from class com.puppycrawl.tools.checkstyle.checks.coding.RequireThisCheck.ClassFrame
addInstanceMember, addInstanceMethod, addStaticMember, addStaticMethod, containsFieldOrVariable, getIfContains, getType, hasFinalField, hasInstanceMember, hasInstanceMethod, hasStaticMethod, isProperDefinition
Methods inherited from class com.puppycrawl.tools.checkstyle.checks.coding.RequireThisCheck.AbstractFrame
containsFieldOrVariableDef, getFrameNameIdent, getParent
-
Field Details
-
frameName
The name of the frame.
-
-
Constructor Details
-
AnonymousClassFrame
Creates anonymous class frame.- Parameters:
parent
- parent frame.frameName
- name of the frame.
-
-
Method Details
-
getFrameName
Description copied from class:RequireThisCheck.AbstractFrame
Returns the name identifier text.- Overrides:
getFrameName
in classRequireThisCheck.AbstractFrame
- Returns:
- the name identifier text
-