|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sonatype.guice.bean.scanners.EmptyClassVisitor
org.sonatype.guice.bean.scanners.QualifiedTypeVisitor
public final class QualifiedTypeVisitor
ClassSpaceVisitor that reports types annotated with Qualifier annotations.
| Constructor Summary | |
|---|---|
QualifiedTypeVisitor(QualifiedTypeListener listener)
|
|
| Method Summary | |
|---|---|
void |
visit(ClassSpace _space)
Visits the start of the class space. |
void |
visit(int version,
int access,
String name,
String signature,
String superName,
String[] interfaces)
Visits the header of the class. |
AnnotationVisitor |
visitAnnotation(String desc,
boolean visible)
Visits an annotation of the class. |
ClassVisitor |
visitClass(URL url)
Visits a class resource in the class space. |
void |
visitEnd()
Visits the end of the class. |
| Methods inherited from class org.sonatype.guice.bean.scanners.EmptyClassVisitor |
|---|
visitAttribute, visitField, visitInnerClass, visitMethod, visitOuterClass, visitSource |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public QualifiedTypeVisitor(QualifiedTypeListener listener)
| Method Detail |
|---|
public void visit(ClassSpace _space)
ClassSpaceVisitor
visit in interface ClassSpaceVisitor_space - The class spacepublic ClassVisitor visitClass(URL url)
ClassSpaceVisitor
visitClass in interface ClassSpaceVisitorurl - The class resource URL
null if this visitor is not interested in visiting the class
public void visit(int version,
int access,
String name,
String signature,
String superName,
String[] interfaces)
ClassVisitor
visit in interface ClassVisitorvisit in class EmptyClassVisitorversion - the class version.access - the class's access flags (see Opcodes). This
parameter also indicates if the class is deprecated.name - the internal name of the class (see
getInternalName).signature - the signature of this class. May be null if
the class is not a generic one, and does not extend or implement
generic classes or interfaces.superName - the internal of name of the super class (see
getInternalName). For interfaces,
the super class is Object. May be null, but
only for the Object class.interfaces - the internal names of the class's interfaces (see
getInternalName). May be
null.
public AnnotationVisitor visitAnnotation(String desc,
boolean visible)
ClassVisitor
visitAnnotation in interface ClassVisitorvisitAnnotation in class EmptyClassVisitordesc - the class descriptor of the annotation class.visible - true if the annotation is visible at runtime.
public void visitEnd()
ClassVisitor
visitEnd in interface ClassVisitorvisitEnd in interface ClassSpaceVisitorvisitEnd in class EmptyClassVisitor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||