Annotation Type JsPackage


  • @Retention(RUNTIME)
    @Target(PACKAGE)
    @Documented
    public @interface JsPackage
    Provides a default namespace for all @JsType classes in a package by applying to 'package-info.java'.
    • Field Summary

      Fields 
      Modifier and Type Fields Description
      static java.lang.String GLOBAL
      Namespace of the global JavaScript object.
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String namespace  
    • Field Detail

      • GLOBAL

        static final java.lang.String GLOBAL
        Namespace of the global JavaScript object.
    • Element Detail

      • namespace

        java.lang.String namespace