private static bool accept0(global::System.IntPtr @__envp, global::net.sf.jni4net.utils.JniLocalHandle @__obj, global::net.sf.jni4net.utils.JniLocalHandle par0)
        {
            // (Ljava/lang/Object;)Z
            // (Ljava/lang/Object;)Z
            global::net.sf.jni4net.jni.JNIEnv @__env = global::net.sf.jni4net.jni.JNIEnv.Wrap(@__envp);
            bool @__return = default(bool);

            try {
                global::org.drools.marshalling.ObjectMarshallingStrategyAcceptor @__real = global::net.sf.jni4net.utils.Convertor.FullJ2C <global::org.drools.marshalling.ObjectMarshallingStrategyAcceptor>(@__env, @__obj);
                @__return = ((bool)(@__real.accept(global::net.sf.jni4net.utils.Convertor.FullJ2C <global::java.lang.Object>(@__env, par0))));
            }catch (global::System.Exception __ex) { @__env.ThrowExisting(__ex); }
            return(@__return);
        }
예제 #2
0
 public static global::org.drools.marshalling.ObjectMarshallingStrategy newIdentityMarshallingStrategy(global::org.drools.marshalling.ObjectMarshallingStrategyAcceptor par0)
 {
     global::net.sf.jni4net.jni.JNIEnv @__env = global::net.sf.jni4net.jni.JNIEnv.ThreadEnv;
     using (new global::net.sf.jni4net.jni.LocalFrame(@__env, 12)){
         return(global::net.sf.jni4net.utils.Convertor.FullJ2C <global::org.drools.marshalling.ObjectMarshallingStrategy>(@__env, @__env.CallStaticObjectMethodPtr(global::org.drools.marshalling.MarshallerFactory.staticClass, global::org.drools.marshalling.MarshallerFactory._newIdentityMarshallingStrategy1, global::net.sf.jni4net.utils.Convertor.ParFullC2J <global::org.drools.marshalling.ObjectMarshallingStrategyAcceptor>(@__env, par0))));
     }
 }
 public global::org.drools.marshalling.ObjectMarshallingStrategy newIdentityMarshallingStrategy(global::org.drools.marshalling.ObjectMarshallingStrategyAcceptor par0)
 {
     global::net.sf.jni4net.jni.JNIEnv @__env = this.Env;
     using (new global::net.sf.jni4net.jni.LocalFrame(@__env, 12)){
         return(global::net.sf.jni4net.utils.Convertor.FullJ2C <global::org.drools.marshalling.ObjectMarshallingStrategy>(@__env, @__env.CallObjectMethodPtr(this, global::org.drools.marshalling.@__MarshallerProvider._newIdentityMarshallingStrategy1, global::net.sf.jni4net.utils.Convertor.ParFullC2J <global::org.drools.marshalling.ObjectMarshallingStrategyAcceptor>(@__env, par0))));
     }
 }