public class ExtractedParameter
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
ExtractableExpressionPart |
myCandidate |
ExtractableExpressionPart |
myPattern |
java.util.Set<PsiExpression> |
myPatternUsages |
PsiType |
myType |
Constructor and Description |
---|
ExtractedParameter(ExtractableExpressionPart patternPart,
ExtractableExpressionPart candidatePart,
PsiType type) |
Modifier and Type | Method and Description |
---|---|
void |
addUsages(ExtractableExpressionPart patternPart) |
ExtractedParameter |
copyWithCandidateUsage(PsiExpression candidateUsage) |
static java.util.List<Match> |
getCompatibleMatches(java.util.List<Match> matches,
PsiElement [] pattern,
java.util.List<PsiElement[]> candidates) |
java.lang.String |
getLocalVariableTypeText() |
static boolean |
match(ExtractableExpressionPart patternPart,
ExtractableExpressionPart candidatePart,
java.util.List<? super ExtractedParameter> parameters) |
java.lang.String |
toString() |
public final PsiType myType
public final ExtractableExpressionPart myPattern
public final ExtractableExpressionPart myCandidate
public final java.util.Set<PsiExpression> myPatternUsages
public ExtractedParameter(ExtractableExpressionPart patternPart, ExtractableExpressionPart candidatePart, PsiType type)
public static boolean match(ExtractableExpressionPart patternPart, ExtractableExpressionPart candidatePart, java.util.List<? super ExtractedParameter> parameters)
public ExtractedParameter copyWithCandidateUsage(PsiExpression candidateUsage)
public java.lang.String getLocalVariableTypeText()
public void addUsages(ExtractableExpressionPart patternPart)
public static java.util.List<Match> getCompatibleMatches(java.util.List<Match> matches, PsiElement [] pattern, java.util.List<PsiElement[]> candidates)
public java.lang.String toString()
toString
in class java.lang.Object