github.com/F4RD1N/gomobile@v1.0.1/bind/testdata/keywords.java.golden (about) 1 // Code generated by gobind. DO NOT EDIT. 2 3 // Java class keywords.KeywordCaller is a proxy for talking to a Go program. 4 // 5 // autogenerated by gobind -lang=java keywords 6 package keywords; 7 8 import go.Seq; 9 10 public interface KeywordCaller { 11 public void abstract_(); 12 public void assert_(); 13 public void bool(); 14 public void boolean_(); 15 public void break_(); 16 public void byte_(); 17 public void case_(); 18 public void catch_(); 19 public void char_(); 20 public void class_(); 21 public void const_(); 22 public void continue_(); 23 public void default_(); 24 public void do_(); 25 public void double_(); 26 public void else_(); 27 public void enum_(); 28 public void extends_(); 29 public void false_(); 30 public void final_(); 31 public void finally_(); 32 public void float_(); 33 public void for_(); 34 public void goto_(); 35 public void if_(); 36 public void implements_(); 37 public void import_(); 38 public void instanceof_(); 39 public void int_(); 40 public void interface_(); 41 public void long_(); 42 public void native_(); 43 public void new_(); 44 public void nil(); 45 public void null_(); 46 public void package_(); 47 public void private_(); 48 public void protected_(); 49 public void public_(); 50 public void return_(); 51 public void short_(); 52 public void static_(); 53 public void strictfp_(); 54 public void super_(); 55 public void switch_(); 56 public void synchronized_(); 57 public void this_(); 58 public void throw_(); 59 public void throws_(); 60 public void transient_(); 61 public void true_(); 62 public void try_(); 63 public void void_(); 64 public void volatile_(); 65 public void while_(); 66 67 } 68 69 // Code generated by gobind. DO NOT EDIT. 70 71 // Java class keywords.Keywords is a proxy for talking to a Go program. 72 // 73 // autogenerated by gobind -lang=java keywords 74 package keywords; 75 76 import go.Seq; 77 78 public abstract class Keywords { 79 static { 80 Seq.touch(); // for loading the native library 81 _init(); 82 } 83 84 private Keywords() {} // uninstantiable 85 86 // touch is called from other bound packages to initialize this package 87 public static void touch() {} 88 89 private static native void _init(); 90 91 private static final class proxyKeywordCaller implements Seq.Proxy, KeywordCaller { 92 private final int refnum; 93 94 @Override public final int incRefnum() { 95 Seq.incGoRef(refnum, this); 96 return refnum; 97 } 98 99 proxyKeywordCaller(int refnum) { this.refnum = refnum; Seq.trackGoRef(refnum, this); } 100 101 public native void abstract_(); 102 public native void assert_(); 103 public native void bool(); 104 public native void boolean_(); 105 public native void break_(); 106 public native void byte_(); 107 public native void case_(); 108 public native void catch_(); 109 public native void char_(); 110 public native void class_(); 111 public native void const_(); 112 public native void continue_(); 113 public native void default_(); 114 public native void do_(); 115 public native void double_(); 116 public native void else_(); 117 public native void enum_(); 118 public native void extends_(); 119 public native void false_(); 120 public native void final_(); 121 public native void finally_(); 122 public native void float_(); 123 public native void for_(); 124 public native void goto_(); 125 public native void if_(); 126 public native void implements_(); 127 public native void import_(); 128 public native void instanceof_(); 129 public native void int_(); 130 public native void interface_(); 131 public native void long_(); 132 public native void native_(); 133 public native void new_(); 134 public native void nil(); 135 public native void null_(); 136 public native void package_(); 137 public native void private_(); 138 public native void protected_(); 139 public native void public_(); 140 public native void return_(); 141 public native void short_(); 142 public native void static_(); 143 public native void strictfp_(); 144 public native void super_(); 145 public native void switch_(); 146 public native void synchronized_(); 147 public native void this_(); 148 public native void throw_(); 149 public native void throws_(); 150 public native void transient_(); 151 public native void true_(); 152 public native void try_(); 153 public native void void_(); 154 public native void volatile_(); 155 public native void while_(); 156 } 157 158 159 public static native void const_(String id); 160 public static native void static_(String strictfp_); 161 }