@Test void testHashCode() { String name0 = "mc0"; String name1 = "mc1"; ProxyPackage ns0 = ProxyPackage.DEFAULT; ProxyClass mc0 = new ProxyClass(ns0, name0); ProxyClass mc0Bis = new ProxyClass(ns0, name0); ProxyClass mc1 = new ProxyClass(ns0, name1); assertThat(mc0.hashCode()).isEqualTo(mc0Bis.hashCode()); assertThat(mc0.hashCode()).isNotEqualTo(mc1.hashCode()); assertThat(mc1.hashCode()).isNotEqualTo(mc0Bis.hashCode()); }
@Override public int hashCode() { return Objects.hash(super.hashCode(), ns); }
ProxyClass extends AbstractNamedElement<ProxyClass> implements Proxy<ProxyClass, EClass> { @Override public int hashCode() { return Objects.hash(super.hashCode(), ns); } }
ProxyClass extends AbstractNamedElement<ProxyClass> implements Proxy<ProxyClass, EClass> { @Override public int hashCode() { return Objects.hash(super.hashCode(), ns); } ProxyClass(EClass eClass);  ProxyClass(ProxyPackage ns);  ProxyClass(ProxyPackage ns, @Nullable String name); }
ProxyClass extends AbstractNamedElement<ProxyClass> implements Proxy<ProxyClass, EClass> { @Override public int hashCode() { return Objects.hash(super.hashCode(), 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> { @Override public int hashCode() { return Objects.hash(super.hashCode(), 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; }