public class TypeResolver extends Object
| Modifier and Type | Method and Description |
|---|---|
static Map<String,TypeResolver> |
getAllFields(AugmentedIndexView index,
org.jboss.jandex.Type leaf,
org.jboss.jandex.ClassInfo leafKlazz) |
org.jboss.jandex.AnnotationTarget |
getAnnotationTarget()
Get the annotation target that represents this instance's schema property.
|
org.jboss.jandex.ClassInfo |
getDeclaringClass()
Get the declaring class of the annotation target.
|
org.jboss.jandex.FieldInfo |
getField()
Retrieves the field associated with this property.
|
String |
getPropertyName()
Determine the name of the instance's property.
|
org.jboss.jandex.MethodInfo |
getReadMethod()
Retrieves the read method (getter) associated with this property.
|
org.jboss.jandex.Type |
getResolvedType(org.jboss.jandex.Type fieldType)
Resolve a type against this
TypeResolver's resolution stack |
org.jboss.jandex.Type |
getUnresolvedType() |
org.jboss.jandex.MethodInfo |
getWriteMethod()
Retrieves the write method (setter) associated with this property.
|
org.jboss.jandex.Type |
resolveType()
Resolve the type that was used to initially construct this
TypeResolver |
public org.jboss.jandex.ClassInfo getDeclaringClass()
ClassInfo of the class that declares the optimal annotation target for the type represented by the
current instance.public org.jboss.jandex.AnnotationTarget getAnnotationTarget()
public org.jboss.jandex.Type getUnresolvedType()
public String getPropertyName()
@Schema
@JsonbProperty
@JsonProperty
@XmlElement
@XmlAttribute
public org.jboss.jandex.FieldInfo getField()
public org.jboss.jandex.MethodInfo getReadMethod()
public org.jboss.jandex.MethodInfo getWriteMethod()
public org.jboss.jandex.Type resolveType()
TypeResolverpublic org.jboss.jandex.Type getResolvedType(org.jboss.jandex.Type fieldType)
TypeResolver's resolution stackfieldType - type to resolvepublic static Map<String,TypeResolver> getAllFields(AugmentedIndexView index, org.jboss.jandex.Type leaf, org.jboss.jandex.ClassInfo leafKlazz)
Copyright © 2018–2019. All rights reserved.