Uses of Interface
org.mapstruct.ap.internal.model.source.Method
-
Packages that use Method 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.beanmapping helper classes used inBeanMappingMethodorg.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.creation Contains all helper classes for theMapperCreationProcessor -
-
Uses of Method in org.mapstruct.ap.internal.conversion
Classes in org.mapstruct.ap.internal.conversion that implement Method Modifier and Type Class Description classCreateDecimalFormatHelperMethod that creates aDecimalFormatDecimalFormat df = new DecimalFormat( numberFormat )with setParseBigDecimal set to true. -
Uses of Method in org.mapstruct.ap.internal.model
Classes in org.mapstruct.ap.internal.model that implement Method Modifier and Type Class Description classForgedMethodThis method will be generated in absence of a suitable abstract method to implement.classHelperMethodA non mapping method to be generated.Fields in org.mapstruct.ap.internal.model declared as Method Modifier and Type Field Description protected MethodAbstractBaseBuilder. methodprotected MethodAbstractBaseBuilder. methodprotected MethodAbstractBaseBuilder. methodprotected MethodAbstractBaseBuilder. methodprotected MethodAbstractBaseBuilder. methodprotected MethodAbstractBaseBuilder. methodprotected MethodAbstractBaseBuilder. methodprotected MethodAbstractBaseBuilder. methodprotected MethodAbstractBaseBuilder. methodMethods in org.mapstruct.ap.internal.model with parameters of type Method Modifier and Type Method Description static List<LifecycleCallbackMethodReference>LifecycleMethodResolver. afterMappingMethods(Method method, Type alternativeTarget, SelectionParameters selectionParameters, MappingBuilderContext ctx, Set<String> existingVariableNames)static List<LifecycleCallbackMethodReference>LifecycleMethodResolver. afterMappingMethods(Method method, SelectionParameters selectionParameters, MappingBuilderContext ctx, Set<String> existingVariableNames)static List<LifecycleCallbackMethodReference>LifecycleMethodResolver. beforeMappingMethods(Method method, Type alternativeTarget, SelectionParameters selectionParameters, MappingBuilderContext ctx, Set<String> existingVariableNames)static List<LifecycleCallbackMethodReference>LifecycleMethodResolver. beforeMappingMethods(Method method, SelectionParameters selectionParameters, MappingBuilderContext ctx, Set<String> existingVariableNames)static ForgedMethodForgedMethod. forElementMapping(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 elementstatic MethodReferenceMethodReference. forForgedMethod(Method method, List<ParameterBinding> parameterBindings)static MethodReferenceMethodReference. forMapperReference(Method method, MapperReference declaringMapper, List<ParameterBinding> parameterBindings)static LifecycleCallbackMethodReferenceLifecycleCallbackMethodReference. forMethodReference(SelectedMethod<SourceMethod> lifecycleMethod, MapperReference mapperReference, Method containingMethod, Set<String> existingVariableNames)static ForgedMethodForgedMethod. forParameterMapping(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 LifecycleCallbackMethodReferenceLifecycleCallbackMethodReference. forParameterProvidedMethod(SelectedMethod<SourceMethod> lifecycleMethod, Parameter providingParameter, Method containingMethod, Set<String> existingVariableNames)static MethodReferenceMethodReference. forParameterProvidedMethod(Method method, Parameter providingParameter, List<ParameterBinding> parameterBindings)static ForgedMethodForgedMethod. forPropertyMapping(String name, Type sourceType, Type returnType, List<Parameter> parameters, Method basedOn, ForgedMethodHistory history, MappingReferences mappingReferences, boolean forgedNameBased)Creates a new forged method for mapping a bean property to a propertystatic ForgedMethodForgedMethod. forSubclassMapping(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(Method method, BuilderType builder)static MethodReferenceBuilderFinisherMethodResolver. getBuilderFinisherMethod(Method method, BuilderType builderType, MappingBuilderContext ctx)static MethodReferenceObjectFactoryMethodResolver. getFactoryMethod(Method method, Type alternativeTarget, SelectionParameters selectionParameters, MappingBuilderContext ctx)returns a no arg factory methodstatic MethodReferenceObjectFactoryMethodResolver. getFactoryMethod(Method method, SelectionParameters selectionParameters, MappingBuilderContext ctx)returns a no arg factory methodstatic MethodReferenceObjectFactoryMethodResolver. getFactoryMethodReference(Method method, SelectedMethod<SourceMethod> matchingFactoryMethod, MappingBuilderContext ctx)static List<SelectedMethod<SourceMethod>>ObjectFactoryMethodResolver. getMatchingFactoryMethods(Method method, Type alternativeTarget, SelectionParameters selectionParameters, MappingBuilderContext ctx)static PresenceCheckPresenceCheckMethodResolver. getPresenceCheck(Method method, SelectionParameters selectionParameters, MappingBuilderContext ctx)static PresenceCheckPresenceCheckMethodResolver. getPresenceCheckForSourceParameter(Method method, SelectionParameters selectionParameters, Parameter sourceParameter, MappingBuilderContext ctx)AssignmentMappingBuilderContext.MappingResolver. getTargetAssignment(Method mappingMethod, ForgedMethodHistory description, Type targetType, FormattingParameters formattingParameters, SelectionCriteria criteria, SourceRHS sourceRHS, AnnotationMirror positionHint, Supplier<Assignment> forger)returns a parameter assignmentprotected abstract AssignmentContainerMappingMethodBuilder. getWrapper(Assignment assignment, Method method)protected AssignmentIterableMappingMethod.Builder. getWrapper(Assignment assignment, Method method)protected AssignmentStreamMappingMethod.Builder. getWrapper(Assignment assignment, Method method)protected abstract MContainerMappingMethodBuilder. instantiateMappingMethod(Method method, Collection<String> existingVariables, Assignment assignment, MethodReference factoryMethod, boolean mapNullToDefault, String loopVariableName, List<LifecycleCallbackMethodReference> beforeMappingMethods, List<LifecycleCallbackMethodReference> afterMappingMethods, SelectionParameters selectionParameters)protected IterableMappingMethodIterableMappingMethod.Builder. instantiateMappingMethod(Method method, Collection<String> existingVariables, Assignment assignment, MethodReference factoryMethod, boolean mapNullToDefault, String loopVariableName, List<LifecycleCallbackMethodReference> beforeMappingMethods, List<LifecycleCallbackMethodReference> afterMappingMethods, SelectionParameters selectionParameters)protected StreamMappingMethodStreamMappingMethod.Builder. instantiateMappingMethod(Method method, Collection<String> existingVariables, Assignment assignment, MethodReference factoryMethod, boolean mapNullToDefault, String loopVariableName, List<LifecycleCallbackMethodReference> beforeMappingMethods, List<LifecycleCallbackMethodReference> afterMappingMethods, SelectionParameters selectionParameters)CollectionAssignmentBuilderCollectionAssignmentBuilder. method(Method method)NestedTargetPropertyMappingHolder.BuilderNestedTargetPropertyMappingHolder.Builder. method(Method method)ValueMappingMethod.BuilderValueMappingMethod.Builder. method(Method sourceMethod)Constructors in org.mapstruct.ap.internal.model with parameters of type Method Constructor Description DelegatingMethod(Method method)MappingMethod(Method method)MappingMethod(Method method, Collection<String> existingVariableNames, List<LifecycleCallbackMethodReference> beforeMappingReferences, List<LifecycleCallbackMethodReference> afterMappingReferences)constructor to be overloaded when local variable names are required prior to calling this constructor.MappingMethod(Method method, List<Parameter> parameters)MappingMethod(Method method, List<Parameter> parameters, Collection<String> existingVariableNames, List<LifecycleCallbackMethodReference> beforeMappingReferences, List<LifecycleCallbackMethodReference> afterMappingReferences)MappingMethod(Method method, List<LifecycleCallbackMethodReference> beforeMappingReferences, List<LifecycleCallbackMethodReference> afterMappingReferences)MethodReference(Method method, MapperReference declaringMapper, Parameter providingParameter, List<ParameterBinding> parameterBindings)Creates a new reference to the given method. -
Uses of Method in org.mapstruct.ap.internal.model.beanmapping
Methods in org.mapstruct.ap.internal.model.beanmapping with parameters of type Method Modifier and Type Method Description SourceReference.BuilderFromMappingSourceReference.BuilderFromMapping. method(Method method)TargetReference.BuilderTargetReference.Builder. method(Method method)List<SourceReference>SourceReference. push(TypeFactory typeFactory, FormattingMessager messager, Method method) -
Uses of Method in org.mapstruct.ap.internal.model.source
Classes in org.mapstruct.ap.internal.model.source that implement Method Modifier and Type Class Description classSourceMethodRepresents a mapping method with source and target type and the mappings between the properties of source and target type.Methods in org.mapstruct.ap.internal.model.source that return Method Modifier and Type Method Description MethodMappingOptions.InheritContext. getTemplateMethod()Methods in org.mapstruct.ap.internal.model.source with parameters of type Method Modifier and Type Method Description ParameterParameterProvidedMethods. getParameterForProvidedMethod(Method method)static booleanMappingMethodUtils. isEnumMapping(Method method)Checks if the providedmethodis for enum mapping.Constructors in org.mapstruct.ap.internal.model.source with parameters of type Method Constructor Description InheritContext(boolean isReversed, boolean isForwarded, Method templateMethod) -
Uses of Method in org.mapstruct.ap.internal.model.source.builtin
-
Uses of Method in org.mapstruct.ap.internal.model.source.selector
Classes in org.mapstruct.ap.internal.model.source.selector with type parameters of type Method Modifier and Type Class Description classSelectedMethod<T extends Method>A selected method with additional metadata that might be required for further usage of the selected method.Methods in org.mapstruct.ap.internal.model.source.selector with type parameters of type Method Modifier and Type Method Description <T extends Method>
List<SelectedMethod<T>>CreateOrUpdateSelector. getMatchingMethods(List<SelectedMethod<T>> methods, SelectionContext context)<T extends Method>
List<SelectedMethod<T>>FactoryParameterSelector. getMatchingMethods(List<SelectedMethod<T>> methods, SelectionContext context)<T extends Method>
List<SelectedMethod<T>>InheritanceSelector. getMatchingMethods(List<SelectedMethod<T>> methods, SelectionContext context)<T extends Method>
List<SelectedMethod<T>>MethodFamilySelector. getMatchingMethods(List<SelectedMethod<T>> methods, SelectionContext context)<T extends Method>
List<SelectedMethod<T>>MethodSelectors. getMatchingMethods(List<T> methods, SelectionContext context)Selects those methods which match the given types and other criteria<T extends Method>
List<SelectedMethod<T>>MostSpecificResultTypeSelector. getMatchingMethods(List<SelectedMethod<T>> candidates, SelectionContext context)<T extends Method>
List<SelectedMethod<T>>QualifierSelector. getMatchingMethods(List<SelectedMethod<T>> methods, SelectionContext context)<T extends Method>
List<SelectedMethod<T>>SourceRhsSelector. getMatchingMethods(List<SelectedMethod<T>> candidates, SelectionContext context)<T extends Method>
List<SelectedMethod<T>>TargetTypeSelector. getMatchingMethods(List<SelectedMethod<T>> methods, SelectionContext context)<T extends Method>
List<SelectedMethod<T>>TypeSelector. getMatchingMethods(List<SelectedMethod<T>> methods, SelectionContext context)Methods in org.mapstruct.ap.internal.model.source.selector that return Method Modifier and Type Method Description MethodSelectionContext. getMappingMethod()Methods in org.mapstruct.ap.internal.model.source.selector with parameters of type Method Modifier and Type Method Description static SelectionContextSelectionContext. forFactoryMethods(Method mappingMethod, Type alternativeTarget, SelectionParameters selectionParameters, TypeFactory typeFactory)static SelectionContextSelectionContext. forLifecycleMethods(Method mappingMethod, Type targetType, SelectionParameters selectionParameters, TypeFactory typeFactory)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 Method in org.mapstruct.ap.internal.processor.creation
Methods in org.mapstruct.ap.internal.processor.creation with parameters of type Method Modifier and Type Method Description AssignmentMappingResolverImpl. getTargetAssignment(Method mappingMethod, ForgedMethodHistory description, Type targetType, FormattingParameters formattingParameters, SelectionCriteria criteria, SourceRHS sourceRHS, AnnotationMirror positionHint, Supplier<Assignment> forger)Constructor parameters in org.mapstruct.ap.internal.processor.creation with type arguments of type Method Constructor Description MappingResolverImpl(FormattingMessager messager, ElementUtils elementUtils, TypeUtils typeUtils, TypeFactory typeFactory, List<Method> sourceModel, List<MapperReference> mapperReferences, boolean verboseLogging)
-