Home
last modified time | relevance | path

Searched refs:nodeAddedOrRemoved (Results 1 – 7 of 7) sorted by relevance

/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/observer/
DPropagatingAstObserver.java47 …oncreteListChange(NodeList observedNode, ListChangeType type, int index, Node nodeAddedOrRemoved) { in transformInPropagatingObserver() argument
48 observer.listChange(observedNode, type, index, nodeAddedOrRemoved); in transformInPropagatingObserver()
66 …l void listChange(NodeList observedNode, ListChangeType type, int index, Node nodeAddedOrRemoved) {
68 considerRemoving(nodeAddedOrRemoved);
70 considerAdding(nodeAddedOrRemoved);
72 concreteListChange(observedNode, type, index, nodeAddedOrRemoved);
89 …oncreteListChange(NodeList observedNode, ListChangeType type, int index, Node nodeAddedOrRemoved) {
DAstObserver.java67 void listChange(NodeList observedNode, ListChangeType type, int index, Node nodeAddedOrRemoved); in listChange() argument
DAstObserverAdapter.java40 …c void listChange(NodeList observedNode, ListChangeType type, int index, Node nodeAddedOrRemoved) { in listChange() argument
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/
DNodeList.java465 private void notifyElementAdded(int index, Node nodeAddedOrRemoved) { in notifyElementAdded() argument
466 …s.forEach(o -> o.listChange(this, AstObserver.ListChangeType.ADDITION, index, nodeAddedOrRemoved)); in notifyElementAdded()
469 private void notifyElementRemoved(int index, Node nodeAddedOrRemoved) { in notifyElementRemoved() argument
470 …rs.forEach(o -> o.listChange(this, AstObserver.ListChangeType.REMOVAL, index, nodeAddedOrRemoved)); in notifyElementRemoved()
473 private void notifyElementReplaced(int index, Node nodeAddedOrRemoved) { in notifyElementReplaced() argument
474 … this.observers.forEach(o -> o.listReplacement(this, index, this.get(index), nodeAddedOrRemoved)); in notifyElementReplaced()
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/ast/
DNodeTest.java193 …c void listChange(NodeList observedNode, ListChangeType type, int index, Node nodeAddedOrRemoved) { in deleteAParameterTriggerNotifications()
194 changes.add("removing [" + nodeAddedOrRemoved + "] from index " + index); in deleteAParameterTriggerNotifications()
211 …c void listChange(NodeList observedNode, ListChangeType type, int index, Node nodeAddedOrRemoved) { in deleteClassNameDoesNotTriggerNotifications()
212 changes.add("removing [" + nodeAddedOrRemoved + "] from index " + index); in deleteClassNameDoesNotTriggerNotifications()
235 …c void listChange(NodeList observedNode, ListChangeType type, int index, Node nodeAddedOrRemoved) { in deleteMethodBodyDoesTriggerNotifications()
236 changes.add("removing [" + nodeAddedOrRemoved + "] from index " + index); in deleteMethodBodyDoesTriggerNotifications()
DNodeListTest.java56 …c void listChange(NodeList observedNode, ListChangeType type, int index, Node nodeAddedOrRemoved) { in createObserver() argument
57 … changes.add(String.format("'%s' %s in list at %d", nodeAddedOrRemoved, type, index)); in createObserver()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/lexicalpreservation/
DLexicalPreservingPrinter.java262 …Change(NodeList changedList, AstObserver.ListChangeType type, int index, Node nodeAddedOrRemoved) { in concreteListChange() argument
268 …ulateListAdditionDifference(findNodeListName(changedList), changedList, index, nodeAddedOrRemoved); in concreteListChange()