| Modifier and Type | Class and Description |
|---|---|
| public static class | AnnotationConfiguration.StdConfiguration
Simple implementation that can be configured with default behavior for unknown annotations, as well as explicit behaviors for enumerated annotation types. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public abstract AnnotationInclusion | getInclusionForClass(Class<? extends Annotation> annotationType)
Method called to figure out how to handle instances of specified annotation type when used as class annotation. |
| public abstract AnnotationInclusion | getInclusionForConstructor(Class<? extends Annotation> annotationType)
Method called to figure out how to handle instances of specified annotation type when used as constructor annotation. |
| public abstract AnnotationInclusion | getInclusionForField(Class<? extends Annotation> annotationType)
Method called to figure out how to handle instances of specified annotation type when used as field annotation. |
| public abstract AnnotationInclusion | getInclusionForMethod(Class<? extends Annotation> annotationType)
Method called to figure out how to handle instances of specified annotation type when used as method annotation. |
| public abstract AnnotationInclusion | getInclusionForParameter(Class<? extends Annotation> annotationType)
Method called to figure out how to handle instances of specified annotation type when used as parameter annotation. |
| AnnotationConfiguration | back to summary |
|---|---|
| public AnnotationConfiguration() | |
| getInclusionForClass | back to summary |
|---|---|
| public abstract AnnotationInclusion getInclusionForClass(Class<? extends Annotation> annotationType) Method called to figure out how to handle instances of specified annotation type when used as class annotation. | |
| getInclusionForConstructor | back to summary |
|---|---|
| public abstract AnnotationInclusion getInclusionForConstructor(Class<? extends Annotation> annotationType) Method called to figure out how to handle instances of specified annotation type when used as constructor annotation. Note that constructor annotations can never be inherited so this just determines between inclusion or non-inclusion. | |
| getInclusionForField | back to summary |
|---|---|
| public abstract AnnotationInclusion getInclusionForField(Class<? extends Annotation> annotationType) Method called to figure out how to handle instances of specified annotation type when used as field annotation. Note that field annotations can never be inherited so this just determines between inclusion or non-inclusion. | |
| getInclusionForMethod | back to summary |
|---|---|
| public abstract AnnotationInclusion getInclusionForMethod(Class<? extends Annotation> annotationType) Method called to figure out how to handle instances of specified annotation type when used as method annotation. Note 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. | |
| getInclusionForParameter | back to summary |
|---|---|
| public abstract AnnotationInclusion getInclusionForParameter(Class<? extends Annotation> annotationType) Method called to figure out how to handle instances of specified annotation type when used as parameter annotation. Note 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. | |
| Modifier and Type | Field and Description |
|---|---|
| protected final AnnotationInclusion | |
| protected final HashMap |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected AnnotationInclusion | |
| public AnnotationInclusion | getInclusionForClass(Class<? extends Annotation> annotationType)
Implements abstract com. |
| public AnnotationInclusion | getInclusionForConstructor(Class<? extends Annotation> annotationType)
Implements abstract com. |
| public AnnotationInclusion | getInclusionForField(Class<? extends Annotation> annotationType)
Implements abstract com. |
| public AnnotationInclusion | getInclusionForMethod(Class<? extends Annotation> annotationType)
Implements abstract com. |
| public AnnotationInclusion | getInclusionForParameter(Class<? extends Annotation> annotationType)
Implements abstract com. |
| public void |
| _defaultInclusion | back to summary |
|---|---|
| protected final AnnotationInclusion _defaultInclusion | |
| _inclusions | back to summary |
|---|---|
| protected final HashMap<ClassKey, AnnotationInclusion> _inclusions | |
| StdConfiguration | back to summary |
|---|---|
| public StdConfiguration(AnnotationInclusion defaultBehavior) | |
| _inclusionFor | back to summary |
|---|---|
| protected AnnotationInclusion _inclusionFor(Class<? extends Annotation> annotationType) | |
| getInclusionForClass | back to summary |
|---|---|
| public AnnotationInclusion getInclusionForClass(Class<? extends Annotation> annotationType) Implements abstract com. Doc from com. Method called to figure out how to handle instances of specified annotation type when used as class annotation.
| |
| getInclusionForConstructor | back to summary |
|---|---|
| public AnnotationInclusion getInclusionForConstructor(Class<? extends Annotation> annotationType) Implements abstract com. Doc from com. Method called to figure out how to handle instances of specified annotation type when used as constructor annotation. Note that constructor annotations can never be inherited so this just determines between inclusion or non-inclusion.
| |
| getInclusionForField | back to summary |
|---|---|
| public AnnotationInclusion getInclusionForField(Class<? extends Annotation> annotationType) Implements abstract com. Doc from com. Method called to figure out how to handle instances of specified annotation type when used as field annotation. Note that field annotations can never be inherited so this just determines between inclusion or non-inclusion.
| |
| getInclusionForMethod | back to summary |
|---|---|
| public AnnotationInclusion getInclusionForMethod(Class<? extends Annotation> annotationType) Implements abstract com. Doc from com. Method called to figure out how to handle instances of specified annotation type when used as method annotation. Note 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.
| |
| getInclusionForParameter | back to summary |
|---|---|
| public AnnotationInclusion getInclusionForParameter(Class<? extends Annotation> annotationType) Implements abstract com. Doc from com. Method called to figure out how to handle instances of specified annotation type when used as parameter annotation. Note 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.
| |
| setInclusion | back to summary |
|---|---|
| public void setInclusion(Class<? extends Annotation> annotationType, AnnotationInclusion incl) | |