Uses of Class
org.mapstruct.ap.internal.model.common.TypeFactory
Packages that use TypeFactory
Package
Description
Provides built-in conversions between primitive and wrapper types, strings, dates etc.
Meta-model of mapper types, their methods, mappings between properties etc.
Meta-model of assignments.
helper classes used in
BeanMappingMethod
Contains types which are shared between the intermediary mapping method model ("source model") and the mapper model.
Intermediary representation of mapping methods as retrieved from via the annotation processing API.
Contains "built-in methods" which may be added as private methods to a generated mapper.
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.
Contains model processors which perform tasks such as retrieving mapping methods, creating a model representation
and writing the model into Java source files.
Contains all helper classes for the
MapperCreationProcessor-
Uses of TypeFactory in org.mapstruct.ap.internal.conversion
Constructors in org.mapstruct.ap.internal.conversion with parameters of type TypeFactoryModifierConstructorDescriptionConversions(TypeFactory typeFactory) CreateDecimalFormat(TypeFactory typeFactory, boolean withLocale) GetDateTimeFormatterField(TypeFactory typeFactory, String dateFormat) -
Uses of TypeFactory in org.mapstruct.ap.internal.model
Fields in org.mapstruct.ap.internal.model declared as TypeFactoryModifier and TypeFieldDescriptionprotected TypeFactoryGeneratedType.GeneratedTypeBuilder.typeFactoryMethods in org.mapstruct.ap.internal.model that return TypeFactoryMethods in org.mapstruct.ap.internal.model with parameters of type TypeFactoryModifier and TypeMethodDescriptionstatic DefaultMapperReferenceDefaultMapperReference.getInstance(Type type, boolean isAnnotatedMapper, boolean isSingleton, TypeFactory typeFactory, List<String> otherMapperReferences) GeneratedType.GeneratedTypeBuilder.typeFactory(TypeFactory typeFactory) Constructors in org.mapstruct.ap.internal.model with parameters of type TypeFactoryModifierConstructorDescriptionAdditionalAnnotationsBuilder(ElementUtils elementUtils, TypeFactory typeFactory, FormattingMessager messager) protectedGeneratedType(TypeFactory typeFactory, String packageName, String name, Type mapperDefinitionType, List<MappingMethod> methods, List<Field> fields, Options options, VersionInformation versionInformation, boolean suppressGeneratorTimestamp, Accessibility accessibility, SortedSet<Type> extraImportedTypes, Constructor constructor) MappingBuilderContext(TypeFactory typeFactory, ElementUtils elementUtils, TypeUtils typeUtils, FormattingMessager messager, VersionInformation versionInformation, AccessorNamingUtils accessorNaming, EnumMappingStrategy enumMappingStrategy, Map<String, EnumTransformationStrategy> enumTransformationStrategies, Options options, MappingBuilderContext.MappingResolver mappingResolver, TypeElement mapper, List<SourceMethod> sourceModel, List<MapperReference> mapperReferences) -
Uses of TypeFactory in org.mapstruct.ap.internal.model.assignment
Constructors in org.mapstruct.ap.internal.model.assignment with parameters of type TypeFactoryModifierConstructorDescriptionExistingInstanceSetterWrapperForCollectionsAndMaps(Assignment decoratedAssignment, List<Type> thrownTypesToExclude, Type targetType, org.mapstruct.ap.internal.gem.NullValueCheckStrategyGem nvcs, org.mapstruct.ap.internal.gem.NullValuePropertyMappingStrategyGem nvpms, TypeFactory typeFactory, boolean fieldAssignment) NewInstanceSetterWrapperForCollectionsAndMaps(Assignment decoratedAssignment, List<Type> thrownTypesToExclude, Type targetType, TypeFactory typeFactory, boolean fieldAssignment) SetterWrapperForCollectionsAndMapsWithNullCheck(Assignment decoratedAssignment, List<Type> thrownTypesToExclude, Type targetType, TypeFactory typeFactory, boolean fieldAssignment) -
Uses of TypeFactory in org.mapstruct.ap.internal.model.beanmapping
Methods in org.mapstruct.ap.internal.model.beanmapping with parameters of type TypeFactoryModifier and TypeMethodDescriptionstatic MappingReferencesMappingReferences.forSourceMethod(SourceMethod sourceMethod, Type targetType, Set<String> targetProperties, FormattingMessager messager, TypeFactory typeFactory) SourceReference.push(TypeFactory typeFactory, FormattingMessager messager, Method method) SourceReference.BuilderFromMapping.typeFactory(TypeFactory typeFactory) TargetReference.Builder.typeFactory(TypeFactory typeFactory) -
Uses of TypeFactory in org.mapstruct.ap.internal.model.common
Methods in org.mapstruct.ap.internal.model.common that return TypeFactoryModifier and TypeMethodDescriptionConversionContext.getTypeFactory()DefaultConversionContext.getTypeFactory()Methods in org.mapstruct.ap.internal.model.common with parameters of type TypeFactoryModifier and TypeMethodDescriptionstatic BuilderTypeBuilderType.create(BuilderInfo builderInfo, Type typeToBuild, TypeFactory typeFactory, TypeUtils typeUtils) Constructors in org.mapstruct.ap.internal.model.common with parameters of type TypeFactoryModifierConstructorDescriptionDefaultConversionContext(TypeFactory typeFactory, FormattingMessager messager, Type sourceType, Type targetType, FormattingParameters formattingParameters) Type(TypeUtils typeUtils, ElementUtils elementUtils, TypeFactory typeFactory, AccessorNamingUtils accessorNaming, TypeMirror typeMirror, TypeElement typeElement, List<Type> typeParameters, ImplementationType implementationType, Type componentType, String packageName, String name, String qualifiedName, boolean isInterface, boolean isEnumType, boolean isIterableType, boolean isCollectionType, boolean isMapType, boolean isStreamType, Map<String, String> toBeImportedTypes, Map<String, String> notToBeImportedTypes, Boolean isToBeImported, boolean isLiteral, boolean loggingVerbose) -
Uses of TypeFactory in org.mapstruct.ap.internal.model.source
Methods in org.mapstruct.ap.internal.model.source with parameters of type TypeFactoryModifier and TypeMethodDescriptionvoidMappingMethodOptions.applyIgnoreAll(SourceMethod method, TypeFactory typeFactory, FormattingMessager messager) static BeanMappingOptionsBeanMappingOptions.getInstanceOn(org.mapstruct.ap.internal.gem.BeanMappingGem beanMapping, MapperOptions mapperOptions, ExecutableElement method, FormattingMessager messager, TypeUtils typeUtils, TypeFactory typeFactory) SourceMethod.Builder.setTypeFactory(TypeFactory typeFactory) -
Uses of TypeFactory in org.mapstruct.ap.internal.model.source.builtin
Constructors in org.mapstruct.ap.internal.model.source.builtin with parameters of type TypeFactoryModifierConstructorDescriptionAbstractToXmlGregorianCalendar(TypeFactory typeFactory) BuiltInMappingMethods(TypeFactory typeFactory) CalendarToXmlGregorianCalendar(TypeFactory typeFactory) DateToXmlGregorianCalendar(TypeFactory typeFactory) JodaDateTimeToXmlGregorianCalendar(TypeFactory typeFactory) JodaLocalDateTimeToXmlGregorianCalendar(TypeFactory typeFactory) JodaLocalDateToXmlGregorianCalendar(TypeFactory typeFactory) JodaLocalTimeToXmlGregorianCalendar(TypeFactory typeFactory) LocalDateTimeToXmlGregorianCalendar(TypeFactory typeFactory) LocalDateToXmlGregorianCalendar(TypeFactory typeFactory) StringToXmlGregorianCalendar(TypeFactory typeFactory) XmlGregorianCalendarToCalendar(TypeFactory typeFactory) XmlGregorianCalendarToDate(TypeFactory typeFactory) XmlGregorianCalendarToJodaDateTime(TypeFactory typeFactory) XmlGregorianCalendarToJodaLocalDate(TypeFactory typeFactory) XmlGregorianCalendarToJodaLocalDateTime(TypeFactory typeFactory) XmlGregorianCalendarToJodaLocalTime(TypeFactory typeFactory) XmlGregorianCalendarToLocalDate(TypeFactory typeFactory) XmlGregorianCalendarToLocalDateTime(TypeFactory typeFactory) XmlGregorianCalendarToString(TypeFactory typeFactory) ZonedDateTimeToXmlGregorianCalendar(TypeFactory typeFactory) -
Uses of TypeFactory in org.mapstruct.ap.internal.model.source.selector
Methods in org.mapstruct.ap.internal.model.source.selector with parameters of type TypeFactoryModifier and TypeMethodDescriptionstatic SelectionContextSelectionContext.forFactoryMethods(Method mappingMethod, Type alternativeTarget, SelectionParameters selectionParameters, TypeFactory typeFactory) static SelectionContextSelectionContext.forLifecycleMethods(Method mappingMethod, Type targetType, SelectionParameters selectionParameters, TypeFactory typeFactory, Supplier<List<ParameterBinding>> additionalParameterBindingsProvider) static SelectionContextSelectionContext.forMappingMethods(Method mappingMethod, Type source, Type target, SelectionCriteria criteria, TypeFactory typeFactory) static SelectionContextSelectionContext.forPresenceCheckMethods(Method mappingMethod, SelectionParameters selectionParameters, TypeFactory typeFactory) static SelectionContextSelectionContext.forSourceParameterPresenceCheckMethods(Method mappingMethod, SelectionParameters selectionParameters, Parameter sourceParameter, TypeFactory typeFactory) -
Uses of TypeFactory in org.mapstruct.ap.internal.processor
Methods in org.mapstruct.ap.internal.processor that return TypeFactoryModifier and TypeMethodDescriptionprotected TypeFactoryAnnotationBasedComponentModelProcessor.getTypeFactory()DefaultModelElementProcessorContext.getTypeFactory()ModelElementProcessor.ProcessorContext.getTypeFactory() -
Uses of TypeFactory in org.mapstruct.ap.internal.processor.creation
Constructors in org.mapstruct.ap.internal.processor.creation with parameters of type TypeFactoryModifierConstructorDescriptionMappingResolverImpl(FormattingMessager messager, ElementUtils elementUtils, TypeUtils typeUtils, TypeFactory typeFactory, List<Method> sourceModel, List<MapperReference> mapperReferences, boolean verboseLogging)