public abstract class AnnotationConfiguration
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Class and Description |
|---|---|
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.
|
| Constructor and Description |
|---|
AnnotationConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
abstract 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.
|
abstract 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.
|
abstract 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.
|
abstract 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.
|
abstract 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.
|
public abstract AnnotationInclusion getInclusionForClass(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
public abstract AnnotationInclusion getInclusionForConstructor(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Note that constructor annotations can never be inherited so this just determines between inclusion or non-inclusion.
public abstract AnnotationInclusion getInclusionForField(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Note that field annotations can never be inherited so this just determines between inclusion or non-inclusion.
public abstract AnnotationInclusion getInclusionForMethod(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
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.
public abstract AnnotationInclusion getInclusionForParameter(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
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.