nonExistingFields.add(name);
}
for (String nonfield : nonExistingFields) {
removedNames.remove(nonfield);
}
ASTParser astparser = ASTParser.newParser(AST.JLS3);
astparser.setSource(unit);
CompilationUnit cunit = (CompilationUnit) astparser.createAST(null);
List<String> getmethods = new ArrayList<String>();
for (int i = 0; i < removedNames.size(); i++) {
String removed_name = removedNames.get(i);
String getmethod = NamespaceUtil.getGetMethodName(cunit, removed_name);
getmethods.add(getmethod);