Let's say we want to turn this expression String input = null; into input = null; by deleting String. This seems reasonable, but would take us at the syntax-tree level from a local_variable_declaration to an (expression_statement (assignment_expression)). How can we support this?
Let's say we want to turn this expression
String input = null;
intoinput = null;
by deletingString
. This seems reasonable, but would take us at the syntax-tree level from alocal_variable_declaration
to an(expression_statement (assignment_expression))
. How can we support this?