Annotation Type ResourceHint

    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      boolean isBundle
      Specify the patterns() identify a bundle when set to true.
      String[] patterns
      Resource patterns specified with Java regexp for regular resources, and with the bundle name (regexp not supported) if isBundle() is set to true.
    • Element Detail

      • patterns

        String[] patterns
        Resource patterns specified with Java regexp for regular resources, and with the bundle name (regexp not supported) if isBundle() is set to true.
        Returns:
        the patterns of the resources to include
        See Also:
        Accessing resources in native images return the patterns
        Default:
        {}
      • isBundle

        boolean isBundle
        Specify the patterns() identify a bundle when set to true.
        Returns:
        true if a bundle, false otherwise.
        Default:
        false