Package io.micronaut.core.annotation
Annotation Interface TypeHint
The type hint annotation is a general annotation that can be used on interfaces to provide
additional information about types used at runtime. This can aid ahead of time compilation tools like Graal.
- Since:
- 1.0
- Author:
- graemerocher
-
Element Details
-
value
Class<?>[] value- Returns:
- The types to provide a hint
- Default:
- {}
-
accessType
TypeHint.AccessType[] accessTypeDescribes the access.- Returns:
- The access type
- Default:
- {ALL_DECLARED_CONSTRUCTORS}
-
typeNames
String[] typeNames- Returns:
- The type names
- Default:
- {}
-