public enum TypeHierarchyDirection extends java.lang.Enum<TypeHierarchyDirection>
textDocument/typeHierarchy and
typeHierarchy/resolve LS methods.
Valid values are:
| Enum Constant and Description |
|---|
Both
Flag for resolving both the super- and subtypes.
|
Children
Flag for retrieving/resolving the subtypes.
|
Parents
Flag to use when retrieving/resolving the supertypes.
|
| Modifier and Type | Method and Description |
|---|---|
static TypeHierarchyDirection |
forValue(int value) |
static TypeHierarchyDirection |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TypeHierarchyDirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TypeHierarchyDirection Children
0.public static final TypeHierarchyDirection Parents
1.public static final TypeHierarchyDirection Both
2.public static TypeHierarchyDirection[] values()
for (TypeHierarchyDirection c : TypeHierarchyDirection.values()) System.out.println(c);
public static TypeHierarchyDirection 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 nullpublic static TypeHierarchyDirection forValue(int value)