bundle agent __main__
{
  methods:
      "mynamespace:my_bundle";

  reports:

    a_bundle_scoped_class_in_my_namespaced_bundle::
      "In $(this.namespace):$(this.bundle) I see 'a_bundle_scoped_class_in_my_namespaced_bundle::'";

    !a_bundle_scoped_class_in_my_namespaced_bundle::
      "In $(this.namespace):$(this.bundle) I do not see 'a_bundle_scoped_class_in_my_namespaced_bundle::'";

    a_namespace_scoped_class_in_my_namespaced_bundle::
      "In $(this.namespace):$(this.bundle) I see 'a_namespace_scoped_class_in_my_namespaced_bundle::'";

    !a_namespace_scoped_class_in_my_namespaced_bundle::
      "In $(this.namespace):$(this.bundle) I do not see 'a_namespace_scoped_class_in_my_namespaced_bundle::'";

    mynamespace:a_bundle_scoped_class_in_my_namespaced_bundle::
      "In $(this.namespace):$(this.bundle) I see 'mynamespace:a_bundle_scoped_class_in_my_namespaced_bundle::'";

    !mynamespace:a_bundle_scoped_class_in_my_namespaced_bundle::
      "In $(this.namespace):$(this.bundle) I do not see 'mynamespace:a_bundle_scoped_class_in_my_namespaced_bundle::'";

    mynamespace:a_namespace_scoped_class_in_my_namespaced_bundle::
      "In $(this.namespace):$(this.bundle) I see 'mynamespace:a_namespace_scoped_class_in_my_namespaced_bundle::'";
}

body file control
{
      namespace => "mynamespace";
}

bundle agent my_bundle
{
  classes:
      "a_bundle_scoped_class_in_my_namespaced_bundle";

      "a_namespace_scoped_class_in_my_namespaced_bundle"
        scope => "namespace";

  reports:

    a_bundle_scoped_class_in_my_namespaced_bundle::
      "In $(this.namespace):$(this.bundle) I see 'a_bundle_scoped_class_in_my_namespaced_bundle::'";

    !a_bundle_scoped_class_in_my_namespaced_bundle::
      "In $(this.namespace):$(this.bundle) I do not see 'a_bundle_scoped_class_in_my_namespaced_bundle::'";

    a_namespace_scoped_class_in_my_namespaced_bundle::
      "In $(this.namespace):$(this.bundle) I see 'a_namespace_scoped_class_in_my_namespaced_bundle::'";

    !a_namespace_scoped_class_in_my_namespaced_bundle::
      "In $(this.namespace):$(this.bundle) I do not see 'a_namespace_scoped_class_in_my_namespaced_bundle::'";

    mynamespace:a_bundle_scoped_class_in_my_namespaced_bundle::
      "In $(this.namespace):$(this.bundle) I see 'mynamespace:a_bundle_scoped_class_in_my_namespaced_bundle::'";

    !mynamespace:a_bundle_scoped_class_in_my_namespaced_bundle::
      "In $(this.namespace):$(this.bundle) I do not see 'mynamespace:a_bundle_scoped_class_in_my_namespaced_bundle::'";

    mynamespace:a_namespace_scoped_class_in_my_namespaced_bundle::
      "In $(this.namespace):$(this.bundle) I see 'mynamespace:a_namespace_scoped_class_in_my_namespaced_bundle::'";
}
###############################################################################
#+begin_src example_output
#@ ```
#@ R: In mynamespace:my_bundle I see 'a_bundle_scoped_class_in_my_namespaced_bundle::'
#@ R: In mynamespace:my_bundle I see 'a_namespace_scoped_class_in_my_namespaced_bundle::'
#@ R: In mynamespace:my_bundle I see 'mynamespace:a_bundle_scoped_class_in_my_namespaced_bundle::'
#@ R: In mynamespace:my_bundle I see 'mynamespace:a_namespace_scoped_class_in_my_namespaced_bundle::'
#@ R: In default:main I do not see 'a_bundle_scoped_class_in_my_namespaced_bundle::'
#@ R: In default:main I do not see 'a_namespace_scoped_class_in_my_namespaced_bundle::'
#@ R: In default:main I do not see 'mynamespace:a_bundle_scoped_class_in_my_namespaced_bundle::'
#@ R: In default:main I see 'mynamespace:a_namespace_scoped_class_in_my_namespaced_bundle::'
#@ ```
#+end_src

