private static boolean isObsoleteCollectionType(@Nullable PsiType type) {
      if (type == null) {
        return false;
      }
      final PsiType deepComponentType = type.getDeepComponentType();
      final String className = TypeUtils.resolvedClassName(deepComponentType);
      return "java.util.Vector".equals(className) ||
             "java.util.Hashtable".equals(className) ||
             "java.util.Stack".equals(className);
    }
private static boolean isObsoleteCollectionType(@Nullable PsiType type)