Class TypeProcessor
java.lang.Object
io.smallrye.openapi.runtime.scanner.dataobject.TypeProcessor
Process
Type instances.- Author:
- Marc Savy <marc@rhymewithgravy.com>
-
Constructor Summary
ConstructorsConstructorDescriptionTypeProcessor(AnnotationScannerContext context, DataObjectDeque objectStack, DataObjectDeque.PathEntry parentPathEntry, TypeResolver typeResolver, org.jboss.jandex.Type type, org.eclipse.microprofile.openapi.models.media.Schema schema, org.jboss.jandex.AnnotationTarget annotationTarget) -
Method Summary
Modifier and TypeMethodDescriptionbooleanOnly allow registration of a type if the annotation target (field or method) that refers to the type's class is not annotated with an annotation that alters the visibility of fields in the class.org.eclipse.microprofile.openapi.models.media.Schemaorg.jboss.jandex.Typevoid
-
Constructor Details
-
TypeProcessor
public TypeProcessor(AnnotationScannerContext context, DataObjectDeque objectStack, DataObjectDeque.PathEntry parentPathEntry, TypeResolver typeResolver, org.jboss.jandex.Type type, org.eclipse.microprofile.openapi.models.media.Schema schema, org.jboss.jandex.AnnotationTarget annotationTarget)
-
-
Method Details
-
getSchema
public org.eclipse.microprofile.openapi.models.media.Schema getSchema() -
processType
public org.jboss.jandex.Type processType() -
allowRegistration
public boolean allowRegistration()Only allow registration of a type if the annotation target (field or method) that refers to the type's class is not annotated with an annotation that alters the visibility of fields in the class.- See Also:
-
pushObjectStackInput
public void pushObjectStackInput()
-