| Modifier and Type | Method and Description |
|---|---|
static SourceLevel |
SourceLevel.from(SourceVersion sourceVersion) |
SourceLevel |
SourceStringBuilder.getSourceLevel() |
SourceLevel |
SourceBuilder.getSourceLevel() |
SourceLevel |
CompilationUnitWriter.getSourceLevel() |
static SourceLevel |
SourceLevel.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SourceLevel[] |
SourceLevel.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static SourceStringBuilder |
SourceStringBuilder.simple(SourceLevel sourceLevel)
Returns a
SourceStringBuilder that always shortens types, even if that causes
conflicts. |
| Constructor and Description |
|---|
CompilationUnitWriter(Filer filer,
Elements elements,
SourceLevel sourceLevel,
TypeReference classToWrite,
Collection<TypeReference> nestedClasses,
Element originatingElement)
Returns a
CompilationUnitWriter for classToWrite. |
Copyright © 2015 inferred.org. All rights reserved.