Package com.fasterxml.classmate
Class AnnotationOverrides
java.lang.Object
com.fasterxml.classmate.AnnotationOverrides
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AnnotationOverrides.StdImpl
Interface for object that can provide mix-ins to override annotations.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
To make it easy to use simple override implementation (where overrides are direct and explicit), here is a build that allow constructing such override instance.static class
Simple implementation configured with explicit associations with target class as key, and overrides as ordered list of classes (with first entry having precedence over later ones). -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Method for constructing builder for creating simple overrides provider that just uses direct assignments (target-to-override classes)Method called to find out which class(es) are to be used as source for annotations to mix in for given type.
-
Constructor Details
-
AnnotationOverrides
public AnnotationOverrides()
-
-
Method Details
-
mixInsFor
Method called to find out which class(es) are to be used as source for annotations to mix in for given type.- Returns:
- List of mix-in sources (starting with highest priority); can be null or empty list if no mix-ins are to be used.
-
mixInsFor
-
builder
Method for constructing builder for creating simple overrides provider that just uses direct assignments (target-to-override classes)
-