private static byte ToByte45(global::System.IntPtr @__envp, global::net.sf.jni4net.utils.JniLocalHandle @__class, global::net.sf.jni4net.utils.JniLocalHandle value)
{
// (Lsystem/Decimal;)B
// (LSystem/Decimal;)B
global::net.sf.jni4net.jni.JNIEnv @__env = global::net.sf.jni4net.jni.JNIEnv.Wrap(@__envp);
byte @__return = default(byte);
try {
@__return = ((byte)(decimal.ToByte(global::net.sf.jni4net.utils.Convertor.StrongJp2C<decimal>(@__env, value))));
}catch (global::System.Exception __ex){@__env.ThrowExisting(__ex);}
return @__return;
}