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()
AnnotationVisitor
enterAnnotation
in interface AnnotationVisitor
public void visitElement(java.lang.String name, java.lang.Object value)
AnnotationVisitor
visitElement
in interface AnnotationVisitor
name
- The element namevalue
- The element valuepublic void leaveAnnotation()
AnnotationVisitor
leaveAnnotation
in interface AnnotationVisitor
public org.codehaus.plexus.component.annotations.Component getComponent(ClassSpace space)