under
Converts a base package name into a recursive package pattern matching the package and all its subpackages.
Example:
packages.under("com.acme.domain") // produces "com.acme.domain.." which matches "com.acme.domain.model", etc.Content copied to clipboard
Return
The normalized package pattern.
Parameters
packageName
The base package name (e.g., "com.acme.domain").
Converts multiple base package names into recursive package patterns matching the packages and all their subpackages.
Converts a list of base package names into recursive package patterns matching the packages and all their subpackages.