public enum DependencyContext extends java.lang.Enum<DependencyContext>
| Enum Constant and Description |
|---|
DependencyByInheritance
Represents an inheritance dependency between two symbols :
class A
class B extends A
|
DependencyByMemberRef
Represents a direct dependency between two symbols :
object Foo
object Bar { def foo = Foo }
|
LocalDependencyByInheritance
Represents an inheritance dependency between a local class
and a non local class:
// A.scala
class A
// B.scala
class B {
def foo = {
class Local extends A
}
}
|
| Modifier and Type | Method and Description |
|---|---|
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 DependencyByMemberRef
public static final DependencyContext DependencyByInheritance
public static final DependencyContext LocalDependencyByInheritance
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 null