boolean (@NotNull PsiType type, @NotNull PsiAnnotation annotation) { if (!(type instanceof PsiArrayType)) { Module module = ModuleUtilCore.findModuleForPsiElement(annotation); if (module == null) return false; return supportOneDimensional(module); } final PsiType componentType = type.getDeepComponentType(); if (!(componentType instanceof PsiClassType)) return false; final PsiClass resolvedClass = ((PsiClassType)componentType).resolve(); if (resolvedClass == null) return false; return true; }