|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.reflext.api.visit.HierarchyVisitorStrategy<V>
public abstract class HierarchyVisitorStrategy<V extends HierarchyVisitor<V>>
| Constructor Summary | |
|---|---|
HierarchyVisitorStrategy()
|
|
| Method Summary | |
|---|---|
protected boolean |
accept(ClassTypeInfo type)
Controls wether or not a type will be visited. |
protected void |
leave(ClassTypeInfo type)
Signals that a type has been visited. |
void |
visit(TypeInfo type,
V visitor)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HierarchyVisitorStrategy()
| Method Detail |
|---|
public final void visit(TypeInfo type,
V visitor)
visit in interface VisitorStrategy<V extends HierarchyVisitor<V>,HierarchyVisitorStrategy<V extends HierarchyVisitor<V>>>protected boolean accept(ClassTypeInfo type)
type - the type to accept or refuse
protected void leave(ClassTypeInfo type)
accept(org.reflext.api.ClassTypeInfo) method. The default implementation has an empty body.
type - the visited type
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||