public interface AnnotationScannerExtension
DefaultAnnotationScannerExtension.DefaultAnnotationScannerExtension| Modifier and Type | Method and Description |
|---|---|
default boolean |
isJaxRsAnnotationExtension(org.jboss.jandex.AnnotationInstance instance)
Returns true if the given annotation is a jax-rs annotation extension, such as would be in the javax.ws.rs
package.
|
default void |
processJaxRsApplications(OpenApiAnnotationScanner scanner,
Collection<org.jboss.jandex.ClassInfo> applications)
Gives a chance to extensions to process the set of jax-rs application classes.
|
default org.jboss.jandex.Type |
resolveAsyncType(org.jboss.jandex.Type type)
Unwraps an asynchronous type such as
CompletionStage<X> into its resolved type
X |
default org.jboss.jandex.Type resolveAsyncType(org.jboss.jandex.Type type)
CompletionStage<X> into its resolved type
Xtype - the type to unwrap if it is a supported async typedefault void processJaxRsApplications(OpenApiAnnotationScanner scanner, Collection<org.jboss.jandex.ClassInfo> applications)
scanner - the scanner used for application scanningapplications - the set of jax-rs application classesdefault boolean isJaxRsAnnotationExtension(org.jboss.jandex.AnnotationInstance instance)
instance - the annotation to checkCopyright © 2018–2020. All rights reserved.