Package io.micronaut.core.annotation
Enum Class Introspected.Visibility
- All Implemented Interfaces:
Serializable
,Comparable<Introspected.Visibility>
,Constable
- Enclosing class:
- Introspected
Visibility policy for bean properties and fields.
- Since:
- 3.2.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAll methods and/or fields are included.The default behaviour which in addition to public getters and setters will also include package protected fields if anIntrospected.AccessKind
ofIntrospected.AccessKind.FIELD
is specified.Only public methods and/or fields are included. -
Method Summary
Modifier and TypeMethodDescriptionstatic Introspected.Visibility
Returns the enum constant of this class with the specified name.static Introspected.Visibility[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PUBLIC
Only public methods and/or fields are included. -
DEFAULT
The default behaviour which in addition to public getters and setters will also include package protected fields if anIntrospected.AccessKind
ofIntrospected.AccessKind.FIELD
is specified. -
ANY
All methods and/or fields are included.- Since:
- 4.0.0
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-