Enum Class StructuralLevenshtein.DetailLevel
java.lang.Object
java.lang.Enum<StructuralLevenshtein.DetailLevel>
io.github.valentinherrmann.levenshtein.StructuralLevenshtein.DetailLevel
- All Implemented Interfaces:
Serializable, Comparable<StructuralLevenshtein.DetailLevel>, Constable
- Enclosing class:
StructuralLevenshtein
public static enum StructuralLevenshtein.DetailLevel
extends Enum<StructuralLevenshtein.DetailLevel>
Enumeration defining the level of detail for structural test generation.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCreates a single test for all structural elementsCreates one test per class, including all its membersCreates individual tests for each memberCreates separate tests for class, constructors, attributes, and methods -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static StructuralLevenshtein.DetailLevel[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ONE_FOR_EVERYTHING
Creates a single test for all structural elements -
ONE_PER_CLASS
Creates one test per class, including all its members -
ONE_PER_MEMBER_CATEGORY
Creates separate tests for class, constructors, attributes, and methods -
ONE_PER_MEMBER
Creates individual tests for each member
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-