Debian Codegraph @

bind/testdata/ignore.java.golden

raw
1 // Code generated by gobind. DO NOT EDIT.
2
3 // Java class ignore.S is a proxy for talking to a Go program.
4 //
5 // autogenerated by gobind -lang=java ignore
6 package ignore;
7
8 import go.Seq;
9
10 public final class S implements Seq.Proxy, I {
11 static { Ignore.touch(); }
12
13 private final int refnum;
14
15 @Override public final int incRefnum() {
16 Seq.incGoRef(refnum, this);
17 return refnum;
18 }
19
20 S(int refnum) { this.refnum = refnum; Seq.trackGoRef(refnum, this); }
21
22 public S() { this.refnum = __New(); Seq.trackGoRef(refnum, this); }
23
24 private static native int __New();
25
26 // skipped field S.F with unsupported type: interface{}
27
28 // skipped method S.Argument with unsupported parameter or return types
29
30 // skipped method S.Result with unsupported parameter or return types
31
32 @Override public boolean equals(Object o) {
33 if (o == null || !(o instanceof S)) {
34 return false;
35 }
36 S that = (S)o;
37 // skipped field S.F with unsupported type: interface{}
38
39 return true;
40 }
41
42 @Override public int hashCode() {
43 return java.util.Arrays.hashCode(new Object[] {});
44 }
45
46 @Override public String toString() {
47 StringBuilder b = new StringBuilder();
48 b.append("S").append("{");
49 return b.append("}").toString();
50 }
51 }
52
53 // Code generated by gobind. DO NOT EDIT.
54
55 // Java class ignore.I is a proxy for talking to a Go program.
56 //
57 // autogenerated by gobind -lang=java ignore
58 package ignore;
59
60 import go.Seq;
61
62 public interface I {
63 // skipped method I.Argument with unsupported parameter or return types
64
65 // skipped method I.Result with unsupported parameter or return types
66
67
68 }
69
70 // Code generated by gobind. DO NOT EDIT.
71
72 // Java class ignore.Ignore is a proxy for talking to a Go program.
73 //
74 // autogenerated by gobind -lang=java ignore
75 package ignore;
76
77 import go.Seq;
78
79 public abstract class Ignore {
80 static {
81 Seq.touch(); // for loading the native library
82 _init();
83 }
84
85 private Ignore() {} // uninstantiable
86
87 // touch is called from other bound packages to initialize this package
88 public static void touch() {}
89
90 private static native void _init();
91
92 private static final class proxyI implements Seq.Proxy, I {
93 private final int refnum;
94
95 @Override public final int incRefnum() {
96 Seq.incGoRef(refnum, this);
97 return refnum;
98 }
99
100 proxyI(int refnum) { this.refnum = refnum; Seq.trackGoRef(refnum, this); }
101
102 // skipped method I.Argument with unsupported parameter or return types
103
104 // skipped method I.Result with unsupported parameter or return types
105
106 }
107
108 // skipped const Cuint with unsupported type: uint
109
110 // skipped const Cuint32 with unsupported type: uint32
111
112 // skipped const Cuint64 with unsupported type: uint64
113
114 // skipped const NamedConst with unsupported type: ignore.NamedString
115
116
117 // skipped variable C128 with unsupported type: complex128
118
119 // skipped variable C64 with unsupported type: complex64
120
121 // skipped variable Uint with unsupported type: uint
122
123 // skipped variable Uint32 with unsupported type: uint32
124
125 // skipped variable Uint64 with unsupported type: uint64
126
127 // skipped variable V with unsupported type: interface{}
128
129 // skipped variable Var with unsupported type: interface{}
130
131 // skipped function Argument with unsupported parameter or return types
132
133 // skipped function Result with unsupported parameter or return types
134
135 }