Method { @Override public int hashCode() { return Objects.hashCode(name, returnType, attributes, visibility, final1, static1, annotations); } Method(@Nonnull final String name, @Nonnull final ReturnType returnType, @Nonnull final List<Attribute> attributes,
			@Nonnull final Visibility visibility, @Nonnull final Final final1, @Nonnull final Static static1,
			@Nonnull final List<Annotation> annotations); @Override boolean equals(final Object obj); @Nonnull List<Annotation> getAnnotations(); @Nonnull List<Attribute> getAttributes(); @Nonnull Final getFinal(); @Nonnull String getName(); @Nonnull ReturnType getReturnType(); @Nonnull Static getStatic(); @Nonnull Visibility getVisibility(); @Override int hashCode(); @Override String toString();  }
@Test public void equals_identical() { final Method a = new Blueprint().build(); final Method b = new Blueprint().build(); assertEquals(a, b); assertTrue(a.hashCode() == b.hashCode()); }
@Test public void equals_same() { final Method a = new Blueprint().build(); assertEquals(a, a); assertSame(a, a); assertTrue(a.hashCode() == a.hashCode()); }