mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
NPE
This commit is contained in:
@@ -96,7 +96,10 @@ public class PsiImmediateClassType extends PsiClassType {
|
||||
List<PsiType> lst = new ArrayList<PsiType>();
|
||||
final PsiTypeParameter[] parameters = myClass.getTypeParameters();
|
||||
for (PsiTypeParameter parameter : parameters) {
|
||||
lst.add(mySubstitutor.substitute(parameter));
|
||||
PsiType substituted = mySubstitutor.substitute(parameter);
|
||||
if (substituted != null) {
|
||||
lst.add(substituted);
|
||||
}
|
||||
}
|
||||
return lst.toArray(new PsiType[lst.size()]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user