Package org.mapstruct.ap.internal.processor
package 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. Processors are invoked in order as per their priority value.
-
ClassDescriptionAn
ModelElementProcessorwhich converts the givenMapperobject into an annotation based component model in case a matching model is selected as target component model for this mapper.AModelElementProcessorwhich converts the givenMapperobject into an application-scoped CDI bean in case CDI is configured as the target component model for this mapper.Default implementation of the processor context.Provides information about the processor version and the processor context implementation version.AModelElementProcessorwhich converts the givenMapperobject into an application-scoped Jakarta CDI bean in case Jakarta CDI is configured as the target component model for this mapper.AModelElementProcessorwhich converts the givenMapperobject into a Jakarta Inject style bean in case "jakarta" is configured as the target component model for this mapper.AModelElementProcessorwhich converts the givenMapperobject into a JSR 330 style bean in case "jsr330" is configured as the target component model for this mapper.Handles redirection of errors/warnings so that they're shown on the mapper instead of hidden on a superclass.AModelElementProcessorwhich creates a Java source file representing the givenMapperobject, unless the given mapper type is erroneous.AModelElementProcessorwhich creates files in theMETA-INF/serviceshierarchy for classes with custom implementation class or package name.AModelElementProcessorwhich retrieves a list ofSourceMethods representing all the mapping methods of the given bean mapper type as well as all referenced mapper methods declared by other mappers referenced by the current mapper.A processor which performs one task of the mapper generation, e.g. retrieving methods from the sourceTypeElement, performing validity checks or generating the output source file.Context object passed toModelElementProcessor.process(ProcessorContext, TypeElement, Object)providing access to common infrastructure objects such asTypeUtilsetc.AModelElementProcessorwhich converts the givenMapperobject into a Spring bean in case Spring is configured as the target component model for this mapper.