PackageNameFilter that matches fully qualified package names that
are prefixed by one of the package names provided to the filter.
If the fully qualified name of a package starts with at least one of the packages names of the filter, the package will be included.
| Modifier and Type | Field and Description |
|---|---|
| private final List | |
| private final String |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public FilterResult | apply(String packageName)
Implements org. Apply this filter to the supplied object. |
| private Optional | |
| private String | |
| private String | |
| public Predicate | toPredicate()
Overrides default org. Return a |
| public String |
| packageNames | back to summary |
|---|---|
| private final List<String> packageNames | |
| patternDescription | back to summary |
|---|---|
| private final String patternDescription | |
| IncludePackageNameFilter | back to summary |
|---|---|
| pack-priv IncludePackageNameFilter(String... packageNames) | |
| apply | back to summary |
|---|---|
| public FilterResult apply(String packageName) Implements org. Doc from org. Apply this filter to the supplied object.
| |
| findMatchingName | back to summary |
|---|---|
| private Optional | |
| formatExclusionReason | back to summary |
|---|---|
| private String formatExclusionReason(String packageName) | |
| formatInclusionReason | back to summary |
|---|---|
| private String formatInclusionReason(String packageName, String matchedName) | |
| toPredicate | back to summary |
|---|---|
| public Predicate Overrides default org. Doc from org. Return a
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |