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
private static class RequireThisCheck.AnonymousClassFrame extends RequireThisCheck.ClassFrame
An anonymous class frame; holds instance variable names.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AnonymousClassFrame(RequireThisCheck.AbstractFrame parent, String frameName)
Creates anonymous class frame.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getFrameName()
Returns the name identifier text.-
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
-
-
-
-
Constructor Detail
-
AnonymousClassFrame
protected AnonymousClassFrame(RequireThisCheck.AbstractFrame parent, String frameName)
Creates anonymous class frame.- Parameters:
parent
- parent frame.frameName
- name of the frame.
-
-
Method Detail
-
getFrameName
protected String getFrameName()
Description copied from class:RequireThisCheck.AbstractFrame
Returns the name identifier text.- Overrides:
getFrameName
in classRequireThisCheck.AbstractFrame
- Returns:
- the name identifier text
-
-