mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Java: Handle wildcard types when extracting duplicate code (EA-115239)
This commit is contained in:
+1
@@ -83,6 +83,7 @@ public class ExtractedParameter {
|
||||
if (myType instanceof PsiEllipsisType) {
|
||||
type = ((PsiEllipsisType)myType).toArrayType();
|
||||
}
|
||||
type = GenericsUtil.getVariableTypeByExpressionType(type);
|
||||
return type.getCanonicalText();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user