public static class CannotAddMultiInstanceBodyValidator.MiBodyCollector extends Object implements TreeVisitor<ScopeImpl>
Modifier and Type | Field and Description |
---|---|
protected ScopeImpl |
firstMiBody |
Constructor and Description |
---|
MiBodyCollector() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
isMiBody(ScopeImpl scope) |
void |
visit(ScopeImpl obj)
Invoked for a node in tree.
|
protected ScopeImpl firstMiBody
public void visit(ScopeImpl obj)
TreeVisitor
visit
in interface TreeVisitor<ScopeImpl>
obj
- a reference to the nodeprotected boolean isMiBody(ScopeImpl scope)
Copyright © 2022. All rights reserved.