MyClassNatives.java revision 9b269d281d16798b0c24027c32ec6507f71b2787
1// Copyright 2011 Google Inc. All Rights Reserved. 2 3class MyClass { 4 native void throwException(); 5 native void foo(); 6 native int fooI(int x); 7 native int fooII(int x, int y); 8 native long fooJJ(long x, long y); 9 native Object fooO(Object x); 10 native double fooDD(double x, double y); 11 native Object fooIOO(int x, Object y, Object z); 12 static native Object fooSIOO(int x, Object y, Object z); 13 static native int fooSII(int x, int y); 14 static synchronized native Object fooSSIOO(int x, Object y, Object z); 15} 16