github.com/thommil/tge-mobile@v0.0.0-20190308225214-66a08abd51aa/bind/testdata/customprefix.java.golden (about) 1 // Java class com.example.customprefix.Customprefix is a proxy for talking to a Go program. 2 // gobind -lang=java -javapkg=com.example customprefix 3 // 4 // File is generated by gobind. Do not edit. 5 package com.example.customprefix; 6 7 import go.Seq; 8 9 public abstract class Customprefix { 10 static { 11 Seq.touch(); // for loading the native library 12 _init(); 13 } 14 15 private Customprefix() {} // uninstantiable 16 17 // touch is called from other bound packages to initialize this package 18 public static void touch() {} 19 20 private static native void _init(); 21 22 23 24 public static native void f(); 25 }