Package | Description |
---|---|
com.puppycrawl.tools.checkstyle.checks |
Contains the checks that are bundled with the main distribution.
|
Modifier and Type | Class and Description |
---|---|
private static class |
AbstractDeclarationCollector.BlockFrame
Deprecated.
A frame initiated on entering a statement list; holds local variable
names.
|
private static class |
AbstractDeclarationCollector.ClassFrame
Deprecated.
A frame initiated at class definition; holds instance variable
names.
|
private static class |
AbstractDeclarationCollector.GlobalFrame
Deprecated.
The global frame; should hold only class names.
|
private static class |
AbstractDeclarationCollector.MethodFrame
Deprecated.
A frame initiated at method definition; holds parameter names.
|
Modifier and Type | Field and Description |
---|---|
private AbstractDeclarationCollector.LexicalFrame |
AbstractDeclarationCollector.current
Deprecated.
Frame for the currently processed AST.
|
private AbstractDeclarationCollector.LexicalFrame |
AbstractDeclarationCollector.LexicalFrame.parent
Parent frame.
|
Modifier and Type | Field and Description |
---|---|
private java.util.Map<DetailAST,AbstractDeclarationCollector.LexicalFrame> |
AbstractDeclarationCollector.frames
Deprecated.
Tree of all the parsed frames.
|
Modifier and Type | Method and Description |
---|---|
private AbstractDeclarationCollector.LexicalFrame |
AbstractDeclarationCollector.findFrame(java.lang.String name)
Deprecated.
Find frame containing declaration.
|
private AbstractDeclarationCollector.LexicalFrame |
AbstractDeclarationCollector.LexicalFrame.getIfContains(java.lang.String nameToFind)
Check whether the frame contains a given name.
|
Modifier and Type | Method and Description |
---|---|
private static void |
AbstractDeclarationCollector.collectVariableDeclarations(DetailAST ast,
AbstractDeclarationCollector.LexicalFrame frame)
Deprecated.
Collect Variable Declarations.
|
Modifier and Type | Method and Description |
---|---|
private static void |
AbstractDeclarationCollector.collectDeclarations(java.util.Deque<AbstractDeclarationCollector.LexicalFrame> frameStack,
DetailAST ast)
Deprecated.
Parse the next AST for declarations.
|
private void |
AbstractDeclarationCollector.endCollectingDeclarations(java.util.Queue<AbstractDeclarationCollector.LexicalFrame> frameStack,
DetailAST ast)
Deprecated.
End parsing of the AST for declarations.
|
Constructor and Description |
---|
BlockFrame(AbstractDeclarationCollector.LexicalFrame parent)
Creates block frame.
|
ClassFrame(AbstractDeclarationCollector.LexicalFrame parent)
Creates new instance of ClassFrame.
|
LexicalFrame(AbstractDeclarationCollector.LexicalFrame parent)
Constructor -- invokable only via super() from subclasses.
|
MethodFrame(AbstractDeclarationCollector.LexicalFrame parent)
Creates method frame.
|