PsiType (PsiType type, @NotNull PsiElement context) { if (type instanceof PsiArrayType) { type = JavaPsiFacade.getElementFactory(context.getProject()) .getArrayClassType(((PsiArrayType)type).getComponentType(), PsiUtil.getLanguageLevel(context)); } return type; }