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
AnnotationVisitorthat records details of @Componentannotations.
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Stringdescriptionprivate java.lang.Stringhintprivate java.lang.Stringroleprivate java.lang.Stringstrategy
-
Constructor Summary
Constructors Constructor Description ComponentAnnotationVisitor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidenterAnnotation()Enters the annotation declaration.org.codehaus.plexus.component.annotations.ComponentgetComponent(ClassSpace space)voidleaveAnnotation()Leaves the annotation declaration.voidreset()voidvisitElement(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:AnnotationVisitorEnters the annotation declaration.- Specified by:
enterAnnotationin interfaceAnnotationVisitor
-
visitElement
public void visitElement(java.lang.String name, java.lang.Object value)Description copied from interface:AnnotationVisitorVisits an element of the declared annotation.- Specified by:
visitElementin interfaceAnnotationVisitor- Parameters:
name- The element namevalue- The element value
-
leaveAnnotation
public void leaveAnnotation()
Description copied from interface:AnnotationVisitorLeaves the annotation declaration.- Specified by:
leaveAnnotationin interfaceAnnotationVisitor
-
getComponent
public org.codehaus.plexus.component.annotations.Component getComponent(ClassSpace space)
-
-