Package io.micronaut.core.annotation
Enum TypeHint.AccessType
- java.lang.Object
-
- java.lang.Enum<TypeHint.AccessType>
-
- io.micronaut.core.annotation.TypeHint.AccessType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<TypeHint.AccessType>
- Enclosing class:
- TypeHint
public static enum TypeHint.AccessType extends java.lang.Enum<TypeHint.AccessType>
The access type.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALL_DECLARED_CONSTRUCTORS
All declared constructors require access.ALL_DECLARED_FIELDS
All declared fields require access.ALL_DECLARED_METHODS
All declared methods require access.ALL_PUBLIC
All public members.ALL_PUBLIC_CONSTRUCTORS
All public constructors require access.ALL_PUBLIC_FIELDS
All public fields require access.ALL_PUBLIC_METHODS
All public methods require access.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TypeHint.AccessType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static TypeHint.AccessType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALL_PUBLIC
public static final TypeHint.AccessType ALL_PUBLIC
All public members.
-
ALL_DECLARED_CONSTRUCTORS
public static final TypeHint.AccessType ALL_DECLARED_CONSTRUCTORS
All declared constructors require access.
-
ALL_PUBLIC_CONSTRUCTORS
public static final TypeHint.AccessType ALL_PUBLIC_CONSTRUCTORS
All public constructors require access.
-
ALL_DECLARED_METHODS
public static final TypeHint.AccessType ALL_DECLARED_METHODS
All declared methods require access.
-
ALL_DECLARED_FIELDS
public static final TypeHint.AccessType ALL_DECLARED_FIELDS
All declared fields require access.
-
ALL_PUBLIC_METHODS
public static final TypeHint.AccessType ALL_PUBLIC_METHODS
All public methods require access.
-
ALL_PUBLIC_FIELDS
public static final TypeHint.AccessType ALL_PUBLIC_FIELDS
All public fields require access.
-
-
Method Detail
-
values
public static TypeHint.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 (TypeHint.AccessType c : TypeHint.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 TypeHint.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
-
-