diff --git a/docs/userguide/007_The_Lang_API.adoc b/docs/userguide/007_The_Lang_API.adoc index 18bf1210a0..e472d3c800 100644 --- a/docs/userguide/007_The_Lang_API.adoc +++ b/docs/userguide/007_The_Lang_API.adoc @@ -278,7 +278,7 @@ ClassesTransformer packages = new AbstractClassesTransformer doTransform(JavaClasses classes) { Set result = new HashSet<>(); - classes.getDefaultPackage().accept(alwaysTrue(), new PackageVisitor() { + classes.getDefaultPackage().traversePackageTree(alwaysTrue(), new PackageVisitor() { @Override public void visit(JavaPackage javaPackage) { result.add(javaPackage); diff --git a/docs/userguide/html/000_Index.html b/docs/userguide/html/000_Index.html index 4137be7316..35b88b1490 100644 --- a/docs/userguide/html/000_Index.html +++ b/docs/userguide/html/000_Index.html @@ -1606,7 +1606,7 @@