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)
Deprecated.
|
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.
|
org.eclipse.microprofile.openapi.models.parameters.Parameter.In |
parameterIn(org.jboss.jandex.MethodParameterInfo paramInfo)
Deprecated.
|
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 |
@Deprecated public org.eclipse.microprofile.openapi.models.parameters.Parameter.In parameterIn(org.jboss.jandex.MethodParameterInfo paramInfo)
parameterIn in interface AnnotationScannerExtensionparamInfo - @Deprecated 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 classespublic boolean isJaxRsAnnotationExtension(org.jboss.jandex.AnnotationInstance instance)
isJaxRsAnnotationExtension in interface AnnotationScannerExtensioninstance - the annotation to checkCopyright © 2018–2019. All rights reserved.