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 Object
implements AnnotationVisitor
AnnotationVisitor that records details of @Component annotations.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidEnters the annotation declaration.org.codehaus.plexus.component.annotations.ComponentgetComponent(ClassSpace space) voidLeaves the annotation declaration.voidreset()voidvisitElement(String name, Object value) Visits an element of the declared annotation.
-
Field Details
-
role
-
hint
-
strategy
-
description
-
-
Constructor Details
-
ComponentAnnotationVisitor
ComponentAnnotationVisitor()
-
-
Method Details
-
reset
public void reset() -
enterAnnotation
public void enterAnnotation()Description copied from interface:AnnotationVisitorEnters the annotation declaration.- Specified by:
enterAnnotationin interfaceAnnotationVisitor
-
visitElement
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
-