Package org.revapi.basic
Class MatchingProgress<E extends org.revapi.Element<E>>
- java.lang.Object
-
- org.revapi.basic.MatchingProgress<E>
-
- All Implemented Interfaces:
org.revapi.DifferenceTransform.TraversalTracker<E>
public abstract class MatchingProgress<E extends org.revapi.Element<E>> extends Object implements org.revapi.DifferenceTransform.TraversalTracker<E>
-
-
Field Summary
Fields Modifier and Type Field Description protected Map<String,Pattern>
attachmentRegexes
protected Map<String,String>
attachments
protected String
code
protected Pattern
codeRegex
protected Map<E,Set<E>>
decidedlyMatchingElementPairs
protected org.revapi.TreeFilter<E>
newFilter
protected org.revapi.TreeFilter<E>
oldFilter
protected boolean
regex
protected Map<E,Set<E>>
undecidedElementPairs
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
endElements(E oldElement, E newElement)
void
endTraversal()
boolean
matches(org.revapi.Difference difference, org.revapi.Element<?> oldElement, org.revapi.Element<?> newElement)
boolean
startElements(E oldElement, E newElement)
abstract org.revapi.Difference
transformMatching(org.revapi.Difference difference, org.revapi.Element<?> oldElement, org.revapi.Element<?> newElement)
-
-
-
Method Detail
-
endTraversal
public void endTraversal()
-
matches
public boolean matches(org.revapi.Difference difference, org.revapi.Element<?> oldElement, org.revapi.Element<?> newElement)
-
transformMatching
@Nullable public abstract org.revapi.Difference transformMatching(org.revapi.Difference difference, org.revapi.Element<?> oldElement, org.revapi.Element<?> newElement)
-
-