Enum Class FieldLocator.Resolution.Illegal

java.lang.Object
java.lang.Enum<FieldLocator.Resolution.Illegal>
net.bytebuddy.dynamic.scaffold.FieldLocator.Resolution.Illegal
All Implemented Interfaces:
Serializable, Comparable<FieldLocator.Resolution.Illegal>, Constable, FieldLocator.Resolution
Enclosing interface:
FieldLocator.Resolution

public static enum FieldLocator.Resolution.Illegal extends Enum<FieldLocator.Resolution.Illegal> implements FieldLocator.Resolution
An illegal resolution.
  • Enum Constant Details

  • Constructor Details

    • Illegal

      private Illegal()
  • Method Details

    • values

      public static FieldLocator.Resolution.Illegal[] 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 FieldLocator.Resolution.Illegal 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
    • isResolved

      public boolean isResolved()
      Returns true if a field was located.
      Specified by:
      isResolved in interface FieldLocator.Resolution
      Returns:
      true if a field was located.
    • getField

      public FieldDescription getField()
      Returns the field description if a field was located. This method must only be called if this resolution was actually resolved.
      Specified by:
      getField in interface FieldLocator.Resolution
      Returns:
      The located field.