blob: 885747a1080d461267fb55c2c180cf7122518957 [file] [log] [blame]
Brian Carlstrom9f30b382011-08-28 22:41:38 -07001// Copyright 2011 Google Inc. All Rights Reserved.
2
3class MyClass {
Elliott Hughesa2501992011-08-26 19:39:54 -07004 native void throwException();
Brian Carlstrom9f30b382011-08-28 22:41:38 -07005 native void foo();
6 native int fooI(int x);
7 native int fooII(int x, int y);
Ian Rogers9b269d22011-09-04 14:06:05 -07008 native long fooJJ(long x, long y);
9 native Object fooO(Object x);
Brian Carlstrom9f30b382011-08-28 22:41:38 -070010 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);
Shih-wei Liao82da44b2011-09-01 00:38:04 -070013 static native int fooSII(int x, int y);
Brian Carlstrom9f30b382011-08-28 22:41:38 -070014 static synchronized native Object fooSSIOO(int x, Object y, Object z);
Ian Rogersb9231c82011-09-05 22:13:19 -070015 static native void arraycopy(Object src, int src_pos, Object dst, int dst_pos, int length);
Brian Carlstrom9f30b382011-08-28 22:41:38 -070016}