@Test public void testSum() { assertEquals(6, JNAAccess.sum(new int[]{0, 1, 2, 3}, 4)); }
public static native int sum(int[] intArr, int arrayLength);
JNAAccess { public static native int sum(int[] intArr, int arrayLength); }
JNAAccess { public static native int sum(int[] intArr, int arrayLength);  }
JNAAccess { public static native int sum(int[] intArr, int arrayLength);  static native int sum(int[] intArr, int arrayLength); static native int inc(int arg); }
JNAAccess { public static native int sum(int[] intArr, int arrayLength);  static native int sum(int[] intArr, int arrayLength); static native int inc(int arg);  }