ExtractedParameter (@NotNull PsiExpression candidateUsage) { ExtractedParameter result = new ExtractedParameter(myPattern, ExtractableExpressionPart.fromUsage(candidateUsage, myType), myType); result.myPatternUsages.addAll(myPatternUsages); return result; }