Annotation Type Dependency


@Target(TYPE) @Retention(RUNTIME) @Documented public @interface Dependency
Links to JavaScript interface dependencies which needs to be loaded before interface's method can be invoked.
Author:
Lukas Fryc
See Also:
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Class<?>[]
    Array of dependencies - interfaces annotated by JavaScript annotation.
    Array of URLs pointing to resources containing needed JavaScript source code.
  • Element Details

    • sources

      String[] sources
      Array of URLs pointing to resources containing needed JavaScript source code.
      Default:
      {}
    • interfaces

      Class<?>[] interfaces
      Array of dependencies - interfaces annotated by JavaScript annotation.
      Default:
      {}