public static @Nullable PsiFile getPackageInfoFile(@NotNull PsiPackage aPackage) {
    final PsiDirectory[] directories = aPackage.getDirectories();
    for (PsiDirectory directory : directories) {
      final PsiFile packageInfoJava = directory.findFile(PsiPackage.PACKAGE_INFO_FILE);
      if (packageInfoJava != null) return packageInfoJava;
      final PsiFile packageHtml = directory.findFile("package.html");
      if (packageHtml != null) {
        return packageHtml;
      }
    }
    return null;
  }
public static @Nullable PsiFile getPackageInfoFile(@NotNull PsiPackage aPackage)