Package cdc.deps.java
Enum DJavaAnalyzer.Feature
- java.lang.Object
-
- java.lang.Enum<DJavaAnalyzer.Feature>
-
- cdc.deps.java.DJavaAnalyzer.Feature
-
- All Implemented Interfaces:
cdc.util.cli.OptionEnum,Serializable,Comparable<DJavaAnalyzer.Feature>
- Enclosing class:
- DJavaAnalyzer
public static enum DJavaAnalyzer.Feature extends Enum<DJavaAnalyzer.Feature> implements cdc.util.cli.OptionEnum
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADD_PACKAGE_DEPENDENCIESADD_ROOT_GROUP_DEPENDENCIESCOLLAPSE_ANONYMOUS_CLASSESCOLLAPSE_HIDDEN_TYPESCOLLAPSE_TYPESDEBUGIGNORE_ANNOTATIONSIf enabled, annotation are ignored.IGNORE_JDK_TYPESIf enabled, standard Java types are ignored.IGNORE_PACKAGE_INFOVERBOSE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()StringgetName()static DJavaAnalyzer.FeaturevalueOf(String name)Returns the enum constant of this type with the specified name.static DJavaAnalyzer.Feature[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VERBOSE
public static final DJavaAnalyzer.Feature VERBOSE
-
DEBUG
public static final DJavaAnalyzer.Feature DEBUG
-
IGNORE_ANNOTATIONS
public static final DJavaAnalyzer.Feature IGNORE_ANNOTATIONS
If enabled, annotation are ignored.
-
IGNORE_JDK_TYPES
public static final DJavaAnalyzer.Feature IGNORE_JDK_TYPES
If enabled, standard Java types are ignored.
-
IGNORE_PACKAGE_INFO
public static final DJavaAnalyzer.Feature IGNORE_PACKAGE_INFO
-
COLLAPSE_ANONYMOUS_CLASSES
public static final DJavaAnalyzer.Feature COLLAPSE_ANONYMOUS_CLASSES
-
COLLAPSE_HIDDEN_TYPES
public static final DJavaAnalyzer.Feature COLLAPSE_HIDDEN_TYPES
-
COLLAPSE_TYPES
public static final DJavaAnalyzer.Feature COLLAPSE_TYPES
-
ADD_ROOT_GROUP_DEPENDENCIES
public static final DJavaAnalyzer.Feature ADD_ROOT_GROUP_DEPENDENCIES
-
ADD_PACKAGE_DEPENDENCIES
public static final DJavaAnalyzer.Feature ADD_PACKAGE_DEPENDENCIES
-
-
Method Detail
-
values
public static DJavaAnalyzer.Feature[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DJavaAnalyzer.Feature c : DJavaAnalyzer.Feature.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DJavaAnalyzer.Feature valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getName
public final String getName()
- Specified by:
getNamein interfacecdc.util.cli.OptionEnum
-
getDescription
public final String getDescription()
- Specified by:
getDescriptionin interfacecdc.util.cli.OptionEnum
-
-