com.fasterxml.classmate
Class AnnotationOverrides
java.lang.Object
com.fasterxml.classmate.AnnotationOverrides
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- AnnotationOverrides.StdImpl
public abstract class AnnotationOverrides
- extends Object
- implements Serializable
Interface for object that can provide mix-ins to override annotations.
- See Also:
- Serialized Form
|
Nested Class Summary |
static class |
AnnotationOverrides.StdBuilder
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 |
AnnotationOverrides.StdImpl
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). |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnnotationOverrides
public AnnotationOverrides()
mixInsFor
public List<Class<?>> mixInsFor(Class<?> beanClass)
- 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
public abstract List<Class<?>> mixInsFor(ClassKey beanClass)
builder
public static AnnotationOverrides.StdBuilder builder()
- Method for constructing builder for creating simple overrides provider
that just uses direct assignments (target-to-override classes)
Copyright © 2012 fasterxml.com. All Rights Reserved.