public final class PluginVisitors
extends java.lang.Object
PluginVisitor
implementation for an annotation.Modifier | Constructor and Description |
---|---|
private |
PluginVisitors() |
Modifier and Type | Method and Description |
---|---|
static PluginVisitor<? extends java.lang.annotation.Annotation> |
findVisitor(java.lang.Class<? extends java.lang.annotation.Annotation> annotation)
Creates a PluginVisitor instance for the given annotation class using metadata provided by the annotation's
PluginVisitorStrategy annotation. |
private static final Logger LOGGER
public static PluginVisitor<? extends java.lang.annotation.Annotation> findVisitor(java.lang.Class<? extends java.lang.annotation.Annotation> annotation)
PluginVisitorStrategy
annotation. This instance must be further populated with
data to be useful. Such data is passed through both the setters and the visit method.annotation
- the Plugin annotation class to find a PluginVisitor for.null
otherwise.