Enum MethodAccessorFactory.AccessType

java.lang.Object
java.lang.Enum<MethodAccessorFactory.AccessType>
net.bytebuddy.implementation.MethodAccessorFactory.AccessType
All Implemented Interfaces:
Serializable, Comparable<MethodAccessorFactory.AccessType>, java.lang.constant.Constable
Enclosing interface:
MethodAccessorFactory

public static enum MethodAccessorFactory.AccessType extends Enum<MethodAccessorFactory.AccessType>
Indicates the type of access to an accessor method.
  • Enum Constant Details

  • Field Details

    • visibility

      private final Visibility visibility
      The implied visibility.
  • Constructor Details

    • AccessType

      private AccessType(Visibility visibility)
      Creates a new access type.
      Parameters:
      visibility - The implied visibility.
  • Method Details

    • values

      public static MethodAccessorFactory.AccessType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static MethodAccessorFactory.AccessType 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 name
      NullPointerException - if the argument is null
    • getVisibility

      public Visibility getVisibility()
      Returns the implied visibility.
      Returns:
      The implied visibility.