Package org.eclipse.sisu.plexus
Class PlexusTypeVisitor.ComponentAnnotationVisitor
- java.lang.Object
-
- org.eclipse.sisu.plexus.PlexusTypeVisitor.ComponentAnnotationVisitor
-
- All Implemented Interfaces:
AnnotationVisitor
- Enclosing class:
- PlexusTypeVisitor
static final class PlexusTypeVisitor.ComponentAnnotationVisitor extends java.lang.Object implements AnnotationVisitor
AnnotationVisitor
that records details of @Component
annotations.
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
description
private java.lang.String
hint
private java.lang.String
role
private java.lang.String
strategy
-
Constructor Summary
Constructors Constructor Description ComponentAnnotationVisitor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
reset
public void reset()
-
enterAnnotation
public void enterAnnotation()
Description copied from interface:AnnotationVisitor
Enters the annotation declaration.- Specified by:
enterAnnotation
in interfaceAnnotationVisitor
-
visitElement
public void visitElement(java.lang.String name, java.lang.Object value)
Description copied from interface:AnnotationVisitor
Visits an element of the declared annotation.- Specified by:
visitElement
in interfaceAnnotationVisitor
- Parameters:
name
- The element namevalue
- The element value
-
leaveAnnotation
public void leaveAnnotation()
Description copied from interface:AnnotationVisitor
Leaves the annotation declaration.- Specified by:
leaveAnnotation
in interfaceAnnotationVisitor
-
getComponent
public org.codehaus.plexus.component.annotations.Component getComponent(ClassSpace space)
-
-