Java: Handle wildcard types when extracting duplicate code (EA-115239)

This commit is contained in:
Pavel Dolgov
2018-03-14 15:42:03 +03:00
parent 734743a470
commit 402bb5ec56
@@ -83,6 +83,7 @@ public class ExtractedParameter {
if (myType instanceof PsiEllipsisType) {
type = ((PsiEllipsisType)myType).toArrayType();
}
type = GenericsUtil.getVariableTypeByExpressionType(type);
return type.getCanonicalText();
}