0
|
1 package org.msgpack.testclasses;
|
|
2
|
|
3 import org.junit.Ignore;
|
|
4 import org.msgpack.annotation.Beans;
|
|
5 import org.msgpack.annotation.Message;
|
|
6
|
|
7
|
|
8 @Ignore @Message @Beans
|
|
9 public class SuperClass {
|
|
10 public String f0;
|
|
11
|
|
12 public SuperClass() {}
|
|
13
|
|
14 public String getF0() {
|
|
15 return f0;
|
|
16 }
|
|
17
|
|
18 public void setF0(String f0) {
|
|
19 this.f0 = f0;
|
|
20 }
|
|
21
|
|
22 @Override
|
|
23 public boolean equals(Object o) {
|
|
24 if (! (o instanceof SuperClass)) {
|
|
25 return false;
|
|
26 }
|
|
27 SuperClass that = (SuperClass) o;
|
|
28 if (f0 == null) {
|
|
29 if (that.f0 != null) {
|
|
30 return false;
|
|
31 }
|
|
32 }
|
|
33 if (that.f0 != null) {
|
|
34 if (! f0.equals(that.f0)) {
|
|
35 return false;
|
|
36 }
|
|
37 }
|
|
38 return true;
|
|
39 }
|
|
40 }
|