| // Java class go.issue12403.Issue12403 is a proxy for talking to a Go program. |
| // gobind -lang=java issue12403 |
| // |
| // File is generated by gobind. Do not edit. |
| package go.issue12403; |
| |
| import go.Seq; |
| |
| public abstract class Issue12403 { |
| static { |
| Seq.touch(); // for loading the native library |
| init(); |
| } |
| |
| private Issue12403() {} // uninstantiable |
| |
| // touch is called from other bound packages to initialize this package |
| public static void touch() {} |
| |
| private static native void init(); |
| |
| public interface Parsable { |
| public String FromJSON(String jstr); |
| public String ToJSON() throws Exception; |
| } |
| |
| private static final class proxyParsable extends Seq.Proxy implements Parsable { |
| proxyParsable(Seq.Ref ref) { super(ref); } |
| |
| public native String FromJSON(String jstr); |
| public native String ToJSON() throws Exception; |
| } |
| |
| |
| } |