Package io.micronaut.core.annotation
Annotation Type ReflectionConfig
-
@Retention(RUNTIME) @Repeatable(ReflectionConfigList.class) public @interface ReflectionConfig
An annotation that models directly the GraalVM reflect-config.json format.- Since:
- 3.5.0
- See Also:
GraalReflectionConfigurer
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.Class<?>
type
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description TypeHint.AccessType[]
accessType
ReflectionConfig.ReflectiveFieldConfig[]
fields
ReflectionConfig.ReflectiveMethodConfig[]
methods
-
-
-
-
accessType
TypeHint.AccessType[] accessType
- Returns:
- Enum representing the access type.
- Default:
- {}
-
-
-
methods
ReflectionConfig.ReflectiveMethodConfig[] methods
- Returns:
- The methods.
- Default:
- {}
-
-
-
fields
ReflectionConfig.ReflectiveFieldConfig[] fields
- Returns:
- The methods.
- Default:
- {}
-
-