@Override
  public void visit(int version,
                    int access,
                    @NotNull String name,
                    @Nullable String signature,
                    @Nullable String superName,
                    String @NotNull [] interfaces) {
    super.visit(version, access, name, signature, superName, interfaces);

    String packageName = myCheckPackage.apply(getCurrentClassName());
    if (packageName != null) {
      myDeclaredPackages.add(packageName);
    }
  }
@Override
  public void visit(int version,
                    int access,
                    @NotNull String name,
                    @Nullable String signature,
                    @Nullable String superName,
                    String @NotNull [] interfaces)