boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; StubBuilderType type = (StubBuilderType)o; return Objects.equals(myElementType, type.myElementType) && Objects.equals(myBinaryFileStubBuilder, type.myBinaryFileStubBuilder) && Objects.equals(myProperties, type.myProperties) && Objects.equals(myBinarySubBuilder, type.myBinarySubBuilder); }