Home
last modified time | relevance | path

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

/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/lexicalpreservation/
DDifference.java660 … Map<MatchClassification, Integer> potentialMatches = new EnumMap<>(MatchClassification.class); in findIndexOfCorrespondingNodeTextElement() local
683 potentialMatches.putIfAbsent(MatchClassification.ALL, i); in findIndexOfCorrespondingNodeTextElement()
685 potentialMatches.putIfAbsent(MatchClassification.PREVIOUS_AND_SAME, i); in findIndexOfCorrespondingNodeTextElement()
687 potentialMatches.putIfAbsent(MatchClassification.NEXT_AND_SAME, i); in findIndexOfCorrespondingNodeTextElement()
689 potentialMatches.putIfAbsent(MatchClassification.SAME_ONLY, i); in findIndexOfCorrespondingNodeTextElement()
692 potentialMatches.putIfAbsent(MatchClassification.ALMOST, i); in findIndexOfCorrespondingNodeTextElement()
698 Optional<MatchClassification> bestMatchKey = potentialMatches.keySet().stream() in findIndexOfCorrespondingNodeTextElement()
702 correspondingIndices.add(potentialMatches.get(bestMatchKey.get())); in findIndexOfCorrespondingNodeTextElement()