private static boolean canBeVariableType(@NotNull PsiType type) {
    return !type.getDeepComponentType().equals(PsiTypes.voidType());
  }
private static boolean canBeVariableType(@NotNull PsiType type)