mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
eliminateWildcards: process captured same as normal wildcard
This commit is contained in:
@@ -509,7 +509,7 @@ public class GenericsUtil {
|
||||
final PsiType bound = ((PsiWildcardType)type).getBound();
|
||||
return eliminateWildcards(bound != null ? bound : ((PsiWildcardType)type).getExtendsBound(), false);//object
|
||||
} else if (type instanceof PsiCapturedWildcardType && !eliminateInTypeArguments) {
|
||||
return ((PsiCapturedWildcardType)type).getUpperBound();
|
||||
return eliminateWildcards(((PsiCapturedWildcardType)type).getUpperBound(), false);
|
||||
}
|
||||
return type;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user