Annotation Interface 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
Author:
graemerocher
  • Element Details

    • value

      Class<?>[] value
      Returns:
      The types to provide a hint
      Default:
      {}
    • accessType

      TypeHint.AccessType[] accessType
      Describes the access.
      Returns:
      The access type
      Default:
      {ALL_DECLARED_CONSTRUCTORS}
    • typeNames

      String[] typeNames
      Returns:
      The type names
      Default:
      {}