public enum AbiGenerationMode extends Enum<AbiGenerationMode>
Enum Constant and Description |
---|
CLASS
Generate ABIs by stripping .class files
|
MIGRATING_TO_SOURCE_ONLY
Output warnings for things that aren't legal when generating ABIs from source without
dependency ABIs
|
SOURCE
Generate ABIs by parsing .java files with dependency ABIs available
|
SOURCE_ONLY
Generate ABIs by parsing .java files without dependency ABIs available (has some limitations)
|
Modifier and Type | Method and Description |
---|---|
boolean |
checkForSourceOnlyAbiCompatibility() |
Diagnostic.Kind |
getDiagnosticKindForSourceOnlyAbiCompatibility() |
boolean |
isSourceAbi() |
boolean |
usesDependencies() |
static AbiGenerationMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AbiGenerationMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AbiGenerationMode CLASS
public static final AbiGenerationMode SOURCE
public static final AbiGenerationMode MIGRATING_TO_SOURCE_ONLY
public static final AbiGenerationMode SOURCE_ONLY
public static AbiGenerationMode[] values()
for (AbiGenerationMode c : AbiGenerationMode.values()) System.out.println(c);
public static AbiGenerationMode 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 boolean checkForSourceOnlyAbiCompatibility()
public Diagnostic.Kind getDiagnosticKindForSourceOnlyAbiCompatibility()
public boolean isSourceAbi()
public boolean usesDependencies()