Class AbstractConversionContext
java.lang.Object
io.micronaut.data.runtime.support.AbstractConversionContext
- All Implemented Interfaces:
io.micronaut.core.annotation.AnnotationMetadataProvider
,io.micronaut.core.annotation.AnnotationSource
,io.micronaut.core.convert.ConversionContext
,io.micronaut.core.convert.ErrorsContext
,io.micronaut.core.type.TypeVariableResolver
,Iterable<io.micronaut.core.convert.ConversionError>
@Internal
public class AbstractConversionContext
extends Object
implements io.micronaut.core.convert.ConversionContext
Delegating
ConversionContext
.- Since:
- 3.1
- Author:
- Denis Stepanov
-
Field Summary
Fields inherited from interface io.micronaut.core.annotation.AnnotationSource
EMPTY
Fields inherited from interface io.micronaut.core.convert.ConversionContext
BOOLEAN, DEFAULT, INT, LIST_OF_STRING, LONG, MAP, STRING
-
Constructor Summary
ConstructorDescriptionAbstractConversionContext
(io.micronaut.core.convert.ConversionContext conversionContext) -
Method Summary
Modifier and TypeMethodDescriptionio.micronaut.core.annotation.AnnotationMetadata
Optional<io.micronaut.core.type.Argument<?>>
Optional<io.micronaut.core.convert.ConversionError>
io.micronaut.core.type.Argument[]
Optional<io.micronaut.core.type.Argument<?>>
getTypeVariable
(String name) boolean
Iterator<io.micronaut.core.convert.ConversionError>
iterator()
void
void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.micronaut.core.annotation.AnnotationMetadataProvider
findAnnotation, findAnnotation, findDeclaredAnnotation, findDeclaredAnnotation, getTargetAnnotationMetadata, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeAll, synthesizeAnnotationsByType, synthesizeDeclared, synthesizeDeclared, synthesizeDeclaredAnnotationsByType
Methods inherited from interface io.micronaut.core.annotation.AnnotationSource
getAnnotation, getAnnotation, getDeclaredAnnotation, getDeclaredAnnotation, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeDeclared
Methods inherited from interface io.micronaut.core.convert.ConversionContext
getCharset, getLocale, with
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
AbstractConversionContext
public AbstractConversionContext(io.micronaut.core.convert.ConversionContext conversionContext)
-
-
Method Details
-
getAnnotationMetadata
public io.micronaut.core.annotation.AnnotationMetadata getAnnotationMetadata()- Specified by:
getAnnotationMetadata
in interfaceio.micronaut.core.annotation.AnnotationMetadataProvider
-
getTypeVariables
- Specified by:
getTypeVariables
in interfaceio.micronaut.core.convert.ConversionContext
- Specified by:
getTypeVariables
in interfaceio.micronaut.core.type.TypeVariableResolver
-
getTypeParameters
public io.micronaut.core.type.Argument[] getTypeParameters()- Specified by:
getTypeParameters
in interfaceio.micronaut.core.type.TypeVariableResolver
-
getFirstTypeVariable
- Specified by:
getFirstTypeVariable
in interfaceio.micronaut.core.type.TypeVariableResolver
-
getTypeVariable
- Specified by:
getTypeVariable
in interfaceio.micronaut.core.type.TypeVariableResolver
-
reject
- Specified by:
reject
in interfaceio.micronaut.core.convert.ErrorsContext
-
reject
- Specified by:
reject
in interfaceio.micronaut.core.convert.ErrorsContext
-
iterator
-
getLastError
- Specified by:
getLastError
in interfaceio.micronaut.core.convert.ErrorsContext
-
hasErrors
public boolean hasErrors()- Specified by:
hasErrors
in interfaceio.micronaut.core.convert.ErrorsContext
-