public static enum ClassHierarchyVisitor.VisitOrder extends java.lang.Enum<ClassHierarchyVisitor.VisitOrder>
| Enum Constant and Description |
|---|
INTERFACES_FIRST_POSTORDER
Visit the current class' interfaces first, followed by its superclasses,
then operate on the current class.
|
INTERFACES_FIRST_PREORDER
Operate on the current class first, then visit its interfaces followed
by its superclasses.
|
SUPERCLASSES_FIRST_POSTORDER
Visit the current class' superclasses first, followed by its interfaces,
then operate on the current class.
|
SUPERCLASSES_FIRST_PREORDER
Operate on the current class first, then visit its superclasses
followed by its interfaces.
|
| Modifier and Type | Method and Description |
|---|---|
static ClassHierarchyVisitor.VisitOrder |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ClassHierarchyVisitor.VisitOrder[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClassHierarchyVisitor.VisitOrder SUPERCLASSES_FIRST_PREORDER
public static final ClassHierarchyVisitor.VisitOrder INTERFACES_FIRST_PREORDER
public static final ClassHierarchyVisitor.VisitOrder SUPERCLASSES_FIRST_POSTORDER
public static final ClassHierarchyVisitor.VisitOrder INTERFACES_FIRST_POSTORDER
public static ClassHierarchyVisitor.VisitOrder[] values()
for (ClassHierarchyVisitor.VisitOrder c : ClassHierarchyVisitor.VisitOrder.values()) System.out.println(c);
public static ClassHierarchyVisitor.VisitOrder valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null