@Documented @Target(value=ANNOTATION_TYPE) @Retention(value=RUNTIME) public @interface TypeMapping
Whenever an annotation meta-annotated with TypeMapping
is found on a type in the domain model,
the corresponding annotation processor will be retrieved and applied to that type.
The processor will be passed the annotation instance through its
TypeMappingAnnotationProcessor.process(TypeMappingStep, Annotation, TypeMappingAnnotationProcessorContext) method.
| Modifier and Type | Required Element and Description |
|---|---|
TypeMappingAnnotationProcessorRef |
processor |
public abstract TypeMappingAnnotationProcessorRef processor
TypeMappingAnnotationProcessorRefCopyright © 2006-2020 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.