public static String translateFieldName(List<VariableDeclarator> variables) { for (VariableDeclarator var : variables) { return var.getId().toString(); } return ""; }
public void visit(VariableDeclarator n, Object arg) { n.getId().accept(this, arg); if (n.getInit() != null) { n.getInit().accept(this, arg); } }