private JavaMethod createJavaMethod() {
   final Java6Method java6Method = new Java6Method();
   java6Method.setName("getPersonInfo");
   java6Method.setType("String");
   final Java6Parameter stringName = new Java6Parameter();
   stringName.setName("name");
   stringName.setType("String");
   java6Method.addParameter(stringName);
   final Java6Parameter intAge = new Java6Parameter();
   intAge.setName("age");
   intAge.setType("int");
   java6Method.addParameter(intAge);
   java6Method.setAccessType("private");
   return java6Method;
 }
 private JavaParameter createJavaParameter() {
   final Java6Parameter stringName = new Java6Parameter();
   stringName.setName("name");
   stringName.setType("String");
   return stringName;
 }