public enum CompileOrder extends java.lang.Enum<CompileOrder>
Enum Constant and Description |
---|
JavaThenScala
Allow Scala sources to depend on the Java sources, but it does not allow
Java sources to depend on Scala sources.
|
Mixed
Allow Scala sources to depend on Java sources and allow Java sources to
depend on Scala sources.
|
ScalaThenJava
Allow Java sources to depend on Scala sources, but it does not allow Java
sources to depend on Scala sources.
|
Modifier and Type | Method and Description |
---|---|
static CompileOrder |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CompileOrder[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompileOrder Mixed
public static final CompileOrder JavaThenScala
JavaThenScala
than ScalaThenJava
because the Scala compiler will not parse Java sources, it will just
unpickle the symbol information from class files.public static final CompileOrder ScalaThenJava
Mixed
.
For more information on the way Mixed and ScalaThenJava mode behave,
see this link.public static CompileOrder[] values()
for (CompileOrder c : CompileOrder.values()) System.out.println(c);
public static CompileOrder 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