Uses of Class
org.mapstruct.ap.internal.model.common.Type
-
Packages that use Type Package Description org.mapstruct.ap.internal.conversion Provides built-in conversions between primitive and wrapper types, strings, dates etc.org.mapstruct.ap.internal.model Meta-model of mapper types, their methods, mappings between properties etc.org.mapstruct.ap.internal.model.assignment Meta-model of assignments.org.mapstruct.ap.internal.model.beanmapping helper classes used inBeanMappingMethodorg.mapstruct.ap.internal.model.common Contains types which are shared between the intermediary mapping method model ("source model") and the mapper model.org.mapstruct.ap.internal.model.presence org.mapstruct.ap.internal.model.source Intermediary representation of mapping methods as retrieved from via the annotation processing API.org.mapstruct.ap.internal.model.source.builtin Contains "built-in methods" which may be added as private methods to a generated mapper.org.mapstruct.ap.internal.model.source.selector Provides strategies for selecting a matching mapping or factory method when mapping from one attribute to another or instantiating the target type of a mapping method, respectively.org.mapstruct.ap.internal.processor Contains model processors which perform tasks such as retrieving mapping methods, creating a model representation and writing the model into Java source files.org.mapstruct.ap.internal.processor.creation Contains all helper classes for theMapperCreationProcessor -
-
Uses of Type in org.mapstruct.ap.internal.conversion
Fields in org.mapstruct.ap.internal.conversion declared as Type Modifier and Type Field Description private TypeConversions. enumTypeprivate TypeCreateDecimalFormat. returnTypeprivate TypeConversions.Key. sourceTypeprivate TypeConversions. stringTypeprivate TypeConversions.Key. targetTypeFields in org.mapstruct.ap.internal.conversion with type parameters of type Type Modifier and Type Field Description private java.util.Set<Type>CreateDecimalFormat. importTypesMethods in org.mapstruct.ap.internal.conversion that return Type Modifier and Type Method Description TypeCreateDecimalFormat. getReturnType()Methods in org.mapstruct.ap.internal.conversion that return types with arguments of type Type Modifier and Type Method Description protected java.util.List<Type>AbstractNumberToStringConversion. getFromConversionExceptionTypes(ConversionContext conversionContext)protected java.util.List<Type>SimpleConversion. getFromConversionExceptionTypes(ConversionContext conversionContext)protected java.util.List<Type>URLToStringConversion. getFromConversionExceptionTypes(ConversionContext conversionContext)protected java.util.Set<Type>AbstractJavaTimeToStringConversion. getFromConversionImportTypes(ConversionContext conversionContext)protected java.util.Set<Type>AbstractJodaTypeToStringConversion. getFromConversionImportTypes(ConversionContext conversionContext)protected java.util.Set<Type>AbstractNumberToStringConversion. getFromConversionImportTypes(ConversionContext conversionContext)protected java.util.Set<Type>BigDecimalToBigIntegerConversion. getFromConversionImportTypes(ConversionContext conversionContext)protected java.util.Set<Type>BigDecimalToPrimitiveConversion. getFromConversionImportTypes(ConversionContext conversionContext)protected java.util.Set<Type>BigDecimalToStringConversion. getFromConversionImportTypes(ConversionContext conversionContext)protected java.util.Set<Type>BigDecimalToWrapperConversion. getFromConversionImportTypes(ConversionContext conversionContext)protected java.util.Set<Type>BigIntegerToPrimitiveConversion. getFromConversionImportTypes(ConversionContext conversionContext)protected java.util.Set<Type>BigIntegerToStringConversion. getFromConversionImportTypes(ConversionContext conversionContext)protected java.util.Set<Type>BigIntegerToWrapperConversion. getFromConversionImportTypes(ConversionContext conversionContext)protected java.util.Set<Type>CurrencyToStringConversion. getFromConversionImportTypes(ConversionContext conversionContext)protected java.util.Set<Type>EnumStringConversion. getFromConversionImportTypes(ConversionContext conversionContext)protected java.util.Set<Type>JavaLocalDateTimeToDateConversion. getFromConversionImportTypes(ConversionContext conversionContext)protected java.util.Set<Type>JavaLocalDateToDateConversion. getFromConversionImportTypes(ConversionContext conversionContext)protected java.util.Set<Type>JavaLocalDateToSqlDateConversion. getFromConversionImportTypes(ConversionContext conversionContext)protected java.util.Set<Type>JavaZonedDateTimeToDateConversion. getFromConversionImportTypes(ConversionContext conversionContext)protected java.util.Set<Type>JodaDateTimeToCalendarConversion. getFromConversionImportTypes(ConversionContext conversionContext)protected java.util.Set<Type>JodaTimeToDateConversion. getFromConversionImportTypes(ConversionContext conversionContext)protected java.util.Set<Type>PrimitiveToStringConversion. getFromConversionImportTypes(ConversionContext conversionContext)protected java.util.Set<Type>SimpleConversion. getFromConversionImportTypes(ConversionContext conversionContext)Returns a set with imported types of the "from" conversion.protected java.util.Set<Type>StaticParseToStringConversion. getFromConversionImportTypes(ConversionContext conversionContext)protected java.util.Set<Type>URLToStringConversion. getFromConversionImportTypes(ConversionContext conversionContext)protected java.util.Set<Type>UUIDToStringConversion. getFromConversionImportTypes(ConversionContext conversionContext)protected java.util.Set<Type>WrapperToStringConversion. getFromConversionImportTypes(ConversionContext conversionContext)java.util.Set<Type>CreateDecimalFormat. getImportTypes()protected java.util.List<Type>SimpleConversion. getToConversionExceptionTypes(ConversionContext conversionContext)protected java.util.Set<Type>AbstractJavaTimeToStringConversion. getToConversionImportTypes(ConversionContext conversionContext)protected java.util.Set<Type>AbstractJodaTypeToStringConversion. getToConversionImportTypes(ConversionContext conversionContext)java.util.Set<Type>AbstractNumberToStringConversion. getToConversionImportTypes(ConversionContext conversionContext)protected java.util.Set<Type>DateToSqlDateConversion. getToConversionImportTypes(ConversionContext conversionContext)protected java.util.Set<Type>DateToSqlTimeConversion. getToConversionImportTypes(ConversionContext conversionContext)protected java.util.Set<Type>DateToSqlTimestampConversion. getToConversionImportTypes(ConversionContext conversionContext)protected java.util.Set<Type>JavaInstantToDateConversion. getToConversionImportTypes(ConversionContext conversionContext)protected java.util.Set<Type>JavaLocalDateTimeToDateConversion. getToConversionImportTypes(ConversionContext conversionContext)protected java.util.Set<Type>JavaLocalDateToDateConversion. getToConversionImportTypes(ConversionContext conversionContext)protected java.util.Set<Type>JavaLocalDateToSqlDateConversion. getToConversionImportTypes(ConversionContext conversionContext)protected java.util.Set<Type>JavaZonedDateTimeToDateConversion. getToConversionImportTypes(ConversionContext conversionContext)protected java.util.Set<Type>JodaDateTimeToCalendarConversion. getToConversionImportTypes(ConversionContext conversionContext)java.util.Set<Type>PrimitiveToStringConversion. getToConversionImportTypes(ConversionContext conversionContext)protected java.util.Set<Type>SimpleConversion. getToConversionImportTypes(ConversionContext conversionContext)Returns a set with imported types of the "to" conversion.java.util.Set<Type>WrapperToStringConversion. getToConversionImportTypes(ConversionContext conversionContext)Methods in org.mapstruct.ap.internal.conversion with parameters of type Type Modifier and Type Method Description ConversionProviderConversions. getConversion(Type sourceType, Type targetType)Constructors in org.mapstruct.ap.internal.conversion with parameters of type Type Constructor Description Key(Type sourceType, Type targetType) -
Uses of Type in org.mapstruct.ap.internal.model
Fields in org.mapstruct.ap.internal.model declared as Type Modifier and Type Field Description private TypeLifecycleCallbackMethodReference. declaringTypeprivate TypeDecorator. decoratorTypeprivate TypeMethodReference. definingTypeprivate TypeGeneratedType. generatedTypeType representing the@Generatedannotationprivate TypeGeneratedType. mapperDefinitionTypeprivate TypeDecorator. mapperTypeprivate TypeLifecycleCallbackMethodReference. methodResultTypeprivate TypeLifecycleCallbackMethodReference. methodReturnTypeprivate TypeIterableCreation. resultTypeprivate TypeForgedMethod. returnTypeprivate TypeMappingMethod. returnTypeprivate TypeMethodReference. returnTypeprivate TypeBeanMappingMethod. returnTypeToConstructprivate TypeForgedMethodHistory. sourceTypeprivate TypeSubclassMapping. sourceTypeprivate TypeCollectionAssignmentBuilder. targetTypeprivate TypeForgedMethodHistory. targetTypeprivate TypeNestedTargetPropertyMappingHolder.Builder. targetTypeprotected TypePropertyMapping.MappingBuilderBase. targetTypeprivate TypePropertyMapping. targetTypeprivate TypeSubclassMapping. targetTypeprivate TypeAnnotation. typeprivate TypeField. typeprivate TypeNestedPropertyMappingMethod.SafePropertyEntry. typeprivate TypeValueMappingMethod. unexpectedValueMappingExceptionprivate TypeBeanMappingMethod.Builder. userDefinedReturnTypeFields in org.mapstruct.ap.internal.model with type parameters of type Type Modifier and Type Field Description private java.util.SortedSet<Type>GeneratedType. extraImportedTypesprotected java.util.SortedSet<Type>GeneratedType.GeneratedTypeBuilder. extraImportedTypesprivate java.util.Set<Type>StreamMappingMethod. helperImportsprivate java.util.Set<Type>DefaultMapperReference. importTypesprivate java.util.Set<Type>MethodReference. importTypesprivate java.util.Set<Type>SupportingMappingMethod. importTypesprivate java.util.Set<Type>TypeConversion. importTypesprivate java.util.List<Type>ForgedMethod. thrownTypesprivate java.util.List<Type>MappingMethod. thrownTypesprivate java.util.List<Type>MethodReference. thrownTypesprivate java.util.List<Type>TypeConversion. thrownTypesMethods in org.mapstruct.ap.internal.model that return Type Modifier and Type Method Description private TypeValueMappingMethod.Builder. determineUnexpectedValueMappingException()TypeSupportingMappingMethod. findType(java.lang.String name)Finds aTypeby a given name.TypeForgedMethod. getDeclaringMapper()TypeHelperMethod. getDeclaringMapper()Returns the mapper type declaring this method if it is not declared by the mapper interface currently processed but by another mapper imported viaMapper#users().TypeLifecycleCallbackMethodReference. getDeclaringType()TypeForgedMethod. getDefiningType()TypeHelperMethod. getDefiningType()TypeMethodReference. getDefiningType()protected abstract TypeContainerMappingMethodBuilder. getElementType(Type parameterType)protected TypeIterableMappingMethod.Builder. getElementType(Type parameterType)protected TypeStreamMappingMethod.Builder. getElementType(Type parameterType)private static TypeStreamMappingMethod. getElementType(Type parameterType)TypeIterableCreation. getEnumSetElementType()TypeGeneratedType. getMapperDefinitionType()TypeDecorator. getMapperType()TypeLifecycleCallbackMethodReference. getMethodResultType()Returns the result type of the mapping method in which this callback method is calledTypeLifecycleCallbackMethodReference. getMethodReturnType()Returns the return type of the mapping method in which this callback method is calledabstract TypeContainerMappingMethod. getResultElementType()TypeIterableMappingMethod. getResultElementType()TypeStreamMappingMethod. getResultElementType()TypeForgedMethod. getResultType()TypeHelperMethod. getResultType()TypeIterableCreation. getResultType()TypeMappingMethod. getResultType()TypeForgedMethod. getReturnType()TypeMappingMethod. getReturnType()TypeMethodReference. getReturnType()TypeBeanMappingMethod. getReturnTypeToConstruct()TypeMethodReference. getSingleSourceParameterType()TypeIterableMappingMethod. getSourceElementType()TypeStreamMappingMethod. getSourceElementType()TypeForgedMethodHistory. getSourceType()TypeMethodReference. getSourceType()TypeSubclassMapping. getSourceType()TypeTypeConversion. getSourceType()TypeForgedMethodHistory. getTargetType()TypePropertyMapping. getTargetType()TypeAnnotation. getType()TypeField. getType()Returns the type of this field.TypeNestedPropertyMappingMethod.SafePropertyEntry. getType()TypeValueMappingMethod. getUnexpectedValueMappingException()TypeMethodReference. inferTypeWhenEnum(Type type)Methods in org.mapstruct.ap.internal.model that return types with arguments of type Type Modifier and Type Method Description java.util.Set<Type>AnnotatedConstructor. getImportTypes()java.util.Set<Type>Annotation. getImportTypes()java.util.Set<Type>AnnotationMapperReference. getImportTypes()java.util.Set<Type>BeanMappingMethod. getImportTypes()java.util.Set<Type>Constructor. getImportTypes()java.util.Set<Type>ContainerMappingMethod. getImportTypes()java.util.SortedSet<Type>Decorator. getImportTypes()java.util.Set<Type>DecoratorConstructor. getImportTypes()java.util.Set<Type>DefaultMapperReference. getImportTypes()java.util.Set<Type>Field. getImportTypes()java.util.SortedSet<Type>GeneratedType. getImportTypes()java.util.Set<Type>HelperMethod. getImportTypes()Returns the types used by this method for which import statements need to be generated.java.util.Set<Type>IterableCreation. getImportTypes()java.util.Set<Type>IterableMappingMethod. getImportTypes()java.util.Set<Type>LifecycleCallbackMethodReference. getImportTypes()java.util.Set<Type>MapMappingMethod. getImportTypes()java.util.Set<Type>MappingMethod. getImportTypes()java.util.Set<Type>MethodReference. getImportTypes()java.util.Set<Type>MethodReferencePresenceCheck. getImportTypes()java.util.Set<Type>NestedPropertyMappingMethod. getImportTypes()java.util.Set<Type>NoArgumentConstructor. getImportTypes()java.util.Set<Type>NormalTypeMappingMethod. getImportTypes()java.util.Set<Type>PropertyMapping. getImportTypes()java.util.Set<Type>ServicesEntry. getImportTypes()java.util.Set<Type>StreamMappingMethod. getImportTypes()java.util.Set<Type>SubclassMapping. getImportTypes()java.util.Set<Type>SupportingConstructorFragment. getImportTypes()java.util.Set<Type>SupportingMappingMethod. getImportTypes()java.util.Set<Type>TypeConversion. getImportTypes()java.util.Set<Type>ValueMappingMethod. getImportTypes()java.util.List<Type>MapMappingMethod. getResultElementTypes()java.util.List<Type>MapMappingMethod. getSourceElementTypes()java.util.List<Type>ForgedMethod. getThrownTypes()java.util.List<Type>HelperMethod. getThrownTypes()java.util.List<Type>MappingMethod. getThrownTypes()java.util.List<Type>MethodReference. getThrownTypes()java.util.List<Type>TypeConversion. getThrownTypes()java.util.List<Type>ForgedMethod. getTypeParameters()java.util.List<Type>HelperMethod. getTypeParameters()Methods in org.mapstruct.ap.internal.model with parameters of type Type Modifier and Type Method Description protected voidGeneratedType. addIfImportRequired(java.util.Collection<Type> collection, Type typeToAdd)static java.util.List<LifecycleCallbackMethodReference>LifecycleMethodResolver. afterMappingMethods(Method method, Type alternativeTarget, SelectionParameters selectionParameters, MappingBuilderContext ctx, java.util.Set<java.lang.String> existingVariableNames)private booleanBeanMappingMethod.Builder. allowsAbstractReturnTypeAndIsEitherAbstractOrCanBeConstructed(Type returnTypeImpl)private AssignmentPropertyMapping.PropertyMappingBuilder. assignToArray(Type targetType, Assignment rightHandSide)private AssignmentPropertyMapping.PropertyMappingBuilder. assignToCollection(Type targetType, AccessorType targetAccessorType, Assignment rhs)private AssignmentPropertyMapping.PropertyMappingBuilder. assignToPlain(Type targetType, AccessorType targetAccessorType, Assignment rightHandSide)private AssignmentPropertyMapping.PropertyMappingBuilder. assignToPlainViaSetter(Type targetType, Assignment rhs)static java.util.List<LifecycleCallbackMethodReference>LifecycleMethodResolver. beforeMappingMethods(Method method, Type alternativeTarget, SelectionParameters selectionParameters, MappingBuilderContext ctx, java.util.Set<java.lang.String> existingVariableNames)(package private) booleanAbstractBaseBuilder. canGenerateAutoSubMappingBetween(Type sourceType, Type targetType)Checks if MapStruct is allowed to generate an automatic sub-mapping betweensourceTypeand @{code targetType}.booleanMappingBuilderContext. canGenerateAutoSubMappingBetween(Type sourceType, Type targetType)private booleanMappingBuilderContext. canGenerateAutoSubMappingFor(Type type)private booleanBeanMappingMethod.Builder. canResultTypeFromBeanMappingBeConstructed(Type resultType)private booleanBeanMappingMethod.Builder. canReturnTypeBeConstructed(Type returnType)private static java.util.List<LifecycleCallbackMethodReference>LifecycleMethodResolver. collectLifecycleCallbackMethods(Method method, Type targetType, SelectionParameters selectionParameters, java.util.List<SourceMethod> callbackMethods, MappingBuilderContext ctx, java.util.Set<java.lang.String> existingVariableNames)ForgedMethodAbstractMappingMethodBuilder.ForgeMethodCreator. createMethod(java.lang.String name, Type sourceType, Type returnType, Method basedOn, ForgedMethodHistory history, boolean forgedNameBased)private booleanBeanMappingMethod.Builder. doesNotAllowAbstractReturnTypeAndCanBeConstructed(Type returnTypeImpl)booleanHelperMethod. doTypeVarsMatch(Type parameter, Type returnType)Analyzes the Java Generic type variables in the parameter do match the type variables in the build in method same goes for the returnType.private java.util.List<ValueMappingMethod.MappingEntry>ValueMappingMethod.Builder. enumToEnumMapping(Method method, Type sourceType, Type targetType)private java.util.List<ValueMappingMethod.MappingEntry>ValueMappingMethod.Builder. enumToStringMapping(Method method, Type sourceType)static MethodReferenceMethodReference. forConstructorInvocation(Type type, java.util.List<ParameterBinding> parameterBindings)static ForgedMethodForgedMethod. forElementMapping(java.lang.String name, Type sourceType, Type returnType, Method basedOn, ForgedMethodHistory history, boolean forgedNameBased)Creates a new forged method for mapping a collection element, map key/value or stream elementprivate AssignmentContainerMappingMethodBuilder. forge(SourceRHS sourceRHS, Type sourceType, Type targetType)(package private) AssignmentMapMappingMethod.Builder. forge(SourceRHS sourceRHS, Type sourceType, Type targetType, Message message)private AssignmentPropertyMapping.PropertyMappingBuilder. forgeIterableMapping(Type sourceType, Type targetType, SourceRHS source)private AssignmentPropertyMapping.PropertyMappingBuilder. forgeMapMapping(Type sourceType, Type targetType, SourceRHS source)(package private) AssignmentAbstractMappingMethodBuilder. forgeMapping(SourceRHS sourceRHS, Type sourceType, Type targetType)private AssignmentAbstractMappingMethodBuilder. forgeMapping(SourceRHS sourceRHS, Type sourceType, Type targetType, AbstractMappingMethodBuilder.ForgeMethodCreator forgeMethodCreator)private AssignmentPropertyMapping.PropertyMappingBuilder. forgeMapping(Type sourceType, Type targetType, SourceRHS sourceRHS)private AssignmentPropertyMapping.PropertyMappingBuilder. forgeStreamMapping(Type sourceType, Type targetType, SourceRHS source)(package private) AssignmentAbstractMappingMethodBuilder. forgeSubclassMapping(SourceRHS sourceRHS, Type sourceType, Type targetType, MappingReferences mappingReferences)private AssignmentPropertyMapping.PropertyMappingBuilder. forgeWithElementMapping(Type sourceType, Type targetType, SourceRHS source, ContainerMappingMethodBuilder<?,? extends ContainerMappingMethod> builder)static ForgedMethodForgedMethod. forParameterMapping(java.lang.String name, Type sourceType, Type returnType, Method basedOn)Creates a new forged method with the given name for mapping a method parameter to a property.static ForgedMethodForgedMethod. forPropertyMapping(java.lang.String name, Type sourceType, Type returnType, java.util.List<Parameter> parameters, Method basedOn, ForgedMethodHistory history, MappingReferences mappingReferences, boolean forgedNameBased)Creates a new forged method for mapping a bean property to a propertystatic MethodReferenceMethodReference. forStaticBuilder(java.lang.String builderCreationMethod, Type definingType)static ForgedMethodForgedMethod. forSubclassMapping(java.lang.String name, Type sourceType, Type returnType, Method basedOn, MappingReferences mappingReferences, ForgedMethodHistory history, boolean forgedNameBased)Creates a new forged method for mapping a SubclassMapping elementstatic MethodReferenceObjectFactoryMethodResolver. getBuilderFactoryMethod(Type typeToBuild, BuilderType builder)private BeanMappingMethod.ConstructorAccessorBeanMappingMethod.Builder. getConstructorAccessor(Type type)private BeanMappingMethod.ConstructorAccessorBeanMappingMethod.Builder. getConstructorAccessor(Type type, javax.lang.model.element.ExecutableElement constructor)protected abstract TypeContainerMappingMethodBuilder. getElementType(Type parameterType)protected TypeIterableMappingMethod.Builder. getElementType(Type parameterType)protected TypeStreamMappingMethod.Builder. getElementType(Type parameterType)private static TypeStreamMappingMethod. getElementType(Type parameterType)static MethodReferenceObjectFactoryMethodResolver. getFactoryMethod(Method method, Type alternativeTarget, SelectionParameters selectionParameters, MappingBuilderContext ctx)returns a no arg factory methodstatic DefaultMapperReferenceDefaultMapperReference. getInstance(Type type, boolean isAnnotatedMapper, boolean isSingleton, TypeFactory typeFactory, java.util.List<java.lang.String> otherMapperReferences)static java.util.List<SelectedMethod<SourceMethod>>ObjectFactoryMethodResolver. getMatchingFactoryMethods(Method method, Type alternativeTarget, SelectionParameters selectionParameters, MappingBuilderContext ctx)private java.lang.StringAbstractMappingMethodBuilder. getName(Type type)private java.lang.StringAbstractMappingMethodBuilder. getName(Type sourceType, Type targetType)private java.lang.StringPropertyMapping.PropertyMappingBuilder. getName(Type type)private java.lang.StringPropertyMapping.PropertyMappingBuilder. getName(Type sourceType, Type targetType)AssignmentMappingBuilderContext.MappingResolver. getTargetAssignment(Method mappingMethod, ForgedMethodHistory description, Type targetType, FormattingParameters formattingParameters, SelectionCriteria criteria, SourceRHS sourceRHS, javax.lang.model.element.AnnotationMirror positionHint, java.util.function.Supplier<Assignment> forger)returns a parameter assignmentprivate booleanBeanMappingMethod.Builder. handleDefinedMapping(MappingReference mappingRef, Type resultTypeToMap, java.util.Set<java.lang.String> handledTargets)private booleanBeanMappingMethod.Builder. handleDefinedMappings(Type resultTypeToMap)Iterates over all defined mapping methods (@Mapping(s)), either directly given or inherited from the inverse mapping method.private booleanBeanMappingMethod.Builder. handleDefinedNestedTargetMapping(java.util.Set<java.lang.String> handledTargets, Type resultTypeToMap)TypeMethodReference. inferTypeWhenEnum(Type type)private voidBeanMappingMethod.Builder. initializeFactoryMethod(Type returnTypeImpl, SelectionParameters selectionParameters)Find a factory method for a return type or for a builder.private voidBeanMappingMethod.Builder. initializeMappingReferencesIfNeeded(Type resultTypeToMap)private booleanBeanMappingMethod.Builder. isReturnTypeAbstractOrCanBeConstructed(Type returnType)booleanForgedMethod. matches(java.util.List<Type> sourceTypes, Type targetType)booleanHelperMethod. matches(java.util.List<Type> sourceTypes, Type targetType)Checks whether the provided sourceType and provided targetType match with the parameter respectively return type of the method.private booleanGeneratedType. needsImportDeclaration(Type typeToAdd)private ForgedMethodPropertyMapping.PropertyMappingBuilder. prepareForgedMethod(Type sourceType, Type targetType, SourceRHS source, java.lang.String suffix)(package private) voidAbstractBaseBuilder. reportCannotCreateMapping(Method method, java.lang.String sourceErrorMessagePart, Type sourceType, Type targetType, java.lang.String targetPropertyName)Reports that a mapping could not be created.(package private) voidAbstractBaseBuilder. reportCannotCreateMapping(Method method, javax.lang.model.element.AnnotationMirror posHint, java.lang.String sourceErrorMessagePart, Type sourceType, Type targetType, java.lang.String targetPropertyName)Reports that a mapping could not be created.private booleanValueMappingMethod.Builder. reportErrorIfMappedSourceEnumConstantsDontExist(Method method, Type sourceType)private booleanValueMappingMethod.Builder. reportErrorIfMappedTargetEnumConstantsDontExist(Method method, Type targetType)private booleanPropertyMapping.PropertyMappingBuilder. setterWrapperNeedsSourceNullCheck(Assignment rhs, Type targetType)Checks whether the setter wrapper should include a null / presence check or notprivate booleanBeanMappingMethod.Builder. shouldCallFinalizerMethod(Type returnTypeToConstruct)private java.util.List<ValueMappingMethod.MappingEntry>ValueMappingMethod.Builder. stringToEnumMapping(Method method, Type targetType)NestedTargetPropertyMappingHolder.BuilderNestedTargetPropertyMappingHolder.Builder. targetPropertyType(Type targetType)CollectionAssignmentBuilderCollectionAssignmentBuilder. targetType(Type targetType)BeanMappingMethod.BuilderBeanMappingMethod.Builder. userDefinedReturnType(Type userDefinedReturnType)Method parameters in org.mapstruct.ap.internal.model with type arguments of type Type Modifier and Type Method Description protected voidGeneratedType. addIfImportRequired(java.util.Collection<Type> collection, Type typeToAdd)voidForgedMethod. addThrownTypes(java.util.List<Type> thrownTypesToAdd)TGeneratedType.GeneratedTypeBuilder. extraImports(java.util.SortedSet<Type> extraImportedTypes)booleanForgedMethod. matches(java.util.List<Type> sourceTypes, Type targetType)booleanHelperMethod. matches(java.util.List<Type> sourceTypes, Type targetType)Checks whether the provided sourceType and provided targetType match with the parameter respectively return type of the method.Constructors in org.mapstruct.ap.internal.model with parameters of type Type Constructor Description Annotation(Type type)Annotation(Type type, java.util.List<java.lang.String> properties)AnnotationMapperReference(Type type, java.lang.String variableName, java.util.List<Annotation> annotations, boolean isUsed, boolean fieldFinal, boolean includeAnnotationsOnField)BeanMappingMethod(Method method, java.util.Collection<java.lang.String> existingVariableNames, java.util.List<PropertyMapping> propertyMappings, MethodReference factoryMethod, boolean mapNullToDefault, Type returnTypeToConstruct, BuilderType returnTypeBuilder, java.util.List<LifecycleCallbackMethodReference> beforeMappingReferences, java.util.List<LifecycleCallbackMethodReference> afterMappingReferences, MethodReference finalizerMethod, MappingReferences mappingReferences, java.util.List<SubclassMapping> subclassMappings)Decorator(TypeFactory typeFactory, java.lang.String packageName, java.lang.String name, Type decoratorType, Type mapperType, java.util.List<MappingMethod> methods, Options options, VersionInformation versionInformation, boolean suppressGeneratorTimestamp, Accessibility accessibility, java.util.SortedSet<Type> extraImports, DecoratorConstructor decoratorConstructor)DefaultMapperReference(Type type, boolean isAnnotatedMapper, boolean isSingleton, java.util.Set<Type> importTypes, java.lang.String variableName)Field(Type type, java.lang.String variableName)Field(Type type, java.lang.String variableName, boolean used)ForgedMethod(java.lang.String name, Type sourceType, Type returnType, java.util.List<Parameter> additionalParameters, Method basedOn, ForgedMethodHistory history, MappingReferences mappingReferences, boolean forgedNameBased)ForgedMethodHistory(ForgedMethodHistory history, java.lang.String sourceElement, java.lang.String targetPropertyName, Type sourceType, Type targetType, boolean usePropertyNames, java.lang.String elementType)GeneratedType(TypeFactory typeFactory, java.lang.String packageName, java.lang.String name, Type mapperDefinitionType, java.util.List<MappingMethod> methods, java.util.List<Field> fields, Options options, VersionInformation versionInformation, boolean suppressGeneratorTimestamp, Accessibility accessibility, java.util.SortedSet<Type> extraImportedTypes, Constructor constructor)IterableCreation(Type resultType, Parameter sourceParameter, MethodReference factoryMethod)Mapper(TypeFactory typeFactory, java.lang.String packageName, java.lang.String name, Type mapperDefinitionType, boolean customPackage, boolean customImplName, java.util.List<MappingMethod> methods, Options options, VersionInformation versionInformation, boolean suppressGeneratorTimestamp, Accessibility accessibility, java.util.List<Field> fields, Constructor constructor, Decorator decorator, java.util.SortedSet<Type> extraImportedTypes)MapperReference(Type type, java.lang.String variableName)MapperReference(Type type, java.lang.String variableName, boolean isUsed)MethodReference(java.lang.String name, Type definingType, boolean isStatic)MethodReference(Type definingType, java.util.List<ParameterBinding> parameterBindings)PropertyMapping(java.lang.String name, java.lang.String sourceBeanName, java.lang.String targetWriteAccessorName, ReadAccessor targetReadAccessorProvider, Type targetType, Assignment assignment, java.util.Set<java.lang.String> dependsOn, Assignment defaultValueAssignment, boolean constructorMapping)PropertyMapping(java.lang.String name, java.lang.String targetWriteAccessorName, ReadAccessor targetReadAccessorProvider, Type targetType, Assignment propertyAssignment, java.util.Set<java.lang.String> dependsOn, Assignment defaultValueAssignment, boolean constructorMapping)SubclassMapping(Type sourceType, java.lang.String sourceArgument, Type targetType, Assignment assignment)ValueMappingMethod(Method method, java.util.List<ValueMappingMethod.MappingEntry> enumMappings, java.lang.String nullTarget, java.lang.String defaultTarget, Type unexpectedValueMappingException, java.util.List<LifecycleCallbackMethodReference> beforeMappingMethods, java.util.List<LifecycleCallbackMethodReference> afterMappingMethods)Constructor parameters in org.mapstruct.ap.internal.model with type arguments of type Type Constructor Description Decorator(TypeFactory typeFactory, java.lang.String packageName, java.lang.String name, Type decoratorType, Type mapperType, java.util.List<MappingMethod> methods, Options options, VersionInformation versionInformation, boolean suppressGeneratorTimestamp, Accessibility accessibility, java.util.SortedSet<Type> extraImports, DecoratorConstructor decoratorConstructor)DefaultMapperReference(Type type, boolean isAnnotatedMapper, boolean isSingleton, java.util.Set<Type> importTypes, java.lang.String variableName)GeneratedType(TypeFactory typeFactory, java.lang.String packageName, java.lang.String name, Type mapperDefinitionType, java.util.List<MappingMethod> methods, java.util.List<Field> fields, Options options, VersionInformation versionInformation, boolean suppressGeneratorTimestamp, Accessibility accessibility, java.util.SortedSet<Type> extraImportedTypes, Constructor constructor)Mapper(TypeFactory typeFactory, java.lang.String packageName, java.lang.String name, Type mapperDefinitionType, boolean customPackage, boolean customImplName, java.util.List<MappingMethod> methods, Options options, VersionInformation versionInformation, boolean suppressGeneratorTimestamp, Accessibility accessibility, java.util.List<Field> fields, Constructor constructor, Decorator decorator, java.util.SortedSet<Type> extraImportedTypes)StreamMappingMethod(Method method, java.util.Collection<java.lang.String> existingVariables, Assignment parameterAssignment, MethodReference factoryMethod, boolean mapNullToDefault, java.lang.String loopVariableName, java.util.List<LifecycleCallbackMethodReference> beforeMappingReferences, java.util.List<LifecycleCallbackMethodReference> afterMappingReferences, SelectionParameters selectionParameters, java.util.Set<Type> helperImports)TypeConversion(java.util.Set<Type> importTypes, java.util.List<Type> exceptionTypes, java.lang.String expression)TypeConversion(java.util.Set<Type> importTypes, java.util.List<Type> exceptionTypes, java.lang.String expression) -
Uses of Type in org.mapstruct.ap.internal.model.assignment
Fields in org.mapstruct.ap.internal.model.assignment declared as Type Modifier and Type Field Description private TypeAdderWrapper. adderTypeprivate TypeStreamAdderWrapper. adderTypeprivate TypeArrayCopyWrapper. arraysTypeprivate TypeEnumConstantWrapper. enumTypeprivate TypeJava8FunctionWrapper. functionTypeprivate TypeWrapperForCollectionsAndMaps. nullCheckLocalVarTypeprivate TypeUpdateWrapper. targetImplementationTypeprivate TypeArrayCopyWrapper. targetTypeprivate TypeExistingInstanceSetterWrapperForCollectionsAndMaps. targetTypeprivate TypeLocalVarWrapper. targetTypeprivate TypeSetterWrapperForCollectionsAndMapsWithNullCheck. targetTypeFields in org.mapstruct.ap.internal.model.assignment with type parameters of type Type Modifier and Type Field Description private java.util.List<Type>AdderWrapper. thrownTypesToExcludeprivate java.util.List<Type>LocalVarWrapper. thrownTypesToExcludeprivate java.util.List<Type>SetterWrapper. thrownTypesToExcludeprivate java.util.List<Type>StreamAdderWrapper. thrownTypesToExcludeprivate java.util.List<Type>UpdateWrapper. thrownTypesToExcludeprivate java.util.List<Type>WrapperForCollectionsAndMaps. thrownTypesToExcludeMethods in org.mapstruct.ap.internal.model.assignment that return Type Modifier and Type Method Description private static TypeUpdateWrapper. determineImplType(Assignment factoryMethod, Type targetType)TypeAdderWrapper. getAdderType()TypeStreamAdderWrapper. getAdderType()TypeWrapperForCollectionsAndMaps. getNullCheckLocalVarType()TypeAssignmentWrapper. getSourceType()Methods in org.mapstruct.ap.internal.model.assignment that return types with arguments of type Type Modifier and Type Method Description java.util.Set<Type>AdderWrapper. getImportTypes()java.util.Set<Type>ArrayCopyWrapper. getImportTypes()java.util.Set<Type>AssignmentWrapper. getImportTypes()java.util.Set<Type>EnumConstantWrapper. getImportTypes()java.util.Set<Type>ExistingInstanceSetterWrapperForCollectionsAndMaps. getImportTypes()java.util.Set<Type>GetterWrapperForCollectionsAndMaps. getImportTypes()java.util.Set<Type>Java8FunctionWrapper. getImportTypes()java.util.Set<Type>LocalVarWrapper. getImportTypes()java.util.Set<Type>SetterWrapperForCollectionsAndMapsWithNullCheck. getImportTypes()java.util.Set<Type>StreamAdderWrapper. getImportTypes()java.util.Set<Type>UpdateWrapper. getImportTypes()java.util.List<Type>AdderWrapper. getThrownTypes()java.util.List<Type>AssignmentWrapper. getThrownTypes()java.util.List<Type>LocalVarWrapper. getThrownTypes()java.util.List<Type>SetterWrapper. getThrownTypes()java.util.List<Type>StreamAdderWrapper. getThrownTypes()java.util.List<Type>UpdateWrapper. getThrownTypes()java.util.List<Type>WrapperForCollectionsAndMaps. getThrownTypes()Methods in org.mapstruct.ap.internal.model.assignment with parameters of type Type Modifier and Type Method Description private static TypeUpdateWrapper. determineImplType(Assignment factoryMethod, Type targetType)Constructors in org.mapstruct.ap.internal.model.assignment with parameters of type Type Constructor Description ArrayCopyWrapper(Assignment rhs, java.lang.String targetPropertyName, Type arraysType, Type targetType, boolean fieldAssignment, boolean setExplicitlyToNull, boolean setExplicitlyToDefault)EnumConstantWrapper(Assignment decoratedAssignment, Type enumType)ExistingInstanceSetterWrapperForCollectionsAndMaps(Assignment decoratedAssignment, java.util.List<Type> thrownTypesToExclude, Type targetType, NullValueCheckStrategyGem nvcs, NullValuePropertyMappingStrategyGem nvpms, TypeFactory typeFactory, boolean fieldAssignment)GetterWrapperForCollectionsAndMaps(Assignment decoratedAssignment, java.util.List<Type> thrownTypesToExclude, Type targetType, boolean fieldAssignment)Java8FunctionWrapper(Assignment decoratedAssignment, Type functionType)LocalVarWrapper(Assignment decoratedAssignment, java.util.List<Type> thrownTypesToExclude, Type targetType, boolean fieldAssignment)NewInstanceSetterWrapperForCollectionsAndMaps(Assignment decoratedAssignment, java.util.List<Type> thrownTypesToExclude, Type targetType, TypeFactory typeFactory, boolean fieldAssignment)SetterWrapperForCollectionsAndMaps(Assignment decoratedAssignment, java.util.List<Type> thrownTypesToExclude, Type targetType, boolean fieldAssignment)SetterWrapperForCollectionsAndMapsWithNullCheck(Assignment decoratedAssignment, java.util.List<Type> thrownTypesToExclude, Type targetType, TypeFactory typeFactory, boolean fieldAssignment)UpdateWrapper(Assignment decoratedAssignment, java.util.List<Type> thrownTypesToExclude, Assignment factoryMethod, boolean fieldAssignment, Type targetType, boolean includeSourceNullCheck, boolean setExplicitlyToNull, boolean setExplicitlyToDefault)WrapperForCollectionsAndMaps(Assignment rhs, java.util.List<Type> thrownTypesToExclude, Type targetType, boolean fieldAssignment)Constructor parameters in org.mapstruct.ap.internal.model.assignment with type arguments of type Type Constructor Description AdderWrapper(Assignment rhs, java.util.List<Type> thrownTypesToExclude, boolean fieldAssignment, java.lang.String adderIteratorName)ExistingInstanceSetterWrapperForCollectionsAndMaps(Assignment decoratedAssignment, java.util.List<Type> thrownTypesToExclude, Type targetType, NullValueCheckStrategyGem nvcs, NullValuePropertyMappingStrategyGem nvpms, TypeFactory typeFactory, boolean fieldAssignment)GetterWrapperForCollectionsAndMaps(Assignment decoratedAssignment, java.util.List<Type> thrownTypesToExclude, Type targetType, boolean fieldAssignment)LocalVarWrapper(Assignment decoratedAssignment, java.util.List<Type> thrownTypesToExclude, Type targetType, boolean fieldAssignment)NewInstanceSetterWrapperForCollectionsAndMaps(Assignment decoratedAssignment, java.util.List<Type> thrownTypesToExclude, Type targetType, TypeFactory typeFactory, boolean fieldAssignment)SetterWrapper(Assignment rhs, java.util.List<Type> thrownTypesToExclude, boolean fieldAssignment)SetterWrapper(Assignment rhs, java.util.List<Type> thrownTypesToExclude, boolean fieldAssignment, boolean includeSourceNullCheck, boolean setExplicitlyToNull, boolean setExplicitlyToDefault)SetterWrapperForCollectionsAndMaps(Assignment decoratedAssignment, java.util.List<Type> thrownTypesToExclude, Type targetType, boolean fieldAssignment)SetterWrapperForCollectionsAndMapsWithNullCheck(Assignment decoratedAssignment, java.util.List<Type> thrownTypesToExclude, Type targetType, TypeFactory typeFactory, boolean fieldAssignment)StreamAdderWrapper(Assignment rhs, java.util.List<Type> thrownTypesToExclude, boolean fieldAssignment, java.lang.String targetPropertyName)UpdateWrapper(Assignment decoratedAssignment, java.util.List<Type> thrownTypesToExclude, Assignment factoryMethod, boolean fieldAssignment, Type targetType, boolean includeSourceNullCheck, boolean setExplicitlyToNull, boolean setExplicitlyToDefault)WrapperForCollectionsAndMaps(Assignment rhs, java.util.List<Type> thrownTypesToExclude, Type targetType, boolean fieldAssignment) -
Uses of Type in org.mapstruct.ap.internal.model.beanmapping
Fields in org.mapstruct.ap.internal.model.beanmapping declared as Type Modifier and Type Field Description private TypeTargetReference.Builder. targetTypeprivate TypePropertyEntry. typeprivate TypeSourceReference.BuilderFromProperty. typeMethods in org.mapstruct.ap.internal.model.beanmapping that return Type Modifier and Type Method Description TypePropertyEntry. getType()Methods in org.mapstruct.ap.internal.model.beanmapping with parameters of type Type Modifier and Type Method Description static MappingReferencesMappingReferences. forSourceMethod(SourceMethod sourceMethod, Type targetType, java.util.Set<java.lang.String> targetProperties, FormattingMessager messager, TypeFactory typeFactory)static PropertyEntryPropertyEntry. forSourceReference(java.lang.String[] name, ReadAccessor readAccessor, PresenceCheckAccessor presenceChecker, Type type)Constructor used to createSourceReferenceproperty entries from a mappingprivate java.util.List<PropertyEntry>SourceReference.BuilderFromMapping. matchWithSourceAccessorTypes(Type type, java.lang.String[] entryNames)TargetReference.BuilderTargetReference.Builder. targetType(Type targetType)SourceReference.BuilderFromPropertySourceReference.BuilderFromProperty. type(Type type)Constructors in org.mapstruct.ap.internal.model.beanmapping with parameters of type Type Constructor Description PropertyEntry(java.lang.String[] fullName, ReadAccessor readAccessor, PresenceCheckAccessor presenceChecker, Type type)Constructor used to createTargetReferenceproperty entries from a mapping -
Uses of Type in org.mapstruct.ap.internal.model.common
Fields in org.mapstruct.ap.internal.model.common declared as Type Modifier and Type Field Description private TypeType. boundingBaseprivate TypeType. boxedEquivalentprivate TypeBuilderType. builderprivate TypeBuilderType. buildingTypeprivate TypeType. componentTypeprivate TypeType.ResolvedPair. matchmatch, e.g.private TypeBuilderType. owningTypeprivate TypeType.ResolvedPair. parameterparameter, e.g.private TypeDefaultConversionContext. sourceTypeprivate TypeSourceRHS. sourceTypeprivate TypeDefaultConversionContext. targetTypeprivate TypeType. topLevelTypeprivate TypeFinalField. typeprivate TypeImplementationType. typeprivate TypeParameter. typeprivate TypeParameterBinding. typeprivate TypeType.TypeVarMatcher. typeToMatchFields in org.mapstruct.ap.internal.model.common with type parameters of type Type Modifier and Type Field Description private java.util.List<Type>Type. boundTypesprivate java.util.List<Type>Type. typeParametersMethods in org.mapstruct.ap.internal.model.common that return Type Modifier and Type Method Description TypeType. asRawType()removes any bounds from this type.TypeTypeFactory. classTypeOf(Type type)Returns the Type that represents the declared Class type of the given type.TypeTypeFactory. createVoidType()creates a void return typeprivate TypeType. determinePreferredType(Accessor readAccessor)private TypeType. determineTargetType(Accessor candidate)TypeTypeFactory. effectiveResultTypeFor(Type type, BuilderGem builder)TypeType. erasure()TypeTypeFactory. getAlwaysImportedType(javax.lang.model.type.TypeMirror mirror)Return a type that is always going to be imported.TypeType. getBoxedEquivalent()Gets the boxed equivalent type if the type is primitive, int will return IntegerTypeBuilderType. getBuilder()The type of the builder itself.TypeBuilderType. getBuildingType()The type that is being built by the builder.TypeType. getComponentType()TypeType. getImplementationType()Returns the implementation type to be instantiated in case this type is an interface iterable, collection or map type.TypeType.ResolvedPair. getMatch()TypeBuilderType. getOwningType()The owning type of the builder, this can be the builder itself, the type that is build by the builder or some other type.TypeType.ResolvedPair. getParameter()TypeTypeFactory. getReturnType(javax.lang.model.type.DeclaredType includingType, Accessor accessor)TypeTypeFactory. getReturnType(javax.lang.model.type.ExecutableType method)TypeAssignment. getSourceType()the source type used in the matching processTypeSourceRHS. getSourceType()TypeSourceRHS. getSourceTypeForMatching()The source type that is to be used when resolving the mapping from source to target.TypeConversionContext. getTargetType()Returns the target type of this conversion.TypeDefaultConversionContext. getTargetType()TypeFieldReference. getType()TypeFinalField. getType()TypeImplementationType. getType()TypeParameter. getType()TypeParameterBinding. getType()TypeTypeFactory. getType(java.lang.Class<?> type)TypeTypeFactory. getType(java.lang.String canonicalName)private TypeTypeFactory. getType(java.lang.String canonicalName, boolean isLiteral)TypeTypeFactory. getType(javax.lang.model.element.TypeElement typeElement)private TypeTypeFactory. getType(javax.lang.model.element.TypeElement typeElement, boolean isLiteral)TypeTypeFactory. getType(javax.lang.model.type.TypeMirror mirror)private TypeTypeFactory. getType(javax.lang.model.type.TypeMirror mirror, boolean isLiteral)private TypeTypeFactory. getType(javax.lang.model.type.TypeMirror mirror, boolean isLiteral, java.lang.Boolean alwaysImport)TypeType. getTypeBound()Establishes the type bound:<? extends Number>, returns Number<? super Number>, returns Number<?>, returns Object<T extends Number>, returns NumberTypeTypeFactory. getTypeForLiteral(java.lang.Class<?> type)TypeTypeFactory. getWrappedType(Type type)private static TypeType. topLevelType(javax.lang.model.element.TypeElement typeElement, TypeFactory typeFactory)TypeType. withoutBounds()Methods in org.mapstruct.ap.internal.model.common that return types with arguments of type Type Modifier and Type Method Description java.util.List<Type>Type. determineTypeArguments(java.lang.Class<?> superclass)Searches for the given superclass and collects all type arguments for the given classprivate java.util.List<Type>TypeFactory. extractTypes(java.util.List<? extends javax.lang.model.type.TypeMirror> typeMirrors)java.util.List<Type>Type. getDirectSuperTypes()Returns the direct supertypes of a type.java.util.Set<Type>Assignment. getImportTypes()returns all types required as import by the assignment statement.abstract java.util.Set<Type>ModelElement. getImportTypes()Returns a set containing thoseTypes referenced by this model element for which an import statement needs to be declared.java.util.Set<Type>Parameter. getImportTypes()java.util.Set<Type>ParameterBinding. getImportTypes()java.util.Set<Type>PresenceCheck. getImportTypes()returns all types required as import by the presence check.java.util.Set<Type>SourceRHS. getImportTypes()java.util.Set<Type>Type. getImportTypes()java.util.List<Type>Assignment. getThrownTypes()returns all types exception types thrown by this assignment.java.util.List<Type>SourceRHS. getThrownTypes()java.util.List<Type>TypeFactory. getThrownTypes(javax.lang.model.type.ExecutableType method)java.util.List<Type>TypeFactory. getThrownTypes(Accessor accessor)java.util.List<Type>Type. getTypeBounds()java.util.List<Type>Type. getTypeParameters()private java.util.List<Type>TypeFactory. getTypeParameters(javax.lang.model.type.TypeMirror mirror, boolean isImplementationType)Methods in org.mapstruct.ap.internal.model.common with parameters of type Type Modifier and Type Method Description BuilderTypeTypeFactory. builderTypeFor(Type type, BuilderGem builder)booleanType. canAccess(Type type, javax.lang.model.element.ExecutableElement method)TypeTypeFactory. classTypeOf(Type type)Returns the Type that represents the declared Class type of the given type.intType. compareTo(Type o)static BuilderTypeBuilderType. create(BuilderInfo builderInfo, Type typeToBuild, TypeFactory typeFactory, TypeUtils typeUtils)ImplementationTypeImplementationType. createNew(Type type)Creates newImplementationTypethat has the sameImplementationType.initialCapacityConstructorandImplementationType.loadFactorAdjustment, but a different underlyingTypeintType. distanceTo(Type assignableOther)Returns the length of the shortest path in the type hierarchy between this type and the specified other type.TypeTypeFactory. effectiveResultTypeFor(Type type, BuilderGem builder)static ParameterParameter. forElementAndType(javax.lang.model.element.VariableElement element, Type parameterType, boolean isVarArgs)static ParameterParameter. forForgedMappingTarget(Type parameterType)static ParameterBindingParameterBinding. forMappingTargetBinding(Type resultType)static ParameterBindingParameterBinding. forSourceTypeBinding(Type sourceType)static ParameterBindingParameterBinding. forTargetTypeBinding(Type classTypeOf)static DateFormatValidatorDateFormatValidatorFactory. forTypes(Type sourceType, Type targetType)Create a newDateFormatValidatorbased on source/target type of a type conversion.static ParameterBindingParameterBinding. fromTypeAndName(Type parameterType, java.lang.String parameterName)private java.util.List<Accessor>Type. getAccessorCandidates(Type property, java.lang.Class<?> superclass)Returns all accessor candidates that start with "add" and have exactly one argument whose type matches the collection or stream property's type argument.private AccessorType. getAdderForType(Type collectionProperty, java.lang.String pluralPropertyName)Tries to find an addMethod in this type for given collection property in this type.TypeTypeFactory. getWrappedType(Type type)booleanType. isAssignableTo(Type other)Whether this type is assignable to the given other type, considering the "extends / upper bounds" as well.private static booleanDateFormatValidatorFactory. isJava8DateTimeSupposed(Type sourceType, Type targetType)private static booleanDateFormatValidatorFactory. isJavaUtilDateSupposed(Type sourceType, Type targetType)private static booleanDateFormatValidatorFactory. isJodaDateTimeSupposed(Type sourceType, Type targetType)booleanType. isRawAssignableTo(Type other)Whether this type is raw assignable to the given other type.private static booleanDateFormatValidatorFactory. isXmlGregorianCalendarSupposedToBeMapped(Type sourceType, Type targetType)Type.ResolvedPairType. resolveParameterToType(Type declared, Type parameterized)Steps through the declaredType in order to find a match for this typeVar Type.private static booleanDateFormatValidatorFactory. typesEqualsOneOf(Type sourceType, Type targetType, java.lang.String... typeNames)Type.ResolvedPairType.TypeVarMatcher. visitArray(javax.lang.model.type.ArrayType parameterized, Type declared)Type.ResolvedPairType.TypeVarMatcher. visitDeclared(javax.lang.model.type.DeclaredType parameterized, Type declared)Type.ResolvedPairType.TypeVarMatcher. visitTypeVariable(javax.lang.model.type.TypeVariable parameterized, Type declared)Type.ResolvedPairType.TypeVarMatcher. visitWildcard(javax.lang.model.type.WildcardType parameterized, Type declared)If ? extends SomeTime equals the boundary set in typeVarToMatch (NOTE: you can't compare the wildcard itself) then return a result;static ImplementationTypeImplementationType. withDefaultConstructor(Type type)static ImplementationTypeImplementationType. withInitialCapacity(Type type)static ImplementationTypeImplementationType. withLoadFactorAdjustment(Type type)Constructors in org.mapstruct.ap.internal.model.common with parameters of type Type Constructor Description BuilderType(Type builder, Type owningType, Type buildingType, javax.lang.model.element.ExecutableElement builderCreationMethod, java.util.Collection<javax.lang.model.element.ExecutableElement> buildMethods)DefaultConversionContext(TypeFactory typeFactory, FormattingMessager messager, Type sourceType, Type targetType, FormattingParameters formattingParameters)FinalField(Type type, java.lang.String variableName)ImplementationType(Type type, boolean initialCapacityConstructor, boolean loadFactorAdjustment)Parameter(java.lang.String name, Type type)Parameter(java.lang.String name, Type type, boolean mappingTarget, boolean targetType, boolean mappingContext, boolean varArgs)Parameter(javax.lang.model.element.Element element, Type type, boolean varArgs)ParameterBinding(Type parameterType, java.lang.String variableName, boolean mappingTarget, boolean targetType, boolean mappingContext, SourceRHS sourceRHS)ResolvedPair(Type parameter, Type match)SourceRHS(java.lang.String sourceParameterName, java.lang.String sourceReference, PresenceCheck sourcePresenceCheckerReference, Type sourceType, java.util.Set<java.lang.String> existingVariableNames, java.lang.String sourceErrorMessagePart)SourceRHS(java.lang.String sourceReference, Type sourceType, java.util.Set<java.lang.String> existingVariableNames, java.lang.String sourceErrorMessagePart)Type(TypeUtils typeUtils, ElementUtils elementUtils, TypeFactory typeFactory, AccessorNamingUtils accessorNaming, javax.lang.model.type.TypeMirror typeMirror, javax.lang.model.element.TypeElement typeElement, java.util.List<Type> typeParameters, ImplementationType implementationType, Type componentType, java.lang.String packageName, java.lang.String name, java.lang.String qualifiedName, boolean isInterface, boolean isEnumType, boolean isIterableType, boolean isCollectionType, boolean isMapType, boolean isStreamType, java.util.Map<java.lang.String,java.lang.String> toBeImportedTypes, java.util.Map<java.lang.String,java.lang.String> notToBeImportedTypes, java.lang.Boolean isToBeImported, boolean isLiteral, boolean loggingVerbose)TypeVarMatcher(TypeFactory typeFactory, TypeUtils types, Type typeToMatch)Constructor parameters in org.mapstruct.ap.internal.model.common with type arguments of type Type Constructor Description Type(TypeUtils typeUtils, ElementUtils elementUtils, TypeFactory typeFactory, AccessorNamingUtils accessorNaming, javax.lang.model.type.TypeMirror typeMirror, javax.lang.model.element.TypeElement typeElement, java.util.List<Type> typeParameters, ImplementationType implementationType, Type componentType, java.lang.String packageName, java.lang.String name, java.lang.String qualifiedName, boolean isInterface, boolean isEnumType, boolean isIterableType, boolean isCollectionType, boolean isMapType, boolean isStreamType, java.util.Map<java.lang.String,java.lang.String> toBeImportedTypes, java.util.Map<java.lang.String,java.lang.String> notToBeImportedTypes, java.lang.Boolean isToBeImported, boolean isLiteral, boolean loggingVerbose) -
Uses of Type in org.mapstruct.ap.internal.model.presence
Methods in org.mapstruct.ap.internal.model.presence that return types with arguments of type Type Modifier and Type Method Description java.util.Set<Type>AllPresenceChecksPresenceCheck. getImportTypes()java.util.Set<Type>JavaExpressionPresenceCheck. getImportTypes()java.util.Set<Type>NullPresenceCheck. getImportTypes()java.util.Set<Type>SuffixPresenceCheck. getImportTypes() -
Uses of Type in org.mapstruct.ap.internal.model.source
Fields in org.mapstruct.ap.internal.model.source declared as Type Modifier and Type Field Description (package private) TypeMethodMatcher.GenericAnalyser. candidateReturnTypeprivate TypeSourceMethod.Builder. declaringMapperprivate TypeSourceMethod. declaringMapperprivate TypeSourceMethod.Builder. definingTypeprivate TypeSourceMethod. mapperToImplementprivate TypeMethodMatcher.TypeVarCandidate. matchprivate TypeSourceMethod.Builder. returnTypeprivate TypeSourceMethod. returnTypeprivate TypeMethodMatcher.GenericAnalyser. targetTypeFields in org.mapstruct.ap.internal.model.source with type parameters of type Type Modifier and Type Field Description (package private) java.util.List<Type>MethodMatcher.GenericAnalyser. candidateParTypesprivate java.util.List<Type>SourceMethod.Builder. exceptionTypesprivate java.util.List<Type>SourceMethod. exceptionTypesprivate java.util.List<Type>MethodMatcher.GenericAnalyser. sourceTypesprivate java.util.List<Type>SourceMethod.Builder. typeParametersprivate java.util.List<Type>SourceMethod. typeParametersMethods in org.mapstruct.ap.internal.model.source that return Type Modifier and Type Method Description TypeMethod. getDeclaringMapper()Returns the mapper type declaring this method if it is not declared by the mapper interface currently processed but by another mapper imported viaMapper#users().TypeSourceMethod. getDeclaringMapper()TypeMethod. getDefiningType()TypeSourceMethod. getDefiningType()default TypeMethod. getMappingSourceType()TypeMethod. getResultType()Returns the type of the result.TypeSourceMethod. getResultType()TypeMethod. getReturnType()Returns the return type of the methodTypeSourceMethod. getReturnType()private TypeMethodMatcher.GenericAnalyser. resolve(Type typeFromCandidateMethod, java.util.Map<Type,Type> pairs)Methods in org.mapstruct.ap.internal.model.source that return types with arguments of type Type Modifier and Type Method Description java.util.List<Type>Method. getThrownTypes()Returns all exceptions thrown by this methodjava.util.List<Type>SourceMethod. getThrownTypes()java.util.List<Type>Method. getTypeParameters()Returns the formal type parameters of this method in declaration order.java.util.List<Type>SourceMethod. getTypeParameters()Methods in org.mapstruct.ap.internal.model.source with parameters of type Type Modifier and Type Method Description static voidSubclassMappingOptions. addInstance(SubclassMappingGem subclassMapping, javax.lang.model.element.ExecutableElement method, BeanMappingOptions beanMappingOptions, FormattingMessager messager, TypeUtils typeUtils, java.util.Set<SubclassMappingOptions> mappings, java.util.List<Parameter> sourceParameters, Type resultType, SubclassValidator subclassValidator)static voidSubclassMappingOptions. addInstances(SubclassMappingsGem gem, javax.lang.model.element.ExecutableElement method, BeanMappingOptions beanMappingOptions, FormattingMessager messager, TypeUtils typeUtils, java.util.Set<SubclassMappingOptions> mappings, java.util.List<Parameter> sourceParameters, Type resultType, SubclassValidator subclassValidator)(package private) booleanMethodMatcher.GenericAnalyser. areEquivalent(Type a, Type b)(package private) booleanMethodMatcher.GenericAnalyser. getCandidates(Type aCandidateMethodType, Type matchingType, java.util.Map<Type,MethodMatcher.TypeVarCandidate> candidates)private booleanMethodMatcher.GenericAnalyser. hasGenericTypeParameters(Type typeFromCandidateMethod)private static booleanSubclassMappingOptions. isConsistent(SubclassMappingGem gem, javax.lang.model.element.ExecutableElement method, FormattingMessager messager, TypeUtils typeUtils, java.util.List<Parameter> sourceParameters, Type resultType, SubclassValidator subclassValidator)private booleanMethodMatcher. isPrimitiveToObject(Type type, Type isAssignableTo)Primitive to Object (Boxed Type) should be handled by a type conversion rather than a direct mapping Direct mapping runs the risk of null pointer exceptions: e.g.booleanMethod. matches(java.util.List<Type> sourceTypes, Type targetType)Checks whether the provided sourceType and provided targetType match with the parameter respectively return type of the method.(package private) booleanMethodMatcher. matches(java.util.List<Type> sourceTypes, Type targetType)Whether the given source and target types are matched by this matcher's candidate method.booleanSourceMethod. matches(java.util.List<Type> sourceTypes, Type targetType)private TypeMethodMatcher.GenericAnalyser. resolve(Type typeFromCandidateMethod, java.util.Map<Type,Type> pairs)SourceMethod.BuilderSourceMethod.Builder. setDeclaringMapper(Type declaringMapper)SourceMethod.BuilderSourceMethod.Builder. setDefininingType(Type definingType)SourceMethod.BuilderSourceMethod.Builder. setReturnType(Type returnType)Method parameters in org.mapstruct.ap.internal.model.source with type arguments of type Type Modifier and Type Method Description private booleanMethodMatcher.GenericAnalyser. candidatesWithinBounds(java.util.Map<Type,MethodMatcher.TypeVarCandidate> methodParCandidates)Checks whether all found candidates are within the bounds of the method type var.(package private) booleanMethodMatcher.GenericAnalyser. getCandidates(java.util.Map<Type,MethodMatcher.TypeVarCandidate> methodParCandidates)<T, U extends Number> T map( U in )Resolves all method generic parameter candidates(package private) booleanMethodMatcher.GenericAnalyser. getCandidates(Type aCandidateMethodType, Type matchingType, java.util.Map<Type,MethodMatcher.TypeVarCandidate> candidates)booleanMethod. matches(java.util.List<Type> sourceTypes, Type targetType)Checks whether the provided sourceType and provided targetType match with the parameter respectively return type of the method.(package private) booleanMethodMatcher. matches(java.util.List<Type> sourceTypes, Type targetType)Whether the given source and target types are matched by this matcher's candidate method.booleanSourceMethod. matches(java.util.List<Type> sourceTypes, Type targetType)private TypeMethodMatcher.GenericAnalyser. resolve(Type typeFromCandidateMethod, java.util.Map<Type,Type> pairs)private TypeMethodMatcher.GenericAnalyser. resolve(Type typeFromCandidateMethod, java.util.Map<Type,Type> pairs)SourceMethod.BuilderSourceMethod.Builder. setExceptionTypes(java.util.List<Type> exceptionTypes)Constructors in org.mapstruct.ap.internal.model.source with parameters of type Type Constructor Description GenericAnalyser(TypeFactory typeFactory, TypeUtils typeUtils, Method candidateMethod, java.util.List<Type> sourceTypes, Type targetType)Constructor parameters in org.mapstruct.ap.internal.model.source with type arguments of type Type Constructor Description GenericAnalyser(TypeFactory typeFactory, TypeUtils typeUtils, Method candidateMethod, java.util.List<Type> sourceTypes, Type targetType) -
Uses of Type in org.mapstruct.ap.internal.model.source.builtin
Fields in org.mapstruct.ap.internal.model.source.builtin declared as Type Modifier and Type Field Description private TypeAbstractToXmlGregorianCalendar. dataTypeFactoryTypeprivate TypeAbstractToXmlGregorianCalendar. returnTypeprivate TypeCalendarToZonedDateTime. returnTypeprivate TypeJaxbElemToValue. returnTypeprivate TypeXmlGregorianCalendarToCalendar. returnTypeprivate TypeXmlGregorianCalendarToDate. returnTypeprivate TypeXmlGregorianCalendarToJodaDateTime. returnTypeprivate TypeXmlGregorianCalendarToJodaLocalDate. returnTypeprivate TypeXmlGregorianCalendarToJodaLocalDateTime. returnTypeprivate TypeXmlGregorianCalendarToJodaLocalTime. returnTypeprivate TypeXmlGregorianCalendarToLocalDate. returnTypeprivate TypeXmlGregorianCalendarToLocalDateTime. returnTypeprivate TypeXmlGregorianCalendarToString. returnTypeprivate TypeZonedDateTimeToCalendar. returnTypeFields in org.mapstruct.ap.internal.model.source.builtin with type parameters of type Type Modifier and Type Field Description private java.util.Set<Type>CalendarToZonedDateTime. importedTypesprivate java.util.Set<Type>ZonedDateTimeToCalendar. importedTypesprivate java.util.Set<Type>AbstractToXmlGregorianCalendar. importTypesprivate java.util.Set<Type>CalendarToXmlGregorianCalendar. importTypesprivate java.util.Set<Type>DateToXmlGregorianCalendar. importTypesprivate java.util.Set<Type>JaxbElemToValue. importTypesprivate java.util.Set<Type>JodaLocalDateTimeToXmlGregorianCalendar. importTypesprivate java.util.Set<Type>JodaLocalDateToXmlGregorianCalendar. importTypesprivate java.util.Set<Type>JodaLocalTimeToXmlGregorianCalendar. importTypesprivate java.util.Set<Type>LocalDateTimeToXmlGregorianCalendar. importTypesprivate java.util.Set<Type>LocalDateToXmlGregorianCalendar. importTypesprivate java.util.Set<Type>StringToXmlGregorianCalendar. importTypesprivate java.util.Set<Type>XmlGregorianCalendarToCalendar. importTypesprivate java.util.Set<Type>XmlGregorianCalendarToDate. importTypesprivate java.util.Set<Type>XmlGregorianCalendarToJodaDateTime. importTypesprivate java.util.Set<Type>XmlGregorianCalendarToJodaLocalDate. importTypesprivate java.util.Set<Type>XmlGregorianCalendarToJodaLocalDateTime. importTypesprivate java.util.Set<Type>XmlGregorianCalendarToJodaLocalTime. importTypesprivate java.util.Set<Type>XmlGregorianCalendarToLocalDate. importTypesprivate java.util.Set<Type>XmlGregorianCalendarToLocalDateTime. importTypesprivate java.util.Set<Type>XmlGregorianCalendarToString. importTypesprivate java.util.Set<Type>ZonedDateTimeToXmlGregorianCalendar. importTypesMethods in org.mapstruct.ap.internal.model.source.builtin that return Type Modifier and Type Method Description TypeBuiltInMethod. getDeclaringMapper()Returns the mapper type declaring this method if it is not declared by the mapper interface currently processed but by another mapper imported viaMapper#users().TypeBuiltInMethod. getDefiningType()TypeBuiltInMethod. getResultType()TypeAbstractToXmlGregorianCalendar. getReturnType()TypeCalendarToZonedDateTime. getReturnType()TypeJaxbElemToValue. getReturnType()TypeXmlGregorianCalendarToCalendar. getReturnType()TypeXmlGregorianCalendarToDate. getReturnType()TypeXmlGregorianCalendarToJodaDateTime. getReturnType()TypeXmlGregorianCalendarToJodaLocalDate. getReturnType()TypeXmlGregorianCalendarToJodaLocalDateTime. getReturnType()TypeXmlGregorianCalendarToJodaLocalTime. getReturnType()TypeXmlGregorianCalendarToLocalDate. getReturnType()TypeXmlGregorianCalendarToLocalDateTime. getReturnType()TypeXmlGregorianCalendarToString. getReturnType()TypeZonedDateTimeToCalendar. getReturnType()Methods in org.mapstruct.ap.internal.model.source.builtin that return types with arguments of type Type Modifier and Type Method Description java.util.Set<Type>AbstractToXmlGregorianCalendar. getImportTypes()java.util.Set<Type>BuiltInMethod. getImportTypes()Returns the types used by this method for which import statements need to be generated.java.util.Set<Type>CalendarToXmlGregorianCalendar. getImportTypes()java.util.Set<Type>CalendarToZonedDateTime. getImportTypes()java.util.Set<Type>DateToXmlGregorianCalendar. getImportTypes()java.util.Set<Type>JaxbElemToValue. getImportTypes()java.util.Set<Type>JodaDateTimeToXmlGregorianCalendar. getImportTypes()java.util.Set<Type>JodaLocalDateTimeToXmlGregorianCalendar. getImportTypes()java.util.Set<Type>JodaLocalDateToXmlGregorianCalendar. getImportTypes()java.util.Set<Type>JodaLocalTimeToXmlGregorianCalendar. getImportTypes()java.util.Set<Type>LocalDateTimeToXmlGregorianCalendar. getImportTypes()java.util.Set<Type>LocalDateToXmlGregorianCalendar. getImportTypes()java.util.Set<Type>StringToXmlGregorianCalendar. getImportTypes()java.util.Set<Type>XmlGregorianCalendarToCalendar. getImportTypes()java.util.Set<Type>XmlGregorianCalendarToDate. getImportTypes()java.util.Set<Type>XmlGregorianCalendarToJodaDateTime. getImportTypes()java.util.Set<Type>XmlGregorianCalendarToJodaLocalDate. getImportTypes()java.util.Set<Type>XmlGregorianCalendarToJodaLocalDateTime. getImportTypes()java.util.Set<Type>XmlGregorianCalendarToJodaLocalTime. getImportTypes()java.util.Set<Type>XmlGregorianCalendarToLocalDate. getImportTypes()java.util.Set<Type>XmlGregorianCalendarToLocalDateTime. getImportTypes()java.util.Set<Type>XmlGregorianCalendarToString. getImportTypes()java.util.Set<Type>ZonedDateTimeToCalendar. getImportTypes()java.util.Set<Type>ZonedDateTimeToXmlGregorianCalendar. getImportTypes()java.util.List<Type>BuiltInMethod. getThrownTypes()java.util.List<Type>BuiltInMethod. getTypeParameters()Methods in org.mapstruct.ap.internal.model.source.builtin with parameters of type Type Modifier and Type Method Description booleanBuiltInMethod. doTypeVarsMatch(Type parameter, Type returnType)Analyzes the Java Generic type variables in the parameter do match the type variables in the build in method same goes for the returnType.booleanJaxbElemToValue. doTypeVarsMatch(Type sourceType, Type targetType)booleanBuiltInMethod. matches(java.util.List<Type> sourceTypes, Type targetType)Checks whether the provided sourceType and provided targetType match with the parameter respectively return type of the method.Method parameters in org.mapstruct.ap.internal.model.source.builtin with type arguments of type Type Modifier and Type Method Description booleanBuiltInMethod. matches(java.util.List<Type> sourceTypes, Type targetType)Checks whether the provided sourceType and provided targetType match with the parameter respectively return type of the method.Constructors in org.mapstruct.ap.internal.model.source.builtin with parameters of type Type Constructor Description JaxbElemToValue(Type type) -
Uses of Type in org.mapstruct.ap.internal.model.source.selector
Methods in org.mapstruct.ap.internal.model.source.selector that return types with arguments of type Type Modifier and Type Method Description private static java.util.List<Type>TypeSelector. extractTypes(java.util.List<ParameterBinding> parameters)Methods in org.mapstruct.ap.internal.model.source.selector with parameters of type Type Modifier and Type Method Description private voidTypeSelector. addMappingTargetAndTargetTypeBindings(java.util.List<ParameterBinding> availableParams, Type targetType)Adds default parameter bindings for the mapping-target and target-type if not already available.private XmlElementDeclSelector.XmlElementRefInfoXmlElementDeclSelector. findXmlElementRef(Type resultType, java.lang.String targetPropertyName)Iterate through resultType and its super types to find a field named targetPropertyName and return information about: what the value of the name property of the XmlElementRef annotation on that field was on which type the field was foundprivate java.util.List<ParameterBinding>TypeSelector. getAvailableParameterBindingsFromMethod(Method method, Type targetType, SourceRHS sourceRHS)private java.util.List<ParameterBinding>TypeSelector. getAvailableParameterBindingsFromSourceTypes(java.util.List<Type> sourceTypes, Type targetType, Method mappingMethod)<T extends Method>
java.util.List<SelectedMethod<T>>CreateOrUpdateSelector. getMatchingMethods(Method mappingMethod, java.util.List<SelectedMethod<T>> methods, java.util.List<Type> sourceTypes, Type mappingTargetType, Type returnType, SelectionCriteria criteria)<T extends Method>
java.util.List<SelectedMethod<T>>FactoryParameterSelector. getMatchingMethods(Method mappingMethod, java.util.List<SelectedMethod<T>> methods, java.util.List<Type> sourceTypes, Type mappingTargetType, Type returnType, SelectionCriteria criteria)<T extends Method>
java.util.List<SelectedMethod<T>>InheritanceSelector. getMatchingMethods(Method mappingMethod, java.util.List<SelectedMethod<T>> methods, java.util.List<Type> sourceTypes, Type mappingTargetType, Type returnType, SelectionCriteria criteria)<T extends Method>
java.util.List<SelectedMethod<T>>MethodFamilySelector. getMatchingMethods(Method mappingMethod, java.util.List<SelectedMethod<T>> methods, java.util.List<Type> sourceTypes, Type mappingTargetType, Type returnType, SelectionCriteria criteria)<T extends Method>
java.util.List<SelectedMethod<T>>MethodSelector. getMatchingMethods(Method mappingMethod, java.util.List<SelectedMethod<T>> candidates, java.util.List<Type> sourceTypes, Type mappingTargetType, Type returnType, SelectionCriteria criteria)Selects those methods which match the given types and other criteria<T extends Method>
java.util.List<SelectedMethod<T>>MethodSelectors. getMatchingMethods(Method mappingMethod, java.util.List<T> methods, java.util.List<Type> sourceTypes, Type mappingTargetType, Type returnType, SelectionCriteria criteria)Selects those methods which match the given types and other criteria<T extends Method>
java.util.List<SelectedMethod<T>>QualifierSelector. getMatchingMethods(Method mappingMethod, java.util.List<SelectedMethod<T>> methods, java.util.List<Type> sourceTypes, Type mappingTargetType, Type returnType, SelectionCriteria criteria)<T extends Method>
java.util.List<SelectedMethod<T>>SourceRhsSelector. getMatchingMethods(Method mappingMethod, java.util.List<SelectedMethod<T>> candidates, java.util.List<Type> sourceTypes, Type mappingTargetType, Type returnType, SelectionCriteria criteria)<T extends Method>
java.util.List<SelectedMethod<T>>TargetTypeSelector. getMatchingMethods(Method mappingMethod, java.util.List<SelectedMethod<T>> methods, java.util.List<Type> sourceTypes, Type mappingTargetType, Type returnType, SelectionCriteria criteria)<T extends Method>
java.util.List<SelectedMethod<T>>TypeSelector. getMatchingMethods(Method mappingMethod, java.util.List<SelectedMethod<T>> methods, java.util.List<Type> sourceTypes, Type mappingTargetType, Type returnType, SelectionCriteria criteria)<T extends Method>
java.util.List<SelectedMethod<T>>XmlElementDeclSelector. getMatchingMethods(Method mappingMethod, java.util.List<SelectedMethod<T>> methods, java.util.List<Type> sourceTypes, Type mappingTargetType, Type returnType, SelectionCriteria criteria)private <T extends Method>
SelectedMethod<T>TypeSelector. getMatchingParameterBinding(Type returnType, Method mappingMethod, SelectedMethod<T> selectedMethodInfo, java.util.List<java.util.List<ParameterBinding>> parameterAssignmentVariants)Method parameters in org.mapstruct.ap.internal.model.source.selector with type arguments of type Type Modifier and Type Method Description private java.util.List<ParameterBinding>TypeSelector. getAvailableParameterBindingsFromSourceTypes(java.util.List<Type> sourceTypes, Type targetType, Method mappingMethod) -
Uses of Type in org.mapstruct.ap.internal.processor
Fields in org.mapstruct.ap.internal.processor declared as Type Modifier and Type Field Description private TypeMethodRetrievalProcessor.RepeatableSubclassMappings. resultTypeMethods in org.mapstruct.ap.internal.processor that return Type Modifier and Type Method Description private TypeCdiComponentProcessor. getType(java.lang.String simpleName)private TypeJsr330ComponentProcessor. getType(java.lang.String simpleName)private TypeMapperCreationProcessor. getUserDesiredReturnType(SourceMethod method)private TypeMethodRetrievalProcessor. selectResultType(Type returnType, Parameter targetParameter)Methods in org.mapstruct.ap.internal.processor that return types with arguments of type Type Modifier and Type Method Description private java.util.SortedSet<Type>MapperCreationProcessor. getExtraImports(javax.lang.model.element.TypeElement element, MapperOptions mapperOptions)Methods in org.mapstruct.ap.internal.processor with parameters of type Type Modifier and Type Method Description private booleanMethodRetrievalProcessor. checkParameterAndReturnType(javax.lang.model.element.ExecutableElement method, java.util.List<Parameter> sourceParameters, Parameter targetParameter, java.util.List<Parameter> contextParameters, Type resultType, Type returnType, boolean containsTargetTypeParameter)private ServicesEntryMapperServiceProcessor. getServicesEntry(Type mapperType, GeneratedType model)private java.util.Set<SubclassMappingOptions>MethodRetrievalProcessor. getSubclassMappings(java.util.List<Parameter> sourceParameters, Type resultType, javax.lang.model.element.ExecutableElement method, BeanMappingOptions beanMapping, SubclassValidator validator)Retrieves the subclass mappings configured via@SubclassMappingfrom the given method.private booleanMethodRetrievalProcessor. isBoolean(Type returnType)private booleanMethodRetrievalProcessor. isStreamTypeOrIterableFromJavaStdLib(Type type)private booleanMethodRetrievalProcessor. isValidFactoryMethod(javax.lang.model.element.ExecutableElement method, java.util.List<Parameter> parameters, Type returnType)private booleanMethodRetrievalProcessor. isValidPresenceCheckMethod(javax.lang.model.element.ExecutableElement method, Type returnType)private booleanMethodRetrievalProcessor. isVoid(Type returnType)private TypeMethodRetrievalProcessor. selectResultType(Type returnType, Parameter targetParameter)Constructors in org.mapstruct.ap.internal.processor with parameters of type Type Constructor Description RepeatableSubclassMappings(java.util.List<Parameter> sourceParameters, Type resultType, SubclassValidator validator) -
Uses of Type in org.mapstruct.ap.internal.processor.creation
Fields in org.mapstruct.ap.internal.processor.creation declared as Type Modifier and Type Field Description private TypeMappingResolverImpl.ConversionAssignment. sourceTypeprivate TypeMappingResolverImpl.ConversionAssignment. targetTypeMethods in org.mapstruct.ap.internal.processor.creation with parameters of type Type Modifier and Type Method Description private booleanMappingResolverImpl.ResolvingAttempt. allowDirect(Type type)private booleanMappingResolverImpl.ResolvingAttempt. allowDirect(Type sourceType, Type targetType)private MappingResolverImpl.ConversionMethod<T>MappingResolverImpl.ConversionMethod. getBestMatch(Type sourceType, Type targetType)(package private) static AssignmentMappingResolverImpl.ConversionMethod. getBestMatch(MappingResolverImpl.ResolvingAttempt att, Type sourceType, Type targetType)private MappingResolverImpl.MethodConversion<T>MappingResolverImpl.MethodConversion. getBestMatch(Type sourceType, Type targetType)(package private) static AssignmentMappingResolverImpl.MethodConversion. getBestMatch(MappingResolverImpl.ResolvingAttempt att, Type sourceType, Type targetType)private MappingResolverImpl.MethodMethod<T1,T2>MappingResolverImpl.MethodMethod. getBestMatch(Type sourceType, Type targetType)private MappingResolverImpl.MethodMethod<T1,T2>MappingResolverImpl.MethodMethod. getBestMatch(Type sourceType, Type targetType, MappingResolverImpl.BestMatchType matchType)(package private) static AssignmentMappingResolverImpl.MethodMethod. getBestMatch(MappingResolverImpl.ResolvingAttempt att, Type sourceType, Type targetType)private <T extends Method>
java.util.List<SelectedMethod<T>>MappingResolverImpl.ResolvingAttempt. getBestMatch(java.util.List<T> methods, Type source, Type target)private MappingResolverImpl.MethodMethod<T1,T2>MappingResolverImpl.MethodMethod. getBestMatchIgnoringQualifiersAfterY(Type sourceType, Type targetType)private MappingResolverImpl.MethodMethod<T1,T2>MappingResolverImpl.MethodMethod. getBestMatchIgnoringQualifiersBeforeY(Type sourceType, Type targetType)AssignmentMappingResolverImpl. getTargetAssignment(Method mappingMethod, ForgedMethodHistory description, Type targetType, FormattingParameters formattingParameters, SelectionCriteria criteria, SourceRHS sourceRHS, javax.lang.model.element.AnnotationMirror positionHint, java.util.function.Supplier<Assignment> forger)private AssignmentMappingResolverImpl.ResolvingAttempt. getTargetAssignment(Type sourceType, Type targetType)private booleanMappingResolverImpl.ResolvingAttempt. hasCompatibleCopyConstructor(Type sourceType, Type targetType)Whether the given target type has a single-argument constructor which accepts the given source type.private booleanMappingResolverImpl.ResolvingAttempt. isAssignableThroughCollectionCopyConstructor(Type sourceType, Type targetType)Whether the given source and target type are both a collection type or both a map type and the source value can be propagated via a copy constructor.(package private) voidMappingResolverImpl.ConversionMethod. reportAmbiguousError(java.util.Map<MappingResolverImpl.ConversionAssignment,java.util.List<SelectedMethod<T>>> xRefCandidates, Type target)(package private) voidMappingResolverImpl.MethodConversion. reportAmbiguousError(java.util.Map<MappingResolverImpl.ConversionAssignment,java.util.List<SelectedMethod<T>>> yRefCandidates, Type target)(package private) voidMappingResolverImpl.MethodMethod. reportAmbiguousError(java.util.Map<SelectedMethod<T1>,java.util.List<SelectedMethod<T2>>> xCandidates, Type target)private <T extends Method>
voidMappingResolverImpl.ResolvingAttempt. reportErrorWhenAmbiguous(java.util.List<SelectedMethod<T>> candidates, Type target)private MappingResolverImpl.ConversionAssignmentMappingResolverImpl.ResolvingAttempt. resolveViaConversion(Type sourceType, Type targetType)Constructors in org.mapstruct.ap.internal.processor.creation with parameters of type Type Constructor Description ConversionAssignment(Type sourceType, Type targetType, Assignment assignment)
-