public class ParametrizedDuplicates
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
collectCopyMapping(PsiElement [] pattern,
PsiElement [] copy,
java.util.function.Predicate<? super PsiExpression> isReplaceablePattern,
java.util.function.BiConsumer<? super PsiExpression,? super PsiExpression> expressionsMapping,
java.util.function.BiConsumer<? super PsiVariable,? super PsiVariable> variablesMapping) |
static ParametrizedDuplicates |
findDuplicates(ExtractMethodProcessor originalProcessor,
DuplicatesFinder.MatchType matchType,
java.util.Set<? extends TextRange> textRanges) |
java.util.List<Match> |
getDuplicates() |
int |
getSize() |
public static ParametrizedDuplicates findDuplicates(ExtractMethodProcessor originalProcessor, DuplicatesFinder.MatchType matchType, java.util.Set<? extends TextRange> textRanges)
public int getSize()
public java.util.List<Match> getDuplicates()
public static void collectCopyMapping(PsiElement [] pattern, PsiElement [] copy, java.util.function.Predicate<? super PsiExpression> isReplaceablePattern, java.util.function.BiConsumer<? super PsiExpression,? super PsiExpression> expressionsMapping, java.util.function.BiConsumer<? super PsiVariable,? super PsiVariable> variablesMapping)