public JavaField(JavaENV _env, JavaClass _cls, string _name, string _type) : base(_env, _cls, _name, _type) { id = env.GetFieldID(klass.GetID(), name, JavaBasicConst.ToJNISigName(type)); if (id <= 0) { throw new Exception("field[" + name + "] is not found"); } }
protected string GetMethodSig() { string signame = "("; foreach (string x in paramlist) { signame += JavaBasicConst.ToJNISigName(x); } signame += ")" + JavaBasicConst.ToJNISigName(returntype); return(signame); }