java.io.Serializable, java.lang.Comparable<JavaMetricsCollector.LanguageLevel>public static enum JavaMetricsCollector.LanguageLevel extends java.lang.Enum<JavaMetricsCollector.LanguageLevel>
| Enum Constant | Description |
|---|---|
JAVA_10 |
Java 10 (introducing local variable type inference).
|
JAVA_11 |
Java 11 (introducing local variable syntax for lambda parameters (JEP 323)).
|
JAVA_8 |
Java 8 (introducing lambdas and type annotations).
|
JAVA_9 |
Java 9 (introducing modules and private interface methods).
|
| Modifier and Type | Method | Description |
|---|---|---|
static JavaMetricsCollector.LanguageLevel |
getDefault() |
Get the default language level for Java metrics collecting.
|
static JavaMetricsCollector.LanguageLevel |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static JavaMetricsCollector.LanguageLevel[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JavaMetricsCollector.LanguageLevel JAVA_8
public static final JavaMetricsCollector.LanguageLevel JAVA_9
public static final JavaMetricsCollector.LanguageLevel JAVA_10
public static final JavaMetricsCollector.LanguageLevel JAVA_11
public static JavaMetricsCollector.LanguageLevel[] values()
for (JavaMetricsCollector.LanguageLevel c : JavaMetricsCollector.LanguageLevel.values()) System.out.println(c);
public static JavaMetricsCollector.LanguageLevel 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@Nonnull public static JavaMetricsCollector.LanguageLevel getDefault()