@Documented @Target(value={}) @Retention(value=RUNTIME) public @interface MarkerRef
MarkerMapping.
Reference can be obtained using either a name or a type.
Each time the mapped annotation is encountered, an instance of the marker mapping builder will be created.
The builder will be passed the annotation through its AnnotationMarkerBuilder.initialize(Annotation) method,
and then the marker will be retrieved by calling MarkerBuilder.build(MarkerBuildContext).
Markers mapped this way can be parameterized:
the marker mapping will be able to take any attribute of the mapped annotation into account
in its AnnotationMarkerBuilder.initialize(Annotation) method.
| Modifier and Type | Optional Element and Description |
|---|---|
String |
builderName
Reference a marker by the the bean name of its builder.
|
Class<? extends AnnotationMarkerBuilder<?>> |
builderType
Reference a marker by the type of its builder.
|
public abstract String builderName
public abstract Class<? extends AnnotationMarkerBuilder<?>> builderType
Copyright © 2006-2019 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.