public enum DependencyContext extends java.lang.Enum<DependencyContext> implements IDependencyContext
Enum Constant and Description |
---|
EXCEPTION |
FIELD |
INHERITANCE |
INSTRUCTION |
METHOD |
PARAMETER |
RETURN |
TYPE |
VARIABLE |
VIA_SUBTYPE |
Modifier and Type | Method and Description |
---|---|
IParserDependencyContext |
getContext()
Internal use only
|
IDependencyContext |
getGenericDependencyContext()
Internal use only
|
static DependencyContext |
map(IParserDependencyContext dependencyContext)
Internal use only
|
boolean |
matches(ParserDependency dependency)
Internal use only
|
static DependencyContext |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DependencyContext[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DependencyContext INHERITANCE
public static final DependencyContext TYPE
public static final DependencyContext FIELD
public static final DependencyContext METHOD
public static final DependencyContext RETURN
public static final DependencyContext EXCEPTION
public static final DependencyContext PARAMETER
public static final DependencyContext VARIABLE
public static final DependencyContext INSTRUCTION
public static final DependencyContext VIA_SUBTYPE
public static DependencyContext[] values()
for (DependencyContext c : DependencyContext.values()) System.out.println(c);
public static DependencyContext 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 IParserDependencyContext getContext()
getContext
in interface IDependencyContext
public boolean matches(ParserDependency dependency)
matches
in interface IDependencyContext
public IDependencyContext getGenericDependencyContext()
getGenericDependencyContext
in interface IDependencyContext
public static DependencyContext map(IParserDependencyContext dependencyContext)