@Test void testNs() { String name0 = "mc0"; String name1 = "mc1"; ProxyPackage ns0 = ProxyPackage.DEFAULT; ProxyPackage ns1 = ProxyPackage.Registry.getInstance().register("prefix0", "uri0"); ProxyClass mc0 = new ProxyClass(ns0, name0); assertThat(mc0.getNamespace()).isEqualTo(ns0); ProxyClass mc1 = new ProxyClass(ns1, name1); assertThat(mc1.getNamespace()).isEqualTo(ns1); assertThat(mc0.getNamespace()).isNotEqualTo(mc1.getNamespace()); }
@Nonnull public ProxyPackage getNamespace() { return ns; }
ProxyClass extends AbstractNamedElement<ProxyClass> implements Proxy<ProxyClass, EClass> { @Nonnull public ProxyPackage getNamespace() { return ns; } }
ProxyClass extends AbstractNamedElement<ProxyClass> implements Proxy<ProxyClass, EClass> { @Nonnull public ProxyPackage getNamespace() { return ns; } ProxyClass(EClass eClass);  ProxyClass(ProxyPackage ns);  ProxyClass(ProxyPackage ns, @Nullable String name); }
ProxyClass extends AbstractNamedElement<ProxyClass> implements Proxy<ProxyClass, EClass> { @Nonnull public ProxyPackage getNamespace() { return ns; } ProxyClass(EClass eClass);  ProxyClass(ProxyPackage ns);  ProxyClass(ProxyPackage ns, @Nullable String name); @Override EClass getOrigin(); @Nonnull @Override ProxyClass setOrigin(EClass eClass); @Nonnull ProxyPackage getNamespace(); @Override int hashCode(); @Override boolean equals(@Nullable Object o); @Override String toString(); }
ProxyClass extends AbstractNamedElement<ProxyClass> implements Proxy<ProxyClass, EClass> { @Nonnull public ProxyPackage getNamespace() { return ns; } ProxyClass(EClass eClass);  ProxyClass(ProxyPackage ns);  ProxyClass(ProxyPackage ns, @Nullable String name); @Override EClass getOrigin(); @Nonnull @Override ProxyClass setOrigin(EClass eClass); @Nonnull ProxyPackage getNamespace(); @Override int hashCode(); @Override boolean equals(@Nullable Object o); @Override String toString(); @Nonnull
    static final ProxyClass DEFAULT; }