diff --git a/docs/userguide/007_The_Lang_API.adoc b/docs/userguide/007_The_Lang_API.adoc index 18bf1210a..e472d3c80 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 eb148fe57..0fb590b4e 100644 --- a/docs/userguide/html/000_Index.html +++ b/docs/userguide/html/000_Index.html @@ -1606,7 +1606,7 @@