Package com.fasterxml.classmate
Class AnnotationConfiguration
- java.lang.Object
-
- com.fasterxml.classmate.AnnotationConfiguration
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
AnnotationConfiguration.StdConfiguration
public abstract class AnnotationConfiguration extends java.lang.Object implements java.io.SerializableInterface for object that determines handling of annotations in regards to inheritance, overrides.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAnnotationConfiguration.StdConfigurationSimple implementation that can be configured with default behavior for unknown annotations, as well as explicit behaviors for enumerated annotation types.
-
Constructor Summary
Constructors Constructor Description AnnotationConfiguration()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract AnnotationInclusiongetInclusionForClass(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 AnnotationInclusiongetInclusionForConstructor(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 AnnotationInclusiongetInclusionForField(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 AnnotationInclusiongetInclusionForMethod(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 AnnotationInclusiongetInclusionForParameter(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.
-
-
-
Method Detail
-
getInclusionForClass
public 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.
-
getInclusionForConstructor
public 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.Note that constructor annotations can never be inherited so this just determines between inclusion or non-inclusion.
-
getInclusionForField
public 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.Note that field annotations can never be inherited so this just determines between inclusion or non-inclusion.
-
getInclusionForMethod
public 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.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
public 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.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.
-
-