Package io.micronaut.core.annotation
Annotation Type TypeHint
-
@Target({ANNOTATION_TYPE,TYPE}) @Retention(RUNTIME) public @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
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description TypeHint.AccessType[]
accessType
Describes the access.java.lang.String[]
typeNames
java.lang.Class[]
value
-
-
-
-
accessType
TypeHint.AccessType[] accessType
Describes the access.- Returns:
- The access type
- Default:
- {io.micronaut.core.annotation.TypeHint.AccessType.ALL_DECLARED_CONSTRUCTORS}
-
-