(SimpleType node)
| 132 | // Walk the tree |
| 133 | cu.accept(new ASTVisitor() { |
| 134 | @Override |
| 135 | public boolean visit(SimpleType node) { |
| 136 | // replace "color" with "int" |
| 137 | if ("color".equals(node.getName().toString())) { |
| 138 | edits.add(Edit.replace(node.getStartPosition(), node.getLength(), "int")); |
| 139 | } |
| 140 | return super.visit(node); |
| 141 | } |
| 142 | |
| 143 | @Override |
| 144 | public boolean visit(NumberLiteral node) { |