public interface OnlyBeAccessedSpecification<CONJUNCTION>
-
Method Summary
-
Method Details
-
byAnyPackage
Matches classes residing in a package matching any of the supplied package identifiers.
- Parameters:
packageIdentifiers
- Strings identifying packages, for details see PackageMatcher
- Returns:
- A syntax conjunction element, which can be completed to form a full rule
-
byClassesThat
- Returns:
- A syntax element that allows restricting which classes the access should be from
-
byClassesThat
- Parameters:
predicate
- Restricts which classes the access should be from
- Returns:
- A syntax conjunction element, which can be completed to form a full rule