public enum SourceCode extends Enum<SourceCode> implements CodeGeneratorOption
| Enum Constant and Description |
|---|
SIMPLIFY_TRY_WITH_RESOURCE |
| Modifier and Type | Field and Description |
|---|---|
static CodeGeneratorOption |
PRINT_SOURCE |
static CodeGeneratorOption |
PRINT_WARNINGS |
static CodeGenerationStrategy<?> |
SOURCECODE |
BLANK_OPTION, PRINT_DISASSEMBLY| Modifier and Type | Method and Description |
|---|---|
static CodeGeneratorOption |
annotationProcessor(Processor processor) |
void |
applyTo(Object target) |
static CodeGeneratorOption |
sourceLocation(Path path) |
static CodeGeneratorOption |
temporarySourceCodeLocation() |
static SourceCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SourceCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SourceCode SIMPLIFY_TRY_WITH_RESOURCE
public static final CodeGenerationStrategy<?> SOURCECODE
public static final CodeGeneratorOption PRINT_SOURCE
public static final CodeGeneratorOption PRINT_WARNINGS
public static SourceCode[] values()
for (SourceCode c : SourceCode.values()) System.out.println(c);
public static SourceCode 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 static CodeGeneratorOption annotationProcessor(Processor processor)
public static CodeGeneratorOption sourceLocation(Path path)
public static CodeGeneratorOption temporarySourceCodeLocation()
public void applyTo(Object target)
applyTo in interface CodeGeneratorOptionCopyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.