MyClassNatives.java revision 82da44b625a1af03c0b768c71f1cef29831127c3
19f30b38d74990286ce27c3a45368f73dbe3638f0Brian Carlstrom// Copyright 2011 Google Inc. All Rights Reserved. 29f30b38d74990286ce27c3a45368f73dbe3638f0Brian Carlstrom 39f30b38d74990286ce27c3a45368f73dbe3638f0Brian Carlstromclass MyClass { 4a2501990dd0f68baf38ce19251949d7bb3ecfe5aElliott Hughes native void throwException(); 59f30b38d74990286ce27c3a45368f73dbe3638f0Brian Carlstrom native void foo(); 69f30b38d74990286ce27c3a45368f73dbe3638f0Brian Carlstrom native int fooI(int x); 79f30b38d74990286ce27c3a45368f73dbe3638f0Brian Carlstrom native int fooII(int x, int y); 89f30b38d74990286ce27c3a45368f73dbe3638f0Brian Carlstrom native double fooDD(double x, double y); 99f30b38d74990286ce27c3a45368f73dbe3638f0Brian Carlstrom native Object fooIOO(int x, Object y, Object z); 109f30b38d74990286ce27c3a45368f73dbe3638f0Brian Carlstrom static native Object fooSIOO(int x, Object y, Object z); 1182da44b625a1af03c0b768c71f1cef29831127c3Shih-wei Liao static native int fooSII(int x, int y); 129f30b38d74990286ce27c3a45368f73dbe3638f0Brian Carlstrom static synchronized native Object fooSSIOO(int x, Object y, Object z); 139f30b38d74990286ce27c3a45368f73dbe3638f0Brian Carlstrom} 14