Package org.eclipse.sisu.space
Class SpaceScanner
java.lang.Object
org.eclipse.sisu.space.SpaceScanner
-
Constructor Summary
ConstructorsConstructorDescriptionSpaceScanner(ClassSpace space) SpaceScanner(ClassSpace space, ClassFinder finder) -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaccept(ClassVisitor visitor, URL url) Makes the givenClassVisitorvisit the class contained in the resourceURL.voidaccept(SpaceVisitor visitor) Makes the givenSpaceVisitorvisit theClassSpaceof this scanner.static StringjvmDescriptor(Class<? extends Annotation> clazz) Returns the JVM descriptor for the given annotation class, such as "Ljavax/inject/Qualifier;".
-
Constructor Details
-
SpaceScanner
-
SpaceScanner
-
-
Method Details
-
accept
Makes the givenSpaceVisitorvisit theClassSpaceof this scanner.- Parameters:
visitor- The class space visitor
-
accept
Makes the givenClassVisitorvisit the class contained in the resourceURL.- Parameters:
visitor- The class space visitorurl- The class resource URL
-
jvmDescriptor
Returns the JVM descriptor for the given annotation class, such as "Ljavax/inject/Qualifier;".- Parameters:
clazz- The annotation class- Returns:
- JVM descriptor of the class
- See Also:
-