public interface AnnotationScannerExtension
| Modifier and Type | Method and Description |
|---|---|
default boolean |
isScannerAnnotationExtension(org.jboss.jandex.AnnotationInstance instance)
Returns true if the given annotation is a scanner annotation extension,
such as would be in the scanner's package.
|
default Object |
parseExtension(String key,
String value)
Parses an OpenAPI Extension value.
|
default void |
processScannerApplications(AnnotationScanner scanner,
Collection<org.jboss.jandex.ClassInfo> applications)
Gives a chance to extensions to process the set of scanner 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 processScannerApplications(AnnotationScanner scanner, Collection<org.jboss.jandex.ClassInfo> applications)
scanner - the scanner used for application scanningapplications - the set of rest application classesdefault boolean isScannerAnnotationExtension(org.jboss.jandex.AnnotationInstance instance)
instance - the annotation to checkdefault Object parseExtension(String key, String value)
key - the name of the extension propertyvalue - the string value of the extensionCopyright © 2018–2021. All rights reserved.