Annotation Interface FromLibGraalEntryPointsResolver


@Retention(SOURCE) @Target({PACKAGE,TYPE,METHOD}) public @interface FromLibGraalEntryPointsResolver
Annotation to generate the FromLibGraalCalls for given id type. The annotation can be applied to packages, types and methods. When applied to method the generated FromLibGraalCalls subclass delegates to the annotated method. The annotated method must be static and its return type must be JClass. When applied to package or type the entryPointsClassName() is used to resolve the JClass.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Class<? extends Enum<?>>
    The id class.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The fully qualified name of the entry points class on the HotSpot side.
  • Element Details

    • value

      Class<? extends Enum<?>> value
      The id class. It has to implement the FromLibGraalId.
    • entryPointsClassName

      String entryPointsClassName
      The fully qualified name of the entry points class on the HotSpot side. The entryPointsClassName is mandatory when the annotation is present on package or type element.
      Default:
      ""