Example #1
0
 static Test()
 {
     clazz = JClass.ForName ("Test");
     _ctr = clazz.GetConstructor ();
     _foo = clazz.GetMethod ("foo", "(LControllable;)V");
     _bar = clazz.GetMethod ("bar", "()LControllable;");
 }
Example #2
0
 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");
 }
Example #3
0
 static ControllableJNIImpl()
 {
     clazz = JClass.ForName ("Controllable");
     _control = clazz.GetMethod ("control", "()V");
 }
Example #4
0
 static Template()
 {
     clazz = JClass.ForName ("Template");
     _getInstance = clazz.GetStaticMethod ("getInstance", "()LTemplate;");
     _foo = clazz.GetMethod ("foo", "(LTemplate;)V");
 }
Example #5
0
 static TemplateJNIImpl()
 {
     clazz = JClass.ForName ("Template");
     _bar = clazz.GetMethod ("bar", "()V");
 }