@ PublicAPI ( usage = ACCESS ) public void accept ( Predicate < ? super JavaClass > predicate , ClassVisitor visitor ) { for ( JavaClass javaClass : getClassesWith ( predicate ) ) { visitor . visit ( javaClass ) ; } for ( JavaPackage subPackage : getSubPackages ( ) ) { subPackage . accept ( predicate , visitor ) ; } }
Traverses the package tree visiting each matching class .