MyClassNatives.java revision 82da44b625a1af03c0b768c71f1cef29831127c3
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 double fooDD(double x, double y); 9 native Object fooIOO(int x, Object y, Object z); 10 static native Object fooSIOO(int x, Object y, Object z); 11 static native int fooSII(int x, int y); 12 static synchronized native Object fooSSIOO(int x, Object y, Object z); 13} 14