// Java class go.interfaces.Interfaces is a proxy for talking to a Go program. // gobind -lang=java interfaces // // File is generated by gobind. Do not edit. package go.interfaces; import go.Seq; public abstract class Interfaces { static { Seq.touch(); // for loading the native library init(); } private Interfaces() {} // uninstantiable private static native void init(); public interface Error extends go.Seq.Object { public void Err() throws Exception; public static abstract class Stub implements Error { private final go.Seq.Ref ref; public Stub() { ref = go.Seq.createRef(this); } public final go.Seq.Ref ref() { return ref; } } static final class Proxy implements Error { private go.Seq.Ref ref; Proxy(go.Seq.Ref ref) { this.ref = ref; } public final go.Seq.Ref ref() { return ref; } public native void Err() throws Exception; } } public interface I extends go.Seq.Object { public int Rand(); public static abstract class Stub implements I { private final go.Seq.Ref ref; public Stub() { ref = go.Seq.createRef(this); } public final go.Seq.Ref ref() { return ref; } } static final class Proxy implements I { private go.Seq.Ref ref; Proxy(go.Seq.Ref ref) { this.ref = ref; } public final go.Seq.Ref ref() { return ref; } public native int Rand(); } } public interface I1 extends go.Seq.Object { public void J(); static final class Proxy implements I1 { private go.Seq.Ref ref; Proxy(go.Seq.Ref ref) { this.ref = ref; } public final go.Seq.Ref ref() { return ref; } public native void J(); } } public interface I2 extends go.Seq.Object { public void G(); static final class Proxy implements I2 { private go.Seq.Ref ref; Proxy(go.Seq.Ref ref) { this.ref = ref; } public final go.Seq.Ref ref() { return ref; } public native void G(); } } public interface I3 extends go.Seq.Object { public I1 F(); public static abstract class Stub implements I3 { private final go.Seq.Ref ref; public Stub() { ref = go.Seq.createRef(this); } public final go.Seq.Ref ref() { return ref; } } static final class Proxy implements I3 { private go.Seq.Ref ref; Proxy(go.Seq.Ref ref) { this.ref = ref; } public final go.Seq.Ref ref() { return ref; } public native I1 F(); } } public interface WithParam extends go.Seq.Object { public void HasParam(boolean p0); public static abstract class Stub implements WithParam { private final go.Seq.Ref ref; public Stub() { ref = go.Seq.createRef(this); } public final go.Seq.Ref ref() { return ref; } } static final class Proxy implements WithParam { private go.Seq.Ref ref; Proxy(go.Seq.Ref ref) { this.ref = ref; } public final go.Seq.Ref ref() { return ref; } public native void HasParam(boolean p0); } } public static native int Add3(I r); public static native void CallErr(Error e) throws Exception; public static native I Seven(); }