MCPcopy Index your code
hub / github.com/benfry/processing4 / visit

Method visit

java/src/processing/mode/java/SourceUtil.java:134–141  ·  view source on GitHub ↗
(SimpleType node)

Source from the content-addressed store, hash-verified

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) {

Callers

nothing calls this directly

Calls 8

replaceMethod · 0.95
insertMethod · 0.95
getModifiersMethod · 0.80
matchesMethod · 0.65
equalsMethod · 0.45
toStringMethod · 0.45
getNameMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected