public static class AnnotationConfiguration.StdConfiguration extends AnnotationConfiguration implements java.io.Serializable
AnnotationConfiguration.StdConfiguration| Modifier and Type | Field and Description |
|---|---|
protected AnnotationInclusion |
_defaultInclusion |
protected java.util.HashMap<ClassKey,AnnotationInclusion> |
_inclusions |
| Constructor and Description |
|---|
StdConfiguration(AnnotationInclusion defaultBehavior) |
| Modifier and Type | Method and Description |
|---|---|
protected AnnotationInclusion |
_inclusionFor(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType) |
AnnotationInclusion |
getInclusionForClass(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Method called to figure out how to handle instances of specified annotation
type when used as class annotation.
|
AnnotationInclusion |
getInclusionForConstructor(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Method called to figure out how to handle instances of specified annotation
type when used as constructor annotation.
|
AnnotationInclusion |
getInclusionForField(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Method called to figure out how to handle instances of specified annotation
type when used as field annotation.
|
AnnotationInclusion |
getInclusionForMethod(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Method called to figure out how to handle instances of specified annotation
type when used as method annotation.
|
AnnotationInclusion |
getInclusionForParameter(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Method called to figure out how to handle instances of specified annotation
type when used as parameter annotation.
|
void |
setInclusion(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType,
AnnotationInclusion incl) |
protected final AnnotationInclusion _defaultInclusion
protected final java.util.HashMap<ClassKey,AnnotationInclusion> _inclusions
public StdConfiguration(AnnotationInclusion defaultBehavior)
public AnnotationInclusion getInclusionForClass(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
AnnotationConfigurationgetInclusionForClass in class AnnotationConfigurationpublic AnnotationInclusion getInclusionForConstructor(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
AnnotationConfigurationNote that constructor annotations can never be inherited so this just determines between inclusion or non-inclusion.
getInclusionForConstructor in class AnnotationConfigurationpublic AnnotationInclusion getInclusionForField(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
AnnotationConfigurationNote that field annotations can never be inherited so this just determines between inclusion or non-inclusion.
getInclusionForField in class AnnotationConfigurationpublic AnnotationInclusion getInclusionForMethod(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
AnnotationConfigurationNote that method annotations can be inherited for member methods, but not for static methods; for static methods thereby this just determines between inclusion and non-inclusion.
getInclusionForMethod in class AnnotationConfigurationpublic AnnotationInclusion getInclusionForParameter(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
AnnotationConfigurationNote that parameter annotations can be inherited for member methods, but not for static methods; for static methods thereby this just determines between inclusion and non-inclusion.
getInclusionForParameter in class AnnotationConfigurationpublic void setInclusion(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType,
AnnotationInclusion incl)
protected AnnotationInclusion _inclusionFor(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)