Module io.github.sugarcubes.cloner
Enum Class CopyConstructorEnhancer.Status
java.lang.Object
java.lang.Enum<CopyConstructorEnhancer.Status>
io.github.sugarcubes.cloner.enhancement.CopyConstructorEnhancer.Status
- All Implemented Interfaces:
Serializable,Comparable<CopyConstructorEnhancer.Status>,Constable
- Enclosing class:
- CopyConstructorEnhancer
Result of enhancing a class file.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe class already has the copy constructor.The copy constructor is added.The class does not match the masks, is not a class (interface, enum, annotation, descriptor) or is never copied by the cloner (e.g.The class matches the masks but cannot get a copy constructor, see the problem.The class file has a version which the bytecode engine does not support yet. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static CopyConstructorEnhancer.Status[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ENHANCED
The copy constructor is added. -
ALREADY_ENHANCED
The class already has the copy constructor. -
IGNORED
The class does not match the masks, is not a class (interface, enum, annotation, descriptor) or is never copied by the cloner (e.g. a Kotlin singleton). -
SKIPPED
The class matches the masks but cannot get a copy constructor, see the problem. -
UNSUPPORTED
The class file has a version which the bytecode engine does not support yet.
-
-
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
-