public ParamInfo(TypeInfo Type, string Name = null, Modifier m = 0) { this.Type = Type; this.Name = Name; IsParamArray = (m & Modifier.Params) != 0; CanBeNull = (m & Modifier.CanBeNull) != 0; }
static bool IsObjectReferenceType(TypeInfo type) { switch (type.Type) { case "jobject": case "jclass": case "jthrowable": case "jstring": case "jarray": case "jweak": return true; } if (type.Type.StartsWith ("j") && type.Type.EndsWith("Array")) return true; return false; }
public ParamInfo(TypeInfo Type, string Name, bool IsParamArray) { this.Type = Type; this.Name = Name; this.IsParamArray = IsParamArray; }
static bool IsMemberID(TypeInfo type) { switch (type.Type) { case "jfieldID": case "jmethodID": case "jstaticfieldID": case "jstaticmethodID": return true; } return false; }