Package net.bytebuddy.implementation
Enum MethodAccessorFactory.AccessType
- java.lang.Object
-
- java.lang.Enum<MethodAccessorFactory.AccessType>
-
- net.bytebuddy.implementation.MethodAccessorFactory.AccessType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<MethodAccessorFactory.AccessType>
- Enclosing interface:
- MethodAccessorFactory
public static enum MethodAccessorFactory.AccessType extends java.lang.Enum<MethodAccessorFactory.AccessType>
Indicates the type of access to an accessor method.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Visibility
getVisibility()
Returns the implied visibility.static MethodAccessorFactory.AccessType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static MethodAccessorFactory.AccessType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PUBLIC
public static final MethodAccessorFactory.AccessType PUBLIC
An access withpublic visibility
.
-
DEFAULT
public static final MethodAccessorFactory.AccessType DEFAULT
An access with default visibility.
-
-
Method Detail
-
values
public static MethodAccessorFactory.AccessType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (MethodAccessorFactory.AccessType c : MethodAccessorFactory.AccessType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MethodAccessorFactory.AccessType valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getVisibility
public Visibility getVisibility()
Returns the implied visibility.- Returns:
- The implied visibility.
-
-