public static class AnnotationRestriction.Options extends Object
Modifier and Type | Field and Description |
---|---|
private boolean |
excludeDefaultValues |
private boolean |
includeInherited |
private boolean |
includePrimary |
Constructor and Description |
---|
Options()
Creates the default options.
|
Modifier and Type | Method and Description |
---|---|
boolean |
excludeDefaultValues()
Should default values (for project-specific annotation types)
be excluded from the query or not.
|
boolean |
includeInherited()
Should inherited annotations be included in the search or not.
|
boolean |
includePrimary()
Should primary annotations be included in the search or not.
|
AnnotationRestriction.Options |
setExcludeDefaultValues(boolean excludeDefaultValues) |
AnnotationRestriction.Options |
setIncludeInherited(boolean includeInherited) |
AnnotationRestriction.Options |
setIncludePrimary(boolean includePrimary) |
private boolean includePrimary
private boolean includeInherited
private boolean excludeDefaultValues
public boolean includePrimary()
public AnnotationRestriction.Options setIncludePrimary(boolean includePrimary)
public boolean includeInherited()
public AnnotationRestriction.Options setIncludeInherited(boolean includeInherited)
public boolean excludeDefaultValues()
public AnnotationRestriction.Options setExcludeDefaultValues(boolean excludeDefaultValues)