private JavaMethod CreateJavaMethod(string access, string returnType, string methodName, Code code) { JavaMethod javaMethod = new JavaMethod(); javaMethod.MethodName = methodName; javaMethod.ReturnType = returnType; javaMethod.Access = access; javaMethod.Code = code; return javaMethod; }
private Code CreateCodeWithSimpleReturnType(String type) { Code code = new Code(); return code.AddLine("return " + type + ";"); }