Uses of Class
com.puppycrawl.tools.checkstyle.checks.AbstractDeclarationCollector.LexicalFrame
-
Packages that use AbstractDeclarationCollector.LexicalFrame Package Description com.puppycrawl.tools.checkstyle.checks Contains the checks that are bundled with the main distribution. -
-
Uses of AbstractDeclarationCollector.LexicalFrame in com.puppycrawl.tools.checkstyle.checks
Subclasses of AbstractDeclarationCollector.LexicalFrame in com.puppycrawl.tools.checkstyle.checks Modifier and Type Class 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.Fields in com.puppycrawl.tools.checkstyle.checks declared as AbstractDeclarationCollector.LexicalFrame Modifier and Type Field Description private AbstractDeclarationCollector.LexicalFrame
AbstractDeclarationCollector. current
Deprecated.Frame for the currently processed AST.private AbstractDeclarationCollector.LexicalFrame
AbstractDeclarationCollector.LexicalFrame. parent
Parent frame.Fields in com.puppycrawl.tools.checkstyle.checks with type parameters of type AbstractDeclarationCollector.LexicalFrame Modifier and Type Field Description private java.util.Map<DetailAST,AbstractDeclarationCollector.LexicalFrame>
AbstractDeclarationCollector. frames
Deprecated.Tree of all the parsed frames.Methods in com.puppycrawl.tools.checkstyle.checks that return AbstractDeclarationCollector.LexicalFrame Modifier and Type Method 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.Methods in com.puppycrawl.tools.checkstyle.checks with parameters of type AbstractDeclarationCollector.LexicalFrame Modifier and Type Method Description private static void
AbstractDeclarationCollector. collectVariableDeclarations(DetailAST ast, AbstractDeclarationCollector.LexicalFrame frame)
Deprecated.Collect Variable Declarations.Method parameters in com.puppycrawl.tools.checkstyle.checks with type arguments of type AbstractDeclarationCollector.LexicalFrame Modifier and Type Method 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.Constructors in com.puppycrawl.tools.checkstyle.checks with parameters of type AbstractDeclarationCollector.LexicalFrame Constructor 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.
-