mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
guava type migration: process wildcards for transformAndConcat() IDEA-148094
This commit is contained in:
+4
-1
@@ -188,10 +188,13 @@ public class FluentIterableConversionUtil {
|
||||
PsiClass iterable,
|
||||
PsiClass collection) {
|
||||
if (retValue == null) return false;
|
||||
final PsiType type = retValue.getType();
|
||||
PsiType type = retValue.getType();
|
||||
if (PsiType.NULL.equals(type)) {
|
||||
return true;
|
||||
}
|
||||
if (type instanceof PsiCapturedWildcardType) {
|
||||
type = ((PsiCapturedWildcardType)type).getUpperBound();
|
||||
}
|
||||
if (type instanceof PsiClassType) {
|
||||
final PsiClass resolvedClass = ((PsiClassType)type).resolve();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user