public final class SpaceScanner extends Object
| Constructor and Description |
|---|
SpaceScanner(ClassSpace space) |
SpaceScanner(ClassSpace space,
ClassFinder finder) |
| Modifier and Type | Method and Description |
|---|---|
static void |
accept(ClassVisitor visitor,
URL url)
Makes the given
ClassVisitor visit the class contained in the resource URL. |
void |
accept(SpaceVisitor visitor)
Makes the given
SpaceVisitor visit the ClassSpace of this scanner. |
static String |
jvmDescriptor(Class<? extends Annotation> clazz)
Returns the JVM descriptor for the given annotation class, such as "Ljavax/inject/Qualifier;".
|
public SpaceScanner(ClassSpace space, ClassFinder finder)
public SpaceScanner(ClassSpace space)
public void accept(SpaceVisitor visitor)
SpaceVisitor visit the ClassSpace of this scanner.visitor - The class space visitorpublic static void accept(ClassVisitor visitor, URL url)
ClassVisitor visit the class contained in the resource URL.visitor - The class space visitorurl - The class resource URLpublic static String jvmDescriptor(Class<? extends Annotation> clazz)
clazz - The annotation classClassVisitor.visitAnnotation(String)Copyright © 2016. All Rights Reserved.