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 TypeMethodDescriptionvoid
Enters the annotation declaration.org.codehaus.plexus.component.annotations.Component
getComponent
(ClassSpace space) void
Leaves the annotation declaration.void
reset()
void
visitElement
(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:AnnotationVisitor
Enters the annotation declaration.- Specified by:
enterAnnotation
in interfaceAnnotationVisitor
-
visitElement
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
-