public enum JavaCompilerFactory extends Enum<JavaCompilerFactory>
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
JavaCompiler |
createCompiler(String pHint)
Tries to guess the class name by convention.
|
JavaCompiler |
loadCompiler(JavaDialectConfiguration.CompilerType compilerType,
String lngLevel) |
JavaCompiler |
loadCompiler(JavaDialectConfiguration configuration) |
static JavaCompilerFactory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JavaCompilerFactory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JavaCompilerFactory INSTANCE
public static JavaCompilerFactory[] values()
for (JavaCompilerFactory c : JavaCompilerFactory.values()) System.out.println(c);
public static JavaCompilerFactory valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic JavaCompiler createCompiler(String pHint)
pHint
- public JavaCompiler loadCompiler(JavaDialectConfiguration configuration)
public JavaCompiler loadCompiler(JavaDialectConfiguration.CompilerType compilerType, String lngLevel)
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.