public class DefaultAnnotationScannerExtension extends Object implements AnnotationScannerExtension
| Constructor and Description |
|---|
DefaultAnnotationScannerExtension() |
| Modifier and Type | Method and Description |
|---|---|
JandexUtil.JaxRsParameterInfo |
getMethodParameterJaxRsInfo(org.jboss.jandex.MethodInfo method,
int idx)
Returns jax-rs info about the parameter at the given index.
|
org.eclipse.microprofile.openapi.models.parameters.Parameter.In |
parameterIn(org.jboss.jandex.MethodParameterInfo paramInfo)
Determines where an @Parameter can be found (examples include Query,
Path, Header, Cookie, etc).
|
void |
processJaxRsApplications(OpenApiAnnotationScanner scanner,
Collection<org.jboss.jandex.ClassInfo> applications)
Gives a chance to extensions to process the set of jax-rs application classes.
|
org.jboss.jandex.Type |
resolveAsyncType(org.jboss.jandex.Type type)
Unwraps an asynchronous type such as
CompletionStage<X> into its resolved type
X |
public org.eclipse.microprofile.openapi.models.parameters.Parameter.In parameterIn(org.jboss.jandex.MethodParameterInfo paramInfo)
parameterIn in interface AnnotationScannerExtensionparamInfo - public JandexUtil.JaxRsParameterInfo getMethodParameterJaxRsInfo(org.jboss.jandex.MethodInfo method, int idx)
JandexUtil.JaxRsParameterInfo object
with the name and type of the param.getMethodParameterJaxRsInfo in interface AnnotationScannerExtensionmethod - MethodInfoidx - index of parameterpublic org.jboss.jandex.Type resolveAsyncType(org.jboss.jandex.Type type)
CompletionStage<X> into its resolved type
XresolveAsyncType in interface AnnotationScannerExtensiontype - the type to unwrap if it is a supported async typepublic void processJaxRsApplications(OpenApiAnnotationScanner scanner, Collection<org.jboss.jandex.ClassInfo> applications)
processJaxRsApplications in interface AnnotationScannerExtensionscanner - the scanner used for application scanningapplications - the set of jax-rs application classesCopyright © 2019. All rights reserved.