|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.fasterxml.classmate.AnnotationConfiguration
public abstract class AnnotationConfiguration
Interface for object that determines handling of annotations in regards to inheritance, overrides.
Nested Class Summary | |
---|---|
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 Summary | |
---|---|
AnnotationConfiguration()
|
Method Summary | |
---|---|
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. |
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. |
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. |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AnnotationConfiguration()
Method Detail |
---|
public abstract AnnotationInclusion getInclusionForClass(Class<? extends Annotation> annotationType)
public abstract AnnotationInclusion getInclusionForConstructor(Class<? extends Annotation> annotationType)
Note that constructor annotations can never be inherited so this just determines between inclusion or non-inclusion.
public abstract AnnotationInclusion getInclusionForField(Class<? extends Annotation> annotationType)
Note that field annotations can never be inherited so this just determines between inclusion or non-inclusion.
public abstract AnnotationInclusion getInclusionForMethod(Class<? extends 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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |