Interface Applicable
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
ApplicabilityDependency
- All Known Implementing Classes:
Applicability
,ApplicabilityDependencyCommentLeaf
,ApplicabilityDependencyGroup
,ApplicabilityDependencyIntersection
,ApplicabilityDependencySimpleLeaf
,ApplicabilityDependencyUnion
An applicable object is an artifact that can be filtered by applicability.
The resulting applicability after filtering can be union or intersection of
several applicabilities.
-
Method Summary
Modifier and TypeMethodDescriptioncalcApplicability
(ApplicabilityFilter filter) Calculate the applicability of a comment or for referenced comments (so called dependencies).
-
Method Details
-
calcApplicability
Calculate the applicability of a comment or for referenced comments (so called dependencies). The calculated applicability might result from a union or intersection of grouped dependencies. The calculation leaves out artifacts that do not pass the givenfilter
. If no applicability can be calculated, because all relevant artifacts are filtered out,Applicability.MINIMUM_APPLICABILITY
is returned.- Parameters:
filter
- filter- Returns:
- the calculated applicability
-