void (int version, int access, String name, String signature, String superName, String[] interfaces) { super.visit(version, access, name, signature, superName, interfaces); String packageName = myPackageNamesCache.getPackageName(getCurrentClassName()); if (packageName != null) { myDeclaredPackages.add(packageName); } }