@Test public void test_equals() { assertThat(new StringNativeKind("ast.Element")).isEqualTo(new StringNativeKind("ast.Element")); assertThat(new StringNativeKind("ast.Element").hashCode()).isEqualTo(new StringNativeKind("ast.Element").hashCode()); }
@Override public int hashCode() { return kind.hashCode(); }
StringNativeKind implements NativeKind { @Override public int hashCode() { return kind.hashCode(); } }
StringNativeKind implements NativeKind { @Override public int hashCode() { return kind.hashCode(); } StringNativeKind(String kind); }
StringNativeKind implements NativeKind { @Override public int hashCode() { return kind.hashCode(); } StringNativeKind(String kind); @Nullable static NativeKind of(@Nullable String value); @Nullable static String toString(@Nullable NativeKind nativeKind); @Override String toString(); @Override boolean equals(Object other); @Override int hashCode(); }
StringNativeKind implements NativeKind { @Override public int hashCode() { return kind.hashCode(); } StringNativeKind(String kind); @Nullable static NativeKind of(@Nullable String value); @Nullable static String toString(@Nullable NativeKind nativeKind); @Override String toString(); @Override boolean equals(Object other); @Override int hashCode();  }