public static enum Option.PkgInfo extends Enum<Option.PkgInfo>
Enum Constant and Description |
---|
ALWAYS
Always generate package-info.class for every package-info.java file.
|
LEGACY
Generate a package-info.class file if package-info.java contains
annotations.
|
NONEMPTY
Generate a package-info.class file if and only if there are annotations
in package-info.java to be written into it.
|
Modifier and Type | Method and Description |
---|---|
static Option.PkgInfo |
get(Options options) |
static Option.PkgInfo |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Option.PkgInfo[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Option.PkgInfo ALWAYS
public static final Option.PkgInfo LEGACY
public static final Option.PkgInfo NONEMPTY
public static Option.PkgInfo[] values()
for (Option.PkgInfo c : Option.PkgInfo.values()) System.out.println(c);
public static Option.PkgInfo 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 Option.PkgInfo get(Options options)
Copyright © 2017 earcam. All rights reserved.