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

public static enum CopyConstructorEnhancer.Status extends Enum<CopyConstructorEnhancer.Status>
Result of enhancing a class file.
  • Enum Constant Details

    • ENHANCED

      public static final CopyConstructorEnhancer.Status ENHANCED
      The copy constructor is added.
    • ALREADY_ENHANCED

      public static final CopyConstructorEnhancer.Status ALREADY_ENHANCED
      The class already has the copy constructor.
    • IGNORED

      public static final CopyConstructorEnhancer.Status 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

      public static final CopyConstructorEnhancer.Status SKIPPED
      The class matches the masks but cannot get a copy constructor, see the problem.
    • UNSUPPORTED

      public static final CopyConstructorEnhancer.Status UNSUPPORTED
      The class file has a version which the bytecode engine does not support yet.
  • Method Details

    • values

      public static CopyConstructorEnhancer.Status[] 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

      public static CopyConstructorEnhancer.Status valueOf(String name)
      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 name
      NullPointerException - if the argument is null