fix EA-28750 - chained call completion aware of captured types

This commit is contained in:
peter
2011-07-11 19:35:07 +02:00
parent 674effa5e2
commit f07f550f0f
@@ -388,7 +388,7 @@ public class ReferenceExpressionCompletionContributor {
if (varType instanceof PsiEllipsisType) {
varType = ((PsiEllipsisType)varType).getComponentType();
}
if (varType instanceof PsiWildcardType) {
if (varType instanceof PsiWildcardType || varType instanceof PsiCapturedWildcardType) {
varType = TypeConversionUtil.erasure(expectedType);
}