public class KotlinAnnotationsMapper extends AnnotationsMapper
Constructor and Description |
---|
KotlinAnnotationsMapper(ValueMapper valueMapper) |
Modifier and Type | Method and Description |
---|---|
boolean |
addModelValidationAnnotationForType(java.lang.String possiblyPrimitiveType)
Whether to add model validation annotation to a type
|
protected java.util.List<java.lang.String> |
getAdditionalAnnotations(MappingContext mappingContext,
java.lang.String typeName) |
java.lang.String |
getJacksonResolverTypeIdAnnotation(java.lang.String modelPackageName)
Get language specific Jackson type id resolver annotation
|
ValueMapper |
getValueMapper() |
getAnnotations, getAnnotations, getAnnotations, getAnnotations, getAnnotationsForDirective, getJacksonTypeIdAnnotations
public KotlinAnnotationsMapper(ValueMapper valueMapper)
public boolean addModelValidationAnnotationForType(java.lang.String possiblyPrimitiveType)
AnnotationsMapper
addModelValidationAnnotationForType
in class AnnotationsMapper
possiblyPrimitiveType
- GraphQL type namepublic java.lang.String getJacksonResolverTypeIdAnnotation(java.lang.String modelPackageName)
AnnotationsMapper
getJacksonResolverTypeIdAnnotation
in class AnnotationsMapper
modelPackageName
- Model package name propertyprotected java.util.List<java.lang.String> getAdditionalAnnotations(MappingContext mappingContext, java.lang.String typeName)
getAdditionalAnnotations
in class AnnotationsMapper
public ValueMapper getValueMapper()
getValueMapper
in class AnnotationsMapper