public final class ReflectiveHierarchyBuildItem extends MultiBuildItem
This is intended to be used to register types that are going to be serialized, e.g. by Jackson or some other JSON mapper.
This will do 'smart discovery' and in addition to registering the type itself it will also attempt to register the following:
- Superclasses - Component types of collections - Types used in bean properties if (if method reflection is enabled) - Field types (if field reflection is enabled)
This discovery is applied recursively, so any additional types that are registered will also have their dependencies discovered
| Constructor and Description |
|---|
ReflectiveHierarchyBuildItem(org.jboss.jandex.Type type) |
Copyright © 2019 JBoss by Red Hat. All rights reserved.