FileDocCategorySizeDatePackage
ClassWithNative.javaAPI DocAndroid 5.1 API1402Thu Mar 12 22:22:44 GMT 2015com.android.tools.layoutlib.create.dataclass

ClassWithNative

public class ClassWithNative extends Object
Dummy test class with a native method. The native method is not defined and any attempt to invoke it will throw an {@link UnsatisfiedLinkError}. Used by {@link DelegateClassAdapterTest}.

Fields Summary
Constructors Summary
public ClassWithNative()

    
Methods Summary
public intadd(int a, int b)

        return a + b;
    
public intcallNativeInstance(int a, double d, java.lang.Object[] o)

        return native_instance(a, d, o);
    
private native intnative_instance(int a, double d, java.lang.Object[] o)