public class ExtensionReader extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
getExtensionName(org.jboss.jandex.AnnotationInstance annotation) |
static List<org.jboss.jandex.AnnotationInstance> |
getExtensionsAnnotations(org.jboss.jandex.AnnotationTarget target) |
static Map<String,Object> |
readExtensions(AnnotationScannerContext context,
org.jboss.jandex.AnnotationInstance extensible) |
static Map<String,Object> |
readExtensions(AnnotationScannerContext context,
org.jboss.jandex.AnnotationValue annotationValue)
Reads an array of Extension annotations.
|
static Map<String,Object> |
readExtensions(AnnotationScannerContext context,
List<org.jboss.jandex.AnnotationInstance> extensions)
Reads a List of Extension annotations.
|
static void |
readExtensions(com.fasterxml.jackson.databind.JsonNode node,
org.eclipse.microprofile.openapi.models.Extensible<?> model)
Reads model extensions.
|
static Object |
readExtensionValue(AnnotationScannerContext context,
String name,
org.jboss.jandex.AnnotationInstance annotationInstance)
Reads a single Extension annotation.
|
public static Map<String,Object> readExtensions(AnnotationScannerContext context, org.jboss.jandex.AnnotationValue annotationValue)
context - the scanning contextannotationValue - map of @Extension annotationspublic static Map<String,Object> readExtensions(AnnotationScannerContext context, List<org.jboss.jandex.AnnotationInstance> extensions)
context - the scanning contextextensions - List of @Extension annotationspublic static Map<String,Object> readExtensions(AnnotationScannerContext context, org.jboss.jandex.AnnotationInstance extensible)
public static Object readExtensionValue(AnnotationScannerContext context, String name, org.jboss.jandex.AnnotationInstance annotationInstance)
context - the scanning contextname - the name of the extensionannotationInstance - @Extension annotationpublic static void readExtensions(com.fasterxml.jackson.databind.JsonNode node,
org.eclipse.microprofile.openapi.models.Extensible<?> model)
node - the json objectmodel - the model to read topublic static List<org.jboss.jandex.AnnotationInstance> getExtensionsAnnotations(org.jboss.jandex.AnnotationTarget target)
public static String getExtensionName(org.jboss.jandex.AnnotationInstance annotation)
Copyright © 2018–2021. All rights reserved.