Annotation Type Import


  • @Retention(RUNTIME)
    @Target(TYPE)
    public @interface Import
    Import annotation for class to special importing methods scope.
    Since:
    4.2.4
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String ns
      Setting the namespace.
      ImportScope[] scopes
      Setting import method scope, default is {ImportScope.Instance, ImportScope.Static}
    • Element Detail

      • scopes

        ImportScope[] scopes
        Setting import method scope, default is {ImportScope.Instance, ImportScope.Static}
        Returns:
        the import method scopes array.
        Default:
        {com.googlecode.aviator.annotation.ImportScope.Instance, com.googlecode.aviator.annotation.ImportScope.Static}
      • ns

        java.lang.String ns
        Setting the namespace.
        Returns:
        the namespace for imported methods.
        Default:
        ""