Brian Carlstrom | 9f30b38 | 2011-08-28 22:41:38 -0700 | [diff] [blame] | 1 | // Copyright 2011 Google Inc. All Rights Reserved. |
| 2 | |
| 3 | class MyClass { |
Elliott Hughes | a250199 | 2011-08-26 19:39:54 -0700 | [diff] [blame] | 4 | native void throwException(); |
Brian Carlstrom | 9f30b38 | 2011-08-28 22:41:38 -0700 | [diff] [blame] | 5 | native void foo(); |
| 6 | native int fooI(int x); |
| 7 | native int fooII(int x, int y); |
Shih-wei Liao | 558788e | 2011-09-01 02:39:11 -0700 | [diff] [blame^] | 8 | native Object fooL(Object x); |
Brian Carlstrom | 9f30b38 | 2011-08-28 22:41:38 -0700 | [diff] [blame] | 9 | native double fooDD(double x, double y); |
| 10 | native Object fooIOO(int x, Object y, Object z); |
| 11 | static native Object fooSIOO(int x, Object y, Object z); |
Shih-wei Liao | 82da44b | 2011-09-01 00:38:04 -0700 | [diff] [blame] | 12 | static native int fooSII(int x, int y); |
Brian Carlstrom | 9f30b38 | 2011-08-28 22:41:38 -0700 | [diff] [blame] | 13 | static synchronized native Object fooSSIOO(int x, Object y, Object z); |
| 14 | } |