static final class PlexusTypeVisitor.ComponentAnnotationVisitor extends java.lang.Object implements AnnotationVisitor
AnnotationVisitor that records details of @Component annotations.| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
description |
private java.lang.String |
hint |
private java.lang.String |
role |
private java.lang.String |
strategy |
| Constructor and Description |
|---|
ComponentAnnotationVisitor() |
| Modifier and Type | Method and Description |
|---|---|
void |
enterAnnotation()
Enters the annotation declaration.
|
org.codehaus.plexus.component.annotations.Component |
getComponent(ClassSpace space) |
void |
leaveAnnotation()
Leaves the annotation declaration.
|
void |
reset() |
void |
visitElement(java.lang.String name,
java.lang.Object value)
Visits an element of the declared annotation.
|
private java.lang.String role
private java.lang.String hint
private java.lang.String strategy
private java.lang.String description
public void reset()
public void enterAnnotation()
AnnotationVisitorenterAnnotation in interface AnnotationVisitorpublic void visitElement(java.lang.String name,
java.lang.Object value)
AnnotationVisitorvisitElement in interface AnnotationVisitorname - The element namevalue - The element valuepublic void leaveAnnotation()
AnnotationVisitorleaveAnnotation in interface AnnotationVisitorpublic org.codehaus.plexus.component.annotations.Component getComponent(ClassSpace space)