@Deprecated public class DeclarationVisitors extends Object
Modifier and Type | Field and Description |
---|---|
static DeclarationVisitor |
NO_OP
Deprecated.
A visitor that has no side effects and keeps no state.
|
Modifier and Type | Method and Description |
---|---|
static DeclarationVisitor |
getDeclarationScanner(DeclarationVisitor pre,
DeclarationVisitor post)
Deprecated.
Return a DeclarationVisitor that will scan the
declaration structure, visiting declarations contained in
another declaration.
|
static DeclarationVisitor |
getSourceOrderDeclarationScanner(DeclarationVisitor pre,
DeclarationVisitor post)
Deprecated.
Return a DeclarationVisitor that will scan the
declaration structure, visiting declarations contained in
another declaration in source code order.
|
public static final DeclarationVisitor NO_OP
public static DeclarationVisitor getDeclarationScanner(DeclarationVisitor pre, DeclarationVisitor post)
The pre and post
DeclarationVisitor parameters specify,
respectively, the processing the scanner will do before or
after visiting the contained declarations. If only one of pre
and post processing is needed, use DeclarationVisitors.NO_OP
for the
other parameter.
pre
- visitor representing processing to do before
visiting contained declarations.post
- visitor representing processing to do after
visiting contained declarations.public static DeclarationVisitor getSourceOrderDeclarationScanner(DeclarationVisitor pre, DeclarationVisitor post)
The pre and post
DeclarationVisitor parameters specify,
respectively, the processing the scanner will do before or
after visiting the contained declarations. If only one of pre
and post processing is needed, use DeclarationVisitors.NO_OP
for the other parameter.
pre
- visitor representing processing to do before
visiting contained declarations.post
- visitor representing processing to do after
visiting contained declarations.
Copyright © 2004, 2013, Oracle and/or its affiliates. All rights reserved.