@OpenApiAll
public class AnnotationSubset
extends java.lang.Object
AnnotationManager
AnnotationSubset.ALL
means any registered annotation.Modifier and Type | Field and Description |
---|---|
static AnnotationSubset |
ALL |
Constructor and Description |
---|
AnnotationSubset(java.util.Collection<AnnotationCategory> included,
java.util.Collection<AnnotationCategory> excluded,
java.util.Comparator<Annotation> comparator) |
Modifier and Type | Method and Description |
---|---|
static AnnotationSubset |
allExcluding(java.util.Collection<AnnotationCategory> excludedCategories,
java.util.Comparator<Annotation> comparator) |
boolean |
containsCategory(AnnotationCategory category) |
boolean |
equals(java.lang.Object o) |
java.util.Comparator<Annotation> |
getComparator() |
java.util.Collection<AnnotationCategory> |
getExcludedCategories()
Excluded categories, that are strictly not contained by this subset
If category is both included and excluded, it is still not contained by this subset
|
java.util.Collection<AnnotationCategory> |
getIncludedCategories()
If included categories are empty, then every possible category is contained by this subset, except the excluded ones.
|
int |
hashCode() |
static AnnotationSubset |
includingOnly(java.util.Collection<AnnotationCategory> includedCategories,
java.util.Comparator<Annotation> comparator) |
public static final AnnotationSubset ALL
public AnnotationSubset(java.util.Collection<AnnotationCategory> included, java.util.Collection<AnnotationCategory> excluded, @CheckForNull java.util.Comparator<Annotation> comparator)
public static AnnotationSubset allExcluding(java.util.Collection<AnnotationCategory> excludedCategories, @CheckForNull java.util.Comparator<Annotation> comparator)
public static AnnotationSubset includingOnly(java.util.Collection<AnnotationCategory> includedCategories, @CheckForNull java.util.Comparator<Annotation> comparator)
public boolean containsCategory(AnnotationCategory category)
public java.util.Collection<AnnotationCategory> getIncludedCategories()
public java.util.Collection<AnnotationCategory> getExcludedCategories()
@CheckForNull public java.util.Comparator<Annotation> getComparator()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object