static Test() { clazz = JClass.ForName ("Test"); _ctr = clazz.GetConstructor (); _foo = clazz.GetMethod ("foo", "(LControllable;)V"); _bar = clazz.GetMethod ("bar", "()LControllable;"); }
static Prog() { clazz = JClass.ForName ("Prog"); _ctr = clazz.GetConstructor (); _max = clazz.GetMethod ("max", "(II)I"); _maxEx = clazz.GetMethod ("maxEx", "()I"); _hi = clazz.GetStaticMethod ("hi", "()V"); _foo = clazz.GetMethod ("foo", "()LProg;"); _fooA = clazz.GetMethod ("fooA", "()[LProg;"); _fooB = clazz.GetMethod ("fooB", "([LProg;)I"); _fooC = clazz.GetMethod ("fooC", "()[I"); _foo9 = clazz.GetMethod ("foo9", "([I)I"); _foo10 = clazz.GetMethod ("foo10", "([C)[C"); }
static ControllableJNIImpl() { clazz = JClass.ForName ("Controllable"); _control = clazz.GetMethod ("control", "()V"); }
static Template() { clazz = JClass.ForName ("Template"); _getInstance = clazz.GetStaticMethod ("getInstance", "()LTemplate;"); _foo = clazz.GetMethod ("foo", "(LTemplate;)V"); }
static TemplateJNIImpl() { clazz = JClass.ForName ("Template"); _bar = clazz.GetMethod ("bar", "()V"); }