Uses of Class
org.mapstruct.ap.internal.model.common.Parameter
Packages that use Parameter
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.
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.
-
Uses of Parameter in org.mapstruct.ap.internal.conversion
Methods in org.mapstruct.ap.internal.conversion that return ParameterMethods in org.mapstruct.ap.internal.conversion that return types with arguments of type Parameter -
Uses of Parameter in org.mapstruct.ap.internal.model
Methods in org.mapstruct.ap.internal.model that return ParameterModifier and TypeMethodDescriptionForgedMethod.getMappingTargetParameter()HelperMethod.getMappingTargetParameter()mapping target parameter mechanism not supported for built-in methodsabstract ParameterHelperMethod.getParameter()There's currently only one parameter foreseen instead of a list of parameterMethodReference.getProvidingParameter()ContainerMappingMethod.getSourceParameter()IterableCreation.getSourceParameter()MapMappingMethod.getSourceParameter()NestedPropertyMappingMethod.getSourceParameter()ValueMappingMethod.getSourceParameter()BeanMappingMethod.getSourceParameterReassignment(Parameter parameter) ForgedMethod.getTargetTypeParameter()HelperMethod.getTargetTypeParameter()target type parameter mechanism not supported for built-in methodsMethods in org.mapstruct.ap.internal.model that return types with arguments of type ParameterModifier and TypeMethodDescriptionForgedMethod.getContextParameters()HelperMethod.getContextParameters()ForgedMethod.getParameters()HelperMethod.getParameters()MappingMethod.getParameters()NestedTargetPropertyMappingHolder.getProcessedSourceParameters()ForgedMethod.getSourceParameters()HelperMethod.getSourceParameters()MappingMethod.getSourceParameters()MethodReference.getSourceParameters()BeanMappingMethod.getSourceParametersNeedingPresenceCheck()BeanMappingMethod.getSourceParametersNotNeedingPresenceCheck()Methods in org.mapstruct.ap.internal.model with parameters of type ParameterModifier and TypeMethodDescriptionBeanMappingMethod.constructorPropertyMappingsByParameter(Parameter parameter) static IterableCreationIterableCreation.create(NormalTypeMappingMethod mappingMethod, Parameter sourceParameter) LifecycleCallbackMethodReference.forParameterProvidedMethod(SelectedMethod<SourceMethod> lifecycleMethod, Parameter providingParameter, Method containingMethod, Set<String> existingVariableNames) static MethodReferenceMethodReference.forParameterProvidedMethod(Method method, Parameter providingParameter, List<ParameterBinding> parameterBindings) BeanMappingMethod.getPresenceCheckByParameter(Parameter parameter) static PresenceCheckPresenceCheckMethodResolver.getPresenceCheckForSourceParameter(Method method, SelectionParameters selectionParameters, Parameter sourceParameter, MappingBuilderContext ctx) BeanMappingMethod.getSourceParameterReassignment(Parameter parameter) BeanMappingMethod.propertyMappingsByParameter(Parameter parameter) Method parameters in org.mapstruct.ap.internal.model with type arguments of type ParameterModifier and TypeMethodDescriptionstatic 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 propertyConstructors in org.mapstruct.ap.internal.model with parameters of type ParameterModifierConstructorDescriptionprotectedMethodReference(Method method, MapperReference declaringMapper, Parameter providingParameter, List<ParameterBinding> parameterBindings) Creates a new reference to the given method.Constructor parameters in org.mapstruct.ap.internal.model with type arguments of type ParameterModifierConstructorDescriptionprotectedMappingMethod(Method method, List<Parameter> parameters) protectedMappingMethod(Method method, List<Parameter> parameters, Collection<String> existingVariableNames, List<LifecycleCallbackMethodReference> beforeMappingReferences, List<LifecycleCallbackMethodReference> afterMappingReferences) NestedTargetPropertyMappingHolder(List<Parameter> processedSourceParameters, Set<String> handledTargets, List<PropertyMapping> propertyMappings, Map<String, Set<MappingReference>> unprocessedDefinedTarget, boolean errorOccurred) -
Uses of Parameter in org.mapstruct.ap.internal.model.beanmapping
Methods in org.mapstruct.ap.internal.model.beanmapping that return ParameterMethods in org.mapstruct.ap.internal.model.beanmapping with parameters of type ParameterModifier and TypeMethodDescriptionSourceReference.BuilderFromProperty.sourceParameter(Parameter sourceParameter) SourceReference.BuilderFromSourceReference.sourceParameter(Parameter sourceParameter) SourceReference.withParameter(Parameter parameter) Constructors in org.mapstruct.ap.internal.model.beanmapping with parameters of type ParameterModifierConstructorDescriptionprotectedAbstractReference(Parameter sourceParameter, List<PropertyEntry> sourcePropertyEntries, boolean isValid) TargetReference(Parameter parameter, List<String> propertyEntries) -
Uses of Parameter in org.mapstruct.ap.internal.model.common
Methods in org.mapstruct.ap.internal.model.common that return ParameterModifier and TypeMethodDescriptionstatic ParameterParameter.forElementAndType(VariableElement element, Type parameterType, boolean isVarArgs) static ParameterParameter.forForgedMappingTarget(Type parameterType) static ParameterParameter.getMappingTargetParameter(List<Parameter> parameters) TypeFactory.getSingleParameter(DeclaredType includingType, Accessor method) static ParameterParameter.getSourceParameter(List<Parameter> parameters, String sourceParameterName) static ParameterParameter.getSourcePropertyNameParameter(List<Parameter> parameters) static ParameterParameter.getTargetPropertyNameParameter(List<Parameter> parameters) static ParameterParameter.getTargetTypeParameter(List<Parameter> parameters) Methods in org.mapstruct.ap.internal.model.common that return types with arguments of type ParameterModifier and TypeMethodDescriptionParameter.getContextParameters(List<Parameter> parameters) TypeFactory.getParameters(DeclaredType includingType, ExecutableElement method) TypeFactory.getParameters(DeclaredType includingType, Accessor accessor) TypeFactory.getParameters(ExecutableType methodType, ExecutableElement method) Parameter.getSourceParameters(List<Parameter> parameters) Methods in org.mapstruct.ap.internal.model.common with parameters of type ParameterModifier and TypeMethodDescriptionstatic ParameterBindingParameterBinding.fromParameter(Parameter parameter) Method parameters in org.mapstruct.ap.internal.model.common with type arguments of type ParameterModifier and TypeMethodDescriptionstatic List<ParameterBinding> ParameterBinding.fromParameters(List<Parameter> parameters) Parameter.getContextParameters(List<Parameter> parameters) static ParameterParameter.getMappingTargetParameter(List<Parameter> parameters) static ParameterParameter.getSourceParameter(List<Parameter> parameters, String sourceParameterName) Parameter.getSourceParameters(List<Parameter> parameters) static ParameterParameter.getSourcePropertyNameParameter(List<Parameter> parameters) static ParameterParameter.getTargetPropertyNameParameter(List<Parameter> parameters) static ParameterParameter.getTargetTypeParameter(List<Parameter> parameters) -
Uses of Parameter in org.mapstruct.ap.internal.model.source
Methods in org.mapstruct.ap.internal.model.source that return ParameterModifier and TypeMethodDescriptionMethod.getMappingTargetParameter()Returns the parameter designated as mapping target (if present)MappingTargetSourceMethod.getMappingTargetParameter()ParameterProvidedMethods.getParameterForProvidedMethod(Method method) SourceMethod.getSourcePropertyNameParameter()SourceMethod.getTargetPropertyNameParameter()Method.getTargetTypeParameter()Returns the parameter designated as target type (if present)TargetTypeSourceMethod.getTargetTypeParameter()Methods in org.mapstruct.ap.internal.model.source that return types with arguments of type ParameterModifier and TypeMethodDescriptionMethod.getContextParameters()returns the list of mapping context parameters, i.e. those parameters that are annotated withContext.SourceMethod.getContextParameters()Method.getParameters()In contrast toMethod.getSourceParameters()this method returns all parametersSourceMethod.getParameters()Method.getSourceParameters()returns the list of 'true' source parameters excluding the parameter(s) that are designated as target, target type or context parameter.SourceMethod.getSourceParameters()Methods in org.mapstruct.ap.internal.model.source with parameters of type ParameterModifier and TypeMethodDescriptionvoidParameterProvidedMethods.Builder.addMethodsForParameter(Parameter param, List<SourceMethod> methods) Method parameters in org.mapstruct.ap.internal.model.source with type arguments of type ParameterModifier and TypeMethodDescriptionstatic voidSubclassMappingOptions.addInstance(org.mapstruct.ap.internal.gem.SubclassMappingGem subclassMapping, ExecutableElement method, BeanMappingOptions beanMappingOptions, FormattingMessager messager, TypeUtils typeUtils, Set<SubclassMappingOptions> mappings, List<Parameter> sourceParameters, Type resultType, SubclassValidator subclassValidator) static voidSubclassMappingOptions.addInstances(org.mapstruct.ap.internal.gem.SubclassMappingsGem gem, ExecutableElement method, BeanMappingOptions beanMappingOptions, FormattingMessager messager, TypeUtils typeUtils, Set<SubclassMappingOptions> mappings, List<Parameter> sourceParameters, Type resultType, SubclassValidator subclassValidator) static booleanSourceMethod.containsTargetTypeParameter(List<Parameter> parameters) ParameterProvidedMethods.getAllProvidedMethodsInParameterOrder(List<Parameter> orderedParameters) static ConditionOptionsConditionOptions.getInstanceOn(org.mapstruct.ap.internal.gem.ConditionGem condition, ExecutableElement method, List<Parameter> parameters, FormattingMessager messager) protected static booleanConditionOptions.hasValidStrategyForProperties(org.mapstruct.ap.internal.gem.ConditionGem condition, ExecutableElement method, List<Parameter> parameters, FormattingMessager messager) protected static booleanConditionOptions.hasValidStrategyForSourceProperties(org.mapstruct.ap.internal.gem.ConditionGem condition, ExecutableElement method, List<Parameter> parameters, FormattingMessager messager) protected static booleanConditionOptions.isValid(org.mapstruct.ap.internal.gem.ConditionStrategyGem strategy, org.mapstruct.ap.internal.gem.ConditionGem condition, ExecutableElement method, List<Parameter> parameters, FormattingMessager messager) SourceMethod.Builder.setParameters(List<Parameter> parameters) -
Uses of Parameter in org.mapstruct.ap.internal.model.source.builtin
Methods in org.mapstruct.ap.internal.model.source.builtin that return ParameterModifier and TypeMethodDescriptionBuiltInMethod.getMappingTargetParameter()mapping target parameter mechanism not supported for built-in methodsabstract ParameterBuiltInMethod.getParameter()There's currently only one parameter foreseen instead of a list of parameterCalendarToXmlGregorianCalendar.getParameter()CalendarToZonedDateTime.getParameter()DateToXmlGregorianCalendar.getParameter()JodaDateTimeToXmlGregorianCalendar.getParameter()JodaLocalDateTimeToXmlGregorianCalendar.getParameter()JodaLocalDateToXmlGregorianCalendar.getParameter()JodaLocalTimeToXmlGregorianCalendar.getParameter()LocalDateTimeToXmlGregorianCalendar.getParameter()LocalDateToXmlGregorianCalendar.getParameter()StringToXmlGregorianCalendar.getParameter()XmlGregorianCalendarToCalendar.getParameter()XmlGregorianCalendarToDate.getParameter()XmlGregorianCalendarToJodaDateTime.getParameter()XmlGregorianCalendarToJodaLocalDate.getParameter()XmlGregorianCalendarToJodaLocalDateTime.getParameter()XmlGregorianCalendarToJodaLocalTime.getParameter()XmlGregorianCalendarToLocalDate.getParameter()XmlGregorianCalendarToLocalDateTime.getParameter()XmlGregorianCalendarToString.getParameter()ZonedDateTimeToCalendar.getParameter()ZonedDateTimeToXmlGregorianCalendar.getParameter()BuiltInMethod.getTargetTypeParameter()target type parameter mechanism not supported for built-in methodsMethods in org.mapstruct.ap.internal.model.source.builtin that return types with arguments of type ParameterModifier and TypeMethodDescriptionBuiltInMethod.getContextParameters()BuiltInMethod.getParameters()BuiltInMethod.getSourceParameters() -
Uses of Parameter in org.mapstruct.ap.internal.model.source.selector
Methods in org.mapstruct.ap.internal.model.source.selector with parameters of type ParameterModifier and TypeMethodDescriptionstatic SelectionContextSelectionContext.forSourceParameterPresenceCheckMethods(Method mappingMethod, SelectionParameters selectionParameters, Parameter sourceParameter, TypeFactory typeFactory)