public void beforeKnowledgePackageAdded(global::[email protected] par0) { global::net.sf.jni4net.jni.JNIEnv @__env = this.Env; using (new global::net.sf.jni4net.jni.LocalFrame(@__env, 12)){ @__env.CallVoidMethod(this, global::[email protected].@__KnowledgeBaseEventListener._beforeKnowledgePackageAdded0, global::net.sf.jni4net.utils.Convertor.ParFullC2J <global::[email protected]>(@__env, par0)); } }
private static global::net.sf.jni4net.utils.JniHandle getKnowledgePackage1(global::System.IntPtr @__envp, global::net.sf.jni4net.utils.JniLocalHandle @__obj) { // ()Lorg/drools/definition/KnowledgePackage; // ()Lorg/drools/definition/KnowledgePackage; global::net.sf.jni4net.jni.JNIEnv @__env = global::net.sf.jni4net.jni.JNIEnv.Wrap(@__envp); global::net.sf.jni4net.utils.JniHandle @__return = default(global::net.sf.jni4net.utils.JniHandle); try { global::[email protected] @__real = global::net.sf.jni4net.utils.Convertor.FullJ2C <global::[email protected]>(@__env, @__obj); @__return = global::net.sf.jni4net.utils.Convertor.FullC2J <global::org.drools.definition.KnowledgePackage>(@__env, @__real.getKnowledgePackage()); }catch (global::System.Exception __ex) { @__env.ThrowExisting(__ex); } return(@__return); }