PsiType (@Nullable PsiType containerType) { if (containerType == null) return null; if (containerType instanceof PsiArrayType) return ((PsiArrayType)containerType).getComponentType(); return PsiUtil.extractIterableTypeParameter(containerType, false); }