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.creation Contains all helper classes for theMapperCreationProcessor -
-
Uses of Type in org.mapstruct.ap.internal.conversion
Methods 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 List<Type>AbstractNumberToStringConversion. getFromConversionExceptionTypes(ConversionContext conversionContext)protected List<Type>SimpleConversion. getFromConversionExceptionTypes(ConversionContext conversionContext)protected List<Type>URLToStringConversion. getFromConversionExceptionTypes(ConversionContext conversionContext)protected Set<Type>AbstractJavaTimeToStringConversion. getFromConversionImportTypes(ConversionContext conversionContext)protected Set<Type>AbstractJodaTypeToStringConversion. getFromConversionImportTypes(ConversionContext conversionContext)protected Set<Type>AbstractNumberToStringConversion. getFromConversionImportTypes(ConversionContext conversionContext)protected Set<Type>BigDecimalToBigIntegerConversion. getFromConversionImportTypes(ConversionContext conversionContext)protected Set<Type>BigDecimalToPrimitiveConversion. getFromConversionImportTypes(ConversionContext conversionContext)protected Set<Type>BigDecimalToStringConversion. getFromConversionImportTypes(ConversionContext conversionContext)protected Set<Type>BigDecimalToWrapperConversion. getFromConversionImportTypes(ConversionContext conversionContext)protected Set<Type>BigIntegerToPrimitiveConversion. getFromConversionImportTypes(ConversionContext conversionContext)protected Set<Type>BigIntegerToStringConversion. getFromConversionImportTypes(ConversionContext conversionContext)protected Set<Type>BigIntegerToWrapperConversion. getFromConversionImportTypes(ConversionContext conversionContext)protected Set<Type>CurrencyToStringConversion. getFromConversionImportTypes(ConversionContext conversionContext)protected Set<Type>EnumStringConversion. getFromConversionImportTypes(ConversionContext conversionContext)protected Set<Type>JavaLocalDateTimeToDateConversion. getFromConversionImportTypes(ConversionContext conversionContext)protected Set<Type>JavaLocalDateToDateConversion. getFromConversionImportTypes(ConversionContext conversionContext)protected Set<Type>JavaLocalDateToSqlDateConversion. getFromConversionImportTypes(ConversionContext conversionContext)protected Set<Type>JavaZonedDateTimeToDateConversion. getFromConversionImportTypes(ConversionContext conversionContext)protected Set<Type>JodaDateTimeToCalendarConversion. getFromConversionImportTypes(ConversionContext conversionContext)protected Set<Type>JodaTimeToDateConversion. getFromConversionImportTypes(ConversionContext conversionContext)protected Set<Type>PrimitiveToStringConversion. getFromConversionImportTypes(ConversionContext conversionContext)protected Set<Type>SimpleConversion. getFromConversionImportTypes(ConversionContext conversionContext)Returns a set with imported types of the "from" conversion.protected Set<Type>StaticParseToStringConversion. getFromConversionImportTypes(ConversionContext conversionContext)protected Set<Type>URLToStringConversion. getFromConversionImportTypes(ConversionContext conversionContext)protected Set<Type>UUIDToStringConversion. getFromConversionImportTypes(ConversionContext conversionContext)protected Set<Type>WrapperToStringConversion. getFromConversionImportTypes(ConversionContext conversionContext)Set<Type>CreateDecimalFormat. getImportTypes()protected List<Type>SimpleConversion. getToConversionExceptionTypes(ConversionContext conversionContext)protected Set<Type>AbstractJavaTimeToStringConversion. getToConversionImportTypes(ConversionContext conversionContext)protected Set<Type>AbstractJodaTypeToStringConversion. getToConversionImportTypes(ConversionContext conversionContext)Set<Type>AbstractNumberToStringConversion. getToConversionImportTypes(ConversionContext conversionContext)protected Set<Type>DateToSqlDateConversion. getToConversionImportTypes(ConversionContext conversionContext)protected Set<Type>DateToSqlTimeConversion. getToConversionImportTypes(ConversionContext conversionContext)protected Set<Type>DateToSqlTimestampConversion. getToConversionImportTypes(ConversionContext conversionContext)protected Set<Type>JavaInstantToDateConversion. getToConversionImportTypes(ConversionContext conversionContext)protected Set<Type>JavaLocalDateTimeToDateConversion. getToConversionImportTypes(ConversionContext conversionContext)protected Set<Type>JavaLocalDateToDateConversion. getToConversionImportTypes(ConversionContext conversionContext)protected Set<Type>JavaLocalDateToSqlDateConversion. getToConversionImportTypes(ConversionContext conversionContext)protected Set<Type>JavaZonedDateTimeToDateConversion. getToConversionImportTypes(ConversionContext conversionContext)protected Set<Type>JodaDateTimeToCalendarConversion. getToConversionImportTypes(ConversionContext conversionContext)Set<Type>PrimitiveToStringConversion. getToConversionImportTypes(ConversionContext conversionContext)protected Set<Type>SimpleConversion. getToConversionImportTypes(ConversionContext conversionContext)Returns a set with imported types of the "to" conversion.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) -
Uses of Type in org.mapstruct.ap.internal.model
Fields in org.mapstruct.ap.internal.model with type parameters of type Type Modifier and Type Field Description protected SortedSet<Type>GeneratedType.GeneratedTypeBuilder. extraImportedTypesMethods in org.mapstruct.ap.internal.model that return Type Modifier and Type Method Description TypeSupportingMappingMethod. findType(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)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 Set<Type>AnnotatedConstructor. getImportTypes()Set<Type>Annotation. getImportTypes()Set<Type>AnnotationMapperReference. getImportTypes()Set<Type>BeanMappingMethod. getImportTypes()Set<Type>Constructor. getImportTypes()Set<Type>ContainerMappingMethod. getImportTypes()SortedSet<Type>Decorator. getImportTypes()Set<Type>DecoratorConstructor. getImportTypes()Set<Type>DefaultMapperReference. getImportTypes()Set<Type>Field. getImportTypes()SortedSet<Type>GeneratedType. getImportTypes()Set<Type>HelperMethod. getImportTypes()Returns the types used by this method for which import statements need to be generated.Set<Type>IterableCreation. getImportTypes()Set<Type>IterableMappingMethod. getImportTypes()Set<Type>LifecycleCallbackMethodReference. getImportTypes()Set<Type>MapMappingMethod. getImportTypes()Set<Type>MappingMethod. getImportTypes()Set<Type>MethodReference. getImportTypes()Set<Type>MethodReferencePresenceCheck. getImportTypes()Set<Type>NestedPropertyMappingMethod. getImportTypes()Set<Type>NoArgumentConstructor. getImportTypes()Set<Type>NormalTypeMappingMethod. getImportTypes()Set<Type>PropertyMapping. getImportTypes()Set<Type>ServicesEntry. getImportTypes()Set<Type>StreamMappingMethod. getImportTypes()Set<Type>SubclassMapping. getImportTypes()Set<Type>SupportingConstructorFragment. getImportTypes()Set<Type>SupportingMappingMethod. getImportTypes()Set<Type>TypeConversion. getImportTypes()Set<Type>ValueMappingMethod. getImportTypes()List<Type>MapMappingMethod. getResultElementTypes()List<Type>MapMappingMethod. getSourceElementTypes()List<Type>ForgedMethod. getThrownTypes()List<Type>HelperMethod. getThrownTypes()List<Type>MappingMethod. getThrownTypes()List<Type>MethodReference. getThrownTypes()List<Type>TypeConversion. getThrownTypes()List<Type>ForgedMethod. getTypeParameters()List<Type>HelperMethod. getTypeParameters()Methods in org.mapstruct.ap.internal.model with parameters of type Type Modifier and Type Method Description protected voidGeneratedType. addIfImportRequired(Collection<Type> collection, Type typeToAdd)static List<LifecycleCallbackMethodReference>LifecycleMethodResolver. afterMappingMethods(Method method, Type alternativeTarget, SelectionParameters selectionParameters, MappingBuilderContext ctx, Set<String> existingVariableNames)static List<LifecycleCallbackMethodReference>LifecycleMethodResolver. beforeMappingMethods(Method method, Type alternativeTarget, SelectionParameters selectionParameters, MappingBuilderContext ctx, Set<String> existingVariableNames)booleanMappingBuilderContext. canGenerateAutoSubMappingBetween(Type sourceType, Type targetType)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.static MethodReferenceMethodReference. forConstructorInvocation(Type type, List<ParameterBinding> parameterBindings)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 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 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 MethodReferenceMethodReference. forStaticBuilder(String builderCreationMethod, Type definingType)static 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(Type typeToBuild, BuilderType builder)protected abstract TypeContainerMappingMethodBuilder. getElementType(Type parameterType)protected TypeIterableMappingMethod.Builder. getElementType(Type parameterType)protected TypeStreamMappingMethod.Builder. 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, List<String> otherMapperReferences)static List<SelectedMethod<SourceMethod>>ObjectFactoryMethodResolver. getMatchingFactoryMethods(Method method, Type alternativeTarget, SelectionParameters selectionParameters, 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 assignmentTypeMethodReference. inferTypeWhenEnum(Type type)booleanForgedMethod. matches(List<Type> sourceTypes, Type targetType)booleanHelperMethod. matches(List<Type> sourceTypes, Type targetType)Checks whether the provided sourceType and provided targetType match with the parameter respectively return type of the method.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(Collection<Type> collection, Type typeToAdd)voidForgedMethod. addThrownTypes(List<Type> thrownTypesToAdd)TGeneratedType.GeneratedTypeBuilder. extraImports(SortedSet<Type> extraImportedTypes)booleanForgedMethod. matches(List<Type> sourceTypes, Type targetType)booleanHelperMethod. matches(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, List<String> properties)AnnotationMapperReference(Type type, String variableName, List<Annotation> annotations, boolean isUsed, boolean fieldFinal, boolean includeAnnotationsOnField)Field(Type type, String variableName)Field(Type type, String variableName, boolean used)ForgedMethodHistory(ForgedMethodHistory history, String sourceElement, String targetPropertyName, Type sourceType, Type targetType, boolean usePropertyNames, String elementType)GeneratedType(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)MapperReference(Type type, String variableName)MapperReference(Type type, String variableName, boolean isUsed)SubclassMapping(Type sourceType, String sourceArgument, Type targetType, Assignment assignment)Constructor parameters in org.mapstruct.ap.internal.model with type arguments of type Type Constructor Description GeneratedType(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)TypeConversion(Set<Type> importTypes, List<Type> exceptionTypes, String expression)TypeConversion(Set<Type> importTypes, List<Type> exceptionTypes, String expression) -
Uses of Type in org.mapstruct.ap.internal.model.assignment
Methods in org.mapstruct.ap.internal.model.assignment that return Type Modifier and Type Method Description 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 Set<Type>AdderWrapper. getImportTypes()Set<Type>ArrayCopyWrapper. getImportTypes()Set<Type>AssignmentWrapper. getImportTypes()Set<Type>EnumConstantWrapper. getImportTypes()Set<Type>ExistingInstanceSetterWrapperForCollectionsAndMaps. getImportTypes()Set<Type>GetterWrapperForCollectionsAndMaps. getImportTypes()Set<Type>Java8FunctionWrapper. getImportTypes()Set<Type>LocalVarWrapper. getImportTypes()Set<Type>SetterWrapperForCollectionsAndMapsWithNullCheck. getImportTypes()Set<Type>StreamAdderWrapper. getImportTypes()Set<Type>UpdateWrapper. getImportTypes()List<Type>AdderWrapper. getThrownTypes()List<Type>AssignmentWrapper. getThrownTypes()List<Type>LocalVarWrapper. getThrownTypes()List<Type>SetterWrapper. getThrownTypes()List<Type>StreamAdderWrapper. getThrownTypes()List<Type>UpdateWrapper. getThrownTypes()List<Type>WrapperForCollectionsAndMaps. getThrownTypes()Constructors in org.mapstruct.ap.internal.model.assignment with parameters of type Type Constructor Description ArrayCopyWrapper(Assignment rhs, String targetPropertyName, Type arraysType, Type targetType, boolean fieldAssignment, boolean setExplicitlyToNull, boolean setExplicitlyToDefault)EnumConstantWrapper(Assignment decoratedAssignment, Type enumType)ExistingInstanceSetterWrapperForCollectionsAndMaps(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)GetterWrapperForCollectionsAndMaps(Assignment decoratedAssignment, List<Type> thrownTypesToExclude, Type targetType, boolean fieldAssignment)Java8FunctionWrapper(Assignment decoratedAssignment, Type functionType)LocalVarWrapper(Assignment decoratedAssignment, List<Type> thrownTypesToExclude, Type targetType, boolean fieldAssignment)NewInstanceSetterWrapperForCollectionsAndMaps(Assignment decoratedAssignment, List<Type> thrownTypesToExclude, Type targetType, TypeFactory typeFactory, boolean fieldAssignment)SetterWrapperForCollectionsAndMaps(Assignment decoratedAssignment, List<Type> thrownTypesToExclude, Type targetType, boolean fieldAssignment)SetterWrapperForCollectionsAndMapsWithNullCheck(Assignment decoratedAssignment, List<Type> thrownTypesToExclude, Type targetType, TypeFactory typeFactory, boolean fieldAssignment)UpdateWrapper(Assignment decoratedAssignment, List<Type> thrownTypesToExclude, Assignment factoryMethod, boolean fieldAssignment, Type targetType, boolean includeSourceNullCheck, boolean setExplicitlyToNull, boolean setExplicitlyToDefault)WrapperForCollectionsAndMaps(Assignment rhs, 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, List<Type> thrownTypesToExclude, boolean fieldAssignment, String adderIteratorName)ExistingInstanceSetterWrapperForCollectionsAndMaps(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)GetterWrapperForCollectionsAndMaps(Assignment decoratedAssignment, List<Type> thrownTypesToExclude, Type targetType, boolean fieldAssignment)LocalVarWrapper(Assignment decoratedAssignment, List<Type> thrownTypesToExclude, Type targetType, boolean fieldAssignment)NewInstanceSetterWrapperForCollectionsAndMaps(Assignment decoratedAssignment, List<Type> thrownTypesToExclude, Type targetType, TypeFactory typeFactory, boolean fieldAssignment)SetterWrapper(Assignment rhs, List<Type> thrownTypesToExclude, boolean fieldAssignment)SetterWrapper(Assignment rhs, List<Type> thrownTypesToExclude, boolean fieldAssignment, boolean includeSourceNullCheck, boolean setExplicitlyToNull, boolean setExplicitlyToDefault)SetterWrapperForCollectionsAndMaps(Assignment decoratedAssignment, List<Type> thrownTypesToExclude, Type targetType, boolean fieldAssignment)SetterWrapperForCollectionsAndMapsWithNullCheck(Assignment decoratedAssignment, List<Type> thrownTypesToExclude, Type targetType, TypeFactory typeFactory, boolean fieldAssignment)StreamAdderWrapper(Assignment rhs, List<Type> thrownTypesToExclude, boolean fieldAssignment, String targetPropertyName)UpdateWrapper(Assignment decoratedAssignment, List<Type> thrownTypesToExclude, Assignment factoryMethod, boolean fieldAssignment, Type targetType, boolean includeSourceNullCheck, boolean setExplicitlyToNull, boolean setExplicitlyToDefault)WrapperForCollectionsAndMaps(Assignment rhs, List<Type> thrownTypesToExclude, Type targetType, boolean fieldAssignment) -
Uses of Type in org.mapstruct.ap.internal.model.beanmapping
Methods 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, Set<String> targetProperties, FormattingMessager messager, TypeFactory typeFactory)static PropertyEntryPropertyEntry. forSourceReference(String[] name, ReadAccessor readAccessor, PresenceCheckAccessor presenceChecker, Type type)Constructor used to createSourceReferenceproperty entries from a mappingTargetReference.BuilderTargetReference.Builder. targetType(Type targetType)SourceReference.BuilderFromPropertySourceReference.BuilderFromProperty. type(Type type) -
Uses of Type in org.mapstruct.ap.internal.model.common
Methods 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 typeTypeTypeFactory. effectiveResultTypeFor(Type type, org.mapstruct.ap.internal.gem.BuilderGem builder)TypeType. erasure()TypeTypeFactory. getAlwaysImportedType(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(DeclaredType includingType, Accessor accessor)TypeTypeFactory. getReturnType(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(Class<?> type)TypeTypeFactory. getType(String canonicalName)TypeTypeFactory. getType(TypeElement typeElement)TypeTypeFactory. getType(TypeMirror mirror)TypeType. getTypeBound()Establishes the type bound:<? extends Number>, returns Number<? super Number>, returns Number<?>, returns Object<T extends Number>, returns NumberTypeTypeFactory. getTypeForLiteral(Class<?> type)TypeTypeFactory. getWrappedType(Type type)TypeType. withoutBounds()Methods in org.mapstruct.ap.internal.model.common that return types with arguments of type Type Modifier and Type Method Description List<Type>Type. determineTypeArguments(Class<?> superclass)Searches for the given superclass and collects all type arguments for the given classList<Type>Type. getDirectSuperTypes()Returns the direct supertypes of a type.Set<Type>Assignment. getImportTypes()returns all types required as import by the assignment statement.abstract Set<Type>ModelElement. getImportTypes()Returns a set containing thoseTypes referenced by this model element for which an import statement needs to be declared.Set<Type>Parameter. getImportTypes()Set<Type>ParameterBinding. getImportTypes()Set<Type>PresenceCheck. getImportTypes()returns all types required as import by the presence check.Set<Type>SourceRHS. getImportTypes()Set<Type>Type. getImportTypes()List<Type>Assignment. getThrownTypes()returns all types exception types thrown by this assignment.List<Type>SourceRHS. getThrownTypes()List<Type>TypeFactory. getThrownTypes(ExecutableType method)List<Type>TypeFactory. getThrownTypes(Accessor accessor)List<Type>Type. getTypeBounds()List<Type>Type. getTypeParameters()Methods in org.mapstruct.ap.internal.model.common with parameters of type Type Modifier and Type Method Description BuilderTypeTypeFactory. builderTypeFor(Type type, org.mapstruct.ap.internal.gem.BuilderGem builder)booleanType. canAccess(Type type, 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, org.mapstruct.ap.internal.gem.BuilderGem builder)static ParameterParameter. forElementAndType(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 ParameterBindingParameterBinding. fromTypeAndName(Type parameterType, String parameterName)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.booleanType. isRawAssignableTo(Type other)Whether this type is raw assignable to the given other type.Type.ResolvedPairType. resolveParameterToType(Type declared, Type parameterized)Steps through the declaredType in order to find a match for this typeVar Type.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 DefaultConversionContext(TypeFactory typeFactory, FormattingMessager messager, Type sourceType, Type targetType, FormattingParameters formattingParameters)FinalField(Type type, String variableName)Parameter(String name, Type type)ResolvedPair(Type parameter, Type match)SourceRHS(String sourceParameterName, String sourceReference, PresenceCheck sourcePresenceCheckerReference, Type sourceType, Set<String> existingVariableNames, String sourceErrorMessagePart)SourceRHS(String sourceReference, Type sourceType, Set<String> existingVariableNames, String sourceErrorMessagePart)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)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, 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 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 Set<Type>AllPresenceChecksPresenceCheck. getImportTypes()Set<Type>JavaExpressionPresenceCheck. getImportTypes()Set<Type>NullPresenceCheck. getImportTypes()Set<Type>SuffixPresenceCheck. getImportTypes() -
Uses of Type in org.mapstruct.ap.internal.model.source
Methods 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()Methods in org.mapstruct.ap.internal.model.source that return types with arguments of type Type Modifier and Type Method Description List<Type>Method. getThrownTypes()Returns all exceptions thrown by this methodList<Type>SourceMethod. getThrownTypes()List<Type>Method. getTypeParameters()Returns the formal type parameters of this method in declaration order.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(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)booleanMethod. matches(List<Type> sourceTypes, Type targetType)Checks whether the provided sourceType and provided targetType match with the parameter respectively return type of the method.booleanSourceMethod. matches(List<Type> sourceTypes, Type targetType)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 booleanMethod. matches(List<Type> sourceTypes, Type targetType)Checks whether the provided sourceType and provided targetType match with the parameter respectively return type of the method.booleanSourceMethod. matches(List<Type> sourceTypes, Type targetType)SourceMethod.BuilderSourceMethod.Builder. setExceptionTypes(List<Type> exceptionTypes) -
Uses of Type in org.mapstruct.ap.internal.model.source.builtin
Methods 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 Set<Type>AbstractToXmlGregorianCalendar. getImportTypes()Set<Type>BuiltInMethod. getImportTypes()Returns the types used by this method for which import statements need to be generated.Set<Type>CalendarToXmlGregorianCalendar. getImportTypes()Set<Type>CalendarToZonedDateTime. getImportTypes()Set<Type>DateToXmlGregorianCalendar. getImportTypes()Set<Type>JaxbElemToValue. getImportTypes()Set<Type>JodaDateTimeToXmlGregorianCalendar. getImportTypes()Set<Type>JodaLocalDateTimeToXmlGregorianCalendar. getImportTypes()Set<Type>JodaLocalDateToXmlGregorianCalendar. getImportTypes()Set<Type>JodaLocalTimeToXmlGregorianCalendar. getImportTypes()Set<Type>LocalDateTimeToXmlGregorianCalendar. getImportTypes()Set<Type>LocalDateToXmlGregorianCalendar. getImportTypes()Set<Type>StringToXmlGregorianCalendar. getImportTypes()Set<Type>XmlGregorianCalendarToCalendar. getImportTypes()Set<Type>XmlGregorianCalendarToDate. getImportTypes()Set<Type>XmlGregorianCalendarToJodaDateTime. getImportTypes()Set<Type>XmlGregorianCalendarToJodaLocalDate. getImportTypes()Set<Type>XmlGregorianCalendarToJodaLocalDateTime. getImportTypes()Set<Type>XmlGregorianCalendarToJodaLocalTime. getImportTypes()Set<Type>XmlGregorianCalendarToLocalDate. getImportTypes()Set<Type>XmlGregorianCalendarToLocalDateTime. getImportTypes()Set<Type>XmlGregorianCalendarToString. getImportTypes()Set<Type>ZonedDateTimeToCalendar. getImportTypes()Set<Type>ZonedDateTimeToXmlGregorianCalendar. getImportTypes()List<Type>BuiltInMethod. getThrownTypes()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(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(List<Type> sourceTypes, Type targetType)Checks whether the provided sourceType and provided targetType match with the parameter respectively return type of the method. -
Uses of Type in org.mapstruct.ap.internal.model.source.selector
Methods in org.mapstruct.ap.internal.model.source.selector with parameters of type Type Modifier and Type Method Description <T extends Method>
List<SelectedMethod<T>>CreateOrUpdateSelector. getMatchingMethods(Method mappingMethod, List<SelectedMethod<T>> methods, List<Type> sourceTypes, Type mappingTargetType, Type returnType, SelectionCriteria criteria)<T extends Method>
List<SelectedMethod<T>>FactoryParameterSelector. getMatchingMethods(Method mappingMethod, List<SelectedMethod<T>> methods, List<Type> sourceTypes, Type mappingTargetType, Type returnType, SelectionCriteria criteria)<T extends Method>
List<SelectedMethod<T>>InheritanceSelector. getMatchingMethods(Method mappingMethod, List<SelectedMethod<T>> methods, List<Type> sourceTypes, Type mappingTargetType, Type returnType, SelectionCriteria criteria)<T extends Method>
List<SelectedMethod<T>>MethodFamilySelector. getMatchingMethods(Method mappingMethod, List<SelectedMethod<T>> methods, List<Type> sourceTypes, Type mappingTargetType, Type returnType, SelectionCriteria criteria)<T extends Method>
List<SelectedMethod<T>>MethodSelectors. getMatchingMethods(Method mappingMethod, List<T> methods, List<Type> sourceTypes, Type mappingTargetType, Type returnType, SelectionCriteria criteria)Selects those methods which match the given types and other criteria<T extends Method>
List<SelectedMethod<T>>QualifierSelector. getMatchingMethods(Method mappingMethod, List<SelectedMethod<T>> methods, List<Type> sourceTypes, Type mappingTargetType, Type returnType, SelectionCriteria criteria)<T extends Method>
List<SelectedMethod<T>>SourceRhsSelector. getMatchingMethods(Method mappingMethod, List<SelectedMethod<T>> candidates, List<Type> sourceTypes, Type mappingTargetType, Type returnType, SelectionCriteria criteria)<T extends Method>
List<SelectedMethod<T>>TargetTypeSelector. getMatchingMethods(Method mappingMethod, List<SelectedMethod<T>> methods, List<Type> sourceTypes, Type mappingTargetType, Type returnType, SelectionCriteria criteria)<T extends Method>
List<SelectedMethod<T>>TypeSelector. getMatchingMethods(Method mappingMethod, List<SelectedMethod<T>> methods, List<Type> sourceTypes, Type mappingTargetType, Type returnType, SelectionCriteria criteria)<T extends Method>
List<SelectedMethod<T>>XmlElementDeclSelector. getMatchingMethods(Method mappingMethod, List<SelectedMethod<T>> methods, List<Type> sourceTypes, Type mappingTargetType, Type returnType, SelectionCriteria criteria) -
Uses of Type in org.mapstruct.ap.internal.processor.creation
Methods in org.mapstruct.ap.internal.processor.creation with parameters of type Type Modifier and Type Method Description AssignmentMappingResolverImpl. getTargetAssignment(Method mappingMethod, ForgedMethodHistory description, Type targetType, FormattingParameters formattingParameters, SelectionCriteria criteria, SourceRHS sourceRHS, AnnotationMirror positionHint, Supplier<Assignment> forger)
-