Home
last modified time | relevance | path

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

/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/lexicalpreservation/
DDifference.java132 DifferenceElement diffElement = diffElements.get(diffIndex); in apply() local
134 if (diffElement instanceof Added) { in apply()
135 applyAddedDiffElement((Added) diffElement); in apply()
141 if (diffElement instanceof Kept) { in apply()
142 …applyKeptDiffElement((Kept) diffElement, originalElement, originalElementIsChild, originalElementI… in apply()
143 } else if (diffElement instanceof Removed) { in apply()
144 Removed removed = (Removed) diffElement; in apply()
147 … throw new UnsupportedOperationException("" + diffElement + " vs " + originalElement); in apply()
174 DifferenceElement diffElement = diffElements.get(diffIndex); in applyLeftOverDiffElements() local
175 if (diffElement instanceof Kept) { in applyLeftOverDiffElements()
[all …]