boolean (@Nullable PsiExpression maybeArray) { final PsiType type = maybeArray != null ? maybeArray.getType() : null; return type instanceof PsiArrayType && type.getArrayDimensions() == 1 && type.getDeepComponentType() instanceof PsiClassType; }