private static boolean isSubPackageOf(String packageFQName, String[] packages) {
    for (String packName : packages) {
      if (packName.isEmpty() || PsiNameHelper.isSubpackageOf(packageFQName, packName)) {
        return true;
      }
    }
    return false;
  }
private static boolean isSubPackageOf(String packageFQName, String[] packages)