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.common |
Contains types which are shared between the intermediary mapping method model ("source model") and the mapper model.
|
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 the
MapperCreationProcessor
|
Modifier and Type | Method and Description |
---|---|
Type |
CreateDecimalFormat.getReturnType() |
Modifier and Type | Method and Description |
---|---|
protected List<Type> |
AbstractNumberToStringConversion.getFromConversionExceptionTypes(ConversionContext conversionContext) |
protected List<Type> |
SimpleConversion.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> |
EnumStringConversion.getFromConversionImportTypes(ConversionContext conversionContext) |
protected Set<Type> |
JodaDateTimeToCalendarConversion.getFromConversionImportTypes(ConversionContext conversionContext) |
protected Set<Type> |
JodaTimeToDateConversion.getFromConversionImportTypes(ConversionContext conversionContext) |
protected Set<Type> |
SimpleConversion.getFromConversionImportTypes(ConversionContext conversionContext)
Returns a set with imported types of the "from" conversion.
|
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> |
DateToSqlTimeConversion.getToConversionImportTypes(ConversionContext conversionContext) |
protected Set<Type> |
DateToSqlTimestampConversion.getToConversionImportTypes(ConversionContext conversionContext) |
protected Set<Type> |
JodaDateTimeToCalendarConversion.getToConversionImportTypes(ConversionContext conversionContext) |
protected Set<Type> |
SimpleConversion.getToConversionImportTypes(ConversionContext conversionContext)
Returns a set with imported types of the "to" conversion.
|
Modifier and Type | Method and Description |
---|---|
ConversionProvider |
Conversions.getConversion(Type sourceType,
Type targetType) |
Modifier and Type | Method and Description |
---|---|
Type |
HelperMethod.getDeclaringMapper()
Returns the mapper type declaring this method if it is not declared by the mapper interface currently processed
but by another mapper imported via
Mapper#users() . |
Type |
LifecycleCallbackMethodReference.getDeclaringType() |
Type |
HelperMethod.getDefiningType() |
Type |
MethodReference.getDefiningType() |
Type |
IterableMappingMethod.getResultElementType() |
Type |
BeanMappingMethod.getResultType() |
Type |
HelperMethod.getResultType() |
Type |
MappingMethod.getResultType() |
Type |
MappingMethod.getReturnType() |
Type |
MethodReference.getSingleSourceParameterType() |
Type |
IterableMappingMethod.getSourceElementType() |
Type |
MethodReference.getSourceType() |
Type |
SourceRHS.getSourceType() |
Type |
TypeConversion.getSourceType() |
Type |
PropertyMapping.getTargetType() |
Type |
Annotation.getType() |
Type |
Field.getType()
Returns the type of this field.
|
Type |
LocalVariable.getType() |
Type |
NestedPropertyMappingMethod.SafePropertyEntry.getType() |
Modifier and Type | Method and Description |
---|---|
Set<Type> |
Annotation.getImportTypes() |
Set<Type> |
AnnotationMapperReference.getImportTypes() |
Set<Type> |
BeanMappingMethod.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> |
IterableMappingMethod.getImportTypes() |
Set<Type> |
LifecycleCallbackMethodReference.getImportTypes() |
Set<Type> |
LocalVariable.getImportTypes() |
Set<Type> |
MapMappingMethod.getImportTypes() |
Set<Type> |
MappingMethod.getImportTypes() |
Set<Type> |
MethodReference.getImportTypes() |
Set<Type> |
NestedLocalVariableAssignment.getImportTypes() |
Set<Type> |
NestedPropertyMappingMethod.getImportTypes() |
Set<Type> |
PropertyMapping.getImportTypes() |
Set<Type> |
ServicesEntry.getImportTypes() |
Set<Type> |
SourceRHS.getImportTypes() |
Set<Type> |
TypeConversion.getImportTypes() |
Set<Type> |
VirtualMappingMethod.getImportTypes() |
List<Type> |
MapMappingMethod.getResultElementTypes() |
List<Type> |
MapMappingMethod.getSourceElementTypes() |
List<Type> |
HelperMethod.getThrownTypes() |
List<Type> |
MappingMethod.getThrownTypes() |
List<Type> |
MethodReference.getThrownTypes() |
List<Type> |
SourceRHS.getThrownTypes() |
List<Type> |
TypeConversion.getThrownTypes() |
Modifier and Type | Method and Description |
---|---|
protected void |
GeneratedType.addIfImportRequired(Collection<Type> collection,
Type typeToAdd) |
boolean |
HelperMethod.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.
|
MethodReference |
MappingBuilderContext.MappingResolver.getFactoryMethod(Method mappingMethod,
Type target,
SelectionParameters selectionParameters)
returns a no arg factory method
|
static DefaultMapperReference |
DefaultMapperReference.getInstance(Type type,
boolean isAnnotatedMapper,
TypeFactory typeFactory,
List<String> otherMapperReferences) |
Assignment |
MappingBuilderContext.MappingResolver.getTargetAssignment(Method mappingMethod,
String mappedElement,
Type sourceType,
Type targetType,
String targetPropertyName,
FormattingParameters formattingParameters,
SelectionParameters selectionParameters,
SourceRHS sourceRHS,
boolean preferUpdateMethods)
returns a parameter assignment
|
boolean |
HelperMethod.matches(List<Type> sourceTypes,
Type targetType)
Checks whether the provided sourceType and provided targetType match with the parameter respectively return type
of the method.
|
Modifier and Type | Method and Description |
---|---|
protected void |
GeneratedType.addIfImportRequired(Collection<Type> collection,
Type typeToAdd) |
Decorator.Builder |
Decorator.Builder.extraImports(SortedSet<Type> extraImportedTypes) |
Mapper.Builder |
Mapper.Builder.extraImports(SortedSet<Type> extraImportedTypes) |
boolean |
HelperMethod.matches(List<Type> sourceTypes,
Type targetType)
Checks whether the provided sourceType and provided targetType match with the parameter respectively return type
of the method.
|
Constructor and Description |
---|
Annotation(Type type) |
Annotation(Type type,
List<String> properties) |
AnnotationMapperReference(Type type,
String variableName,
List<Annotation> annotations,
boolean isUsed) |
Field(Type type,
String variableName) |
Field(Type type,
String variableName,
boolean used) |
LocalVariable(String name,
Type type,
Assignment factoryMethod) |
MapperReference(Type type,
String variableName) |
MapperReference(Type type,
String variableName,
boolean isUsed) |
MethodReference(Method method,
MapperReference declaringMapper,
Type targetType)
Creates a new reference to the given method.
|
SourceRHS(String sourceReference,
Type sourceType) |
Constructor and Description |
---|
GeneratedType(TypeFactory typeFactory,
String packageName,
String name,
String superClassName,
String interfacePackage,
String interfaceName,
List<MappingMethod> methods,
List<? extends Field> fields,
Options options,
VersionInformation versionInformation,
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) |
Modifier and Type | Method and Description |
---|---|
Type |
WrapperForCollectionsAndMaps.getLocalVarType() |
Type |
AdderWrapper.getSourceType() |
Type |
Assignment.getSourceType()
the source type.
|
Type |
AssignmentWrapper.getSourceType() |
Modifier and Type | Method and Description |
---|---|
Set<Type> |
AdderWrapper.getImportTypes() |
Set<Type> |
ArrayCopyWrapper.getImportTypes() |
Set<Type> |
Assignment.getImportTypes()
returns all types required as import by the assignment statement.
|
Set<Type> |
AssignmentWrapper.getImportTypes() |
Set<Type> |
EnumConstantWrapper.getImportTypes() |
Set<Type> |
LocalVarWrapper.getImportTypes() |
Set<Type> |
SetterWrapperForCollectionsAndMaps.getImportTypes() |
Set<Type> |
UpdateWrapper.getImportTypes() |
Set<Type> |
WrapperForCollectionsAndMaps.getImportTypes() |
List<Type> |
AdderWrapper.getThrownTypes() |
List<Type> |
Assignment.getThrownTypes()
returns all types exception types thrown by this assignment.
|
List<Type> |
AssignmentWrapper.getThrownTypes() |
List<Type> |
LocalVarWrapper.getThrownTypes() |
List<Type> |
SetterWrapper.getThrownTypes() |
List<Type> |
UpdateWrapper.getThrownTypes() |
List<Type> |
WrapperForCollectionsAndMaps.getThrownTypes() |
Constructor and Description |
---|
AdderWrapper(Assignment decoratedAssignment,
List<Type> thrownTypesToExclude,
String sourceReference,
Type sourceType) |
ArrayCopyWrapper(Assignment decoratedAssignment,
String targetPropertyName,
Type arraysType,
Type targetType,
Collection<String> existingVariableNames) |
EnumConstantWrapper(Assignment decoratedAssignment,
Type enumType) |
GetterWrapperForCollectionsAndMaps(Assignment decoratedAssignment,
List<Type> thrownTypesToExclude,
Set<String> existingVariableNames,
Type targetType)
constructor for e.g. constants and expressions
|
GetterWrapperForCollectionsAndMaps(Assignment decoratedAssignment,
List<Type> thrownTypesToExclude,
String sourcePresenceChecker,
Set<String> existingVariableNames,
Type targetType)
constructor for property mapping
|
LocalVarWrapper(Assignment decoratedAssignment,
List<Type> thrownTypesToExclude,
Type targetType) |
SetterWrapperForCollectionsAndMaps(Assignment decoratedAssignment,
List<Type> thrownTypesToExclude,
String sourcePresenceChecker,
Set<String> existingVariableNames,
Type targetType,
boolean allwaysIncludeNullCheck,
TypeFactory typeFactory) |
UpdateWrapper(Assignment decoratedAssignment,
List<Type> thrownTypesToExclude,
Assignment factoryMethod,
Type targetImplementationType) |
WrapperForCollectionsAndMaps(Assignment decoratedAssignment,
List<Type> thrownTypesToExclude,
String sourcePresenceChecker,
Set<String> existingVariableNames,
Type targetType) |
Constructor and Description |
---|
AdderWrapper(Assignment decoratedAssignment,
List<Type> thrownTypesToExclude,
String sourceReference,
Type sourceType) |
GetterWrapperForCollectionsAndMaps(Assignment decoratedAssignment,
List<Type> thrownTypesToExclude,
Set<String> existingVariableNames,
Type targetType)
constructor for e.g. constants and expressions
|
GetterWrapperForCollectionsAndMaps(Assignment decoratedAssignment,
List<Type> thrownTypesToExclude,
String sourcePresenceChecker,
Set<String> existingVariableNames,
Type targetType)
constructor for property mapping
|
LocalVarWrapper(Assignment decoratedAssignment,
List<Type> thrownTypesToExclude,
Type targetType) |
SetterWrapper(Assignment decoratedAssignment,
List<Type> thrownTypesToExclude) |
SetterWrapperForCollectionsAndMaps(Assignment decoratedAssignment,
List<Type> thrownTypesToExclude,
String sourcePresenceChecker,
Set<String> existingVariableNames,
Type targetType,
boolean allwaysIncludeNullCheck,
TypeFactory typeFactory) |
UpdateWrapper(Assignment decoratedAssignment,
List<Type> thrownTypesToExclude,
Assignment factoryMethod,
Type targetImplementationType) |
WrapperForCollectionsAndMaps(Assignment decoratedAssignment,
List<Type> thrownTypesToExclude,
String sourcePresenceChecker,
Set<String> existingVariableNames,
Type targetType) |
Modifier and Type | Method and Description |
---|---|
Type |
TypeFactory.asCollectionOrMap(Type collectionOrMap)
Converts any collection type, e.g.
|
Type |
TypeFactory.classTypeOf(Type type)
Returns the Type that represents the declared Class type of the given type.
|
Type |
Type.erasure() |
Type |
Type.getComponentType() |
Type |
Type.getImplementationType()
Returns the implementation type to be instantiated in case this type is an interface iterable, collection or map
type.
|
Type |
TypeFactory.getReturnType(DeclaredType includingType,
ExecutableElement method) |
Type |
TypeFactory.getReturnType(ExecutableType method) |
Type |
ConversionContext.getTargetType()
Returns the target type of this conversion.
|
Type |
DefaultConversionContext.getTargetType() |
Type |
Parameter.getType() |
Type |
TypeFactory.getType(Class<?> type) |
Type |
TypeFactory.getType(String canonicalName) |
Type |
TypeFactory.getType(TypeElement typeElement) |
Type |
TypeFactory.getType(TypeMirror mirror) |
Type |
Type.getTypeBound()
Establishes the type bound:
{@code
|
Type |
TypeFactory.getWrappedType(Type type) |
Modifier and Type | Method and Description |
---|---|
List<Type> |
Type.determineTypeArguments(Class<?> superclass)
Searches for the given superclass and collects all type arguments for the given class
|
abstract Set<Type> |
ModelElement.getImportTypes()
Returns a set containing those
Type s referenced by this model element for which an import statement needs
to be declared. |
Set<Type> |
Parameter.getImportTypes() |
Set<Type> |
Type.getImportTypes() |
List<Type> |
TypeFactory.getThrownTypes(DeclaredType includingType,
ExecutableElement method) |
List<Type> |
TypeFactory.getThrownTypes(ExecutableType method) |
List<Type> |
Type.getTypeParameters() |
Modifier and Type | Method and Description |
---|---|
Type |
TypeFactory.asCollectionOrMap(Type collectionOrMap)
Converts any collection type, e.g.
|
boolean |
Type.canAccess(Type type,
ExecutableElement method) |
Type |
TypeFactory.classTypeOf(Type type)
Returns the Type that represents the declared Class type of the given type.
|
int |
Type.compareTo(Type o) |
int |
Type.distanceTo(Type assignableOther)
Returns the length of the shortest path in the type hierarchy between this type and the specified other type.
|
Type |
TypeFactory.getWrappedType(Type type) |
boolean |
Type.isAssignableTo(Type other)
Whether this type is assignable to the given other type.
|
Constructor and Description |
---|
DefaultConversionContext(TypeFactory typeFactory,
FormattingMessager messager,
Type sourceType,
Type targetType,
String dateFormat,
String numberFormat) |
Parameter(String name,
Type type) |
Parameter(String name,
Type type,
boolean mappingTarget,
boolean targetType) |
Type(Types typeUtils,
Elements elementUtils,
TypeFactory typeFactory,
TypeMirror typeMirror,
TypeElement typeElement,
List<Type> typeParameters,
Type implementationType,
Type componentType,
String packageName,
String name,
String qualifiedName,
boolean isInterface,
boolean isEnumType,
boolean isIterableType,
boolean isCollectionType,
boolean isMapType,
boolean isImported) |
Constructor and Description |
---|
Type(Types typeUtils,
Elements elementUtils,
TypeFactory typeFactory,
TypeMirror typeMirror,
TypeElement typeElement,
List<Type> typeParameters,
Type implementationType,
Type componentType,
String packageName,
String name,
String qualifiedName,
boolean isInterface,
boolean isEnumType,
boolean isIterableType,
boolean isCollectionType,
boolean isMapType,
boolean isImported) |
Modifier and Type | Method and Description |
---|---|
Type |
ForgedMethod.getDeclaringMapper() |
Type |
Method.getDeclaringMapper()
Returns the mapper type declaring this method if it is not declared by the mapper interface currently processed
but by another mapper imported via
Mapper#users() . |
Type |
SourceMethod.getDeclaringMapper()
Returns the mapper type declaring this method if it is not declared by the mapper interface currently processed
but by another mapper imported via
Mapper#users() . |
Type |
ForgedMethod.getDefiningType() |
Type |
Method.getDefiningType() |
Type |
SourceMethod.getDefiningType() |
Type |
ForgedMethod.getResultType() |
Type |
Method.getResultType()
Returns the type of the result.
|
Type |
SourceMethod.getResultType() |
Type |
ForgedMethod.getReturnType() |
Type |
Method.getReturnType()
Returns the return type of the method
|
Type |
SourceMethod.getReturnType()
Returns the return type of the method
|
Type |
PropertyEntry.getType() |
Modifier and Type | Method and Description |
---|---|
List<Type> |
ForgedMethod.getThrownTypes() |
List<Type> |
Method.getThrownTypes()
Returns all exceptions thrown by this method
|
List<Type> |
SourceMethod.getThrownTypes() |
Modifier and Type | Method and Description |
---|---|
static PropertyEntry |
PropertyEntry.forSourceReference(String name,
ExecutableElement readAccessor,
ExecutableElement presenceChecker,
Type type)
Constructor used to create
SourceReference property entries from a mapping |
static PropertyEntry |
PropertyEntry.forTargetReference(String[] fullName,
ExecutableElement readAccessor,
ExecutableElement writeAccessor,
Type type)
Constructor used to create
TargetReference property entries |
boolean |
ForgedMethod.matches(List<Type> sourceTypes,
Type targetType) |
boolean |
Method.matches(List<Type> sourceTypes,
Type targetType)
Checks whether the provided sourceType and provided targetType match with the parameter respectively return type
of the method.
|
boolean |
SourceMethod.matches(List<Type> sourceTypes,
Type targetType)
Checks whether the provided sourceType and provided targetType match with the parameter respectively return type
of the method.
|
SourceMethod.Builder |
SourceMethod.Builder.setDeclaringMapper(Type declaringMapper) |
SourceMethod.Builder |
SourceMethod.Builder.setDefininingType(Type definingType) |
SourceMethod.Builder |
SourceMethod.Builder.setReturnType(Type returnType) |
SourceReference.BuilderFromProperty |
SourceReference.BuilderFromProperty.type(Type type) |
Modifier and Type | Method and Description |
---|---|
void |
ForgedMethod.addThrownTypes(List<Type> thrownTypesToAdd) |
boolean |
ForgedMethod.matches(List<Type> sourceTypes,
Type targetType) |
boolean |
Method.matches(List<Type> sourceTypes,
Type targetType)
Checks whether the provided sourceType and provided targetType match with the parameter respectively return type
of the method.
|
boolean |
SourceMethod.matches(List<Type> sourceTypes,
Type targetType)
Checks whether the provided sourceType and provided targetType match with the parameter respectively return type
of the method.
|
SourceMethod.Builder |
SourceMethod.Builder.setExceptionTypes(List<Type> exceptionTypes) |
Constructor and Description |
---|
ForgedMethod(String name,
Type sourceType,
Type targetType,
MapperConfiguration mapperConfiguration,
ExecutableElement positionHintElement)
Creates a new forged method with the given name.
|
Modifier and Type | Method and Description |
---|---|
Type |
BuiltInMethod.getDeclaringMapper()
Returns the mapper type declaring this method if it is not declared by the mapper interface currently processed
but by another mapper imported via
Mapper#users() . |
Type |
BuiltInMethod.getDefiningType() |
Type |
BuiltInMethod.getResultType() |
Type |
CalendarToXmlGregorianCalendar.getReturnType() |
Type |
CalendarToZonedDateTime.getReturnType() |
Type |
DateToXmlGregorianCalendar.getReturnType() |
Type |
JaxbElemToValue.getReturnType() |
Type |
JodaDateTimeToXmlGregorianCalendar.getReturnType() |
Type |
JodaLocalDateTimeToXmlGregorianCalendar.getReturnType() |
Type |
JodaLocalDateToXmlGregorianCalendar.getReturnType() |
Type |
JodaLocalTimeToXmlGregorianCalendar.getReturnType() |
Type |
LocalDateToXmlGregorianCalendar.getReturnType() |
Type |
StringToXmlGregorianCalendar.getReturnType() |
Type |
XmlGregorianCalendarToCalendar.getReturnType() |
Type |
XmlGregorianCalendarToDate.getReturnType() |
Type |
XmlGregorianCalendarToJodaDateTime.getReturnType() |
Type |
XmlGregorianCalendarToJodaLocalDate.getReturnType() |
Type |
XmlGregorianCalendarToJodaLocalDateTime.getReturnType() |
Type |
XmlGregorianCalendarToJodaLocalTime.getReturnType() |
Type |
XmlGregorianCalendarToLocalDate.getReturnType() |
Type |
XmlGregorianCalendarToString.getReturnType() |
Type |
ZonedDateTimeToCalendar.getReturnType() |
Modifier and Type | Method and Description |
---|---|
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> |
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> |
XmlGregorianCalendarToString.getImportTypes() |
Set<Type> |
ZonedDateTimeToCalendar.getImportTypes() |
List<Type> |
BuiltInMethod.getThrownTypes() |
Modifier and Type | Method and Description |
---|---|
boolean |
BuiltInMethod.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.
|
boolean |
JaxbElemToValue.doTypeVarsMatch(Type sourceType,
Type targetType) |
boolean |
BuiltInMethod.matches(List<Type> sourceTypes,
Type targetType)
Checks whether the provided sourceType and provided targetType match with the parameter respectively return type
of the method.
|
Modifier and Type | Method and Description |
---|---|
boolean |
BuiltInMethod.matches(List<Type> sourceTypes,
Type targetType)
Checks whether the provided sourceType and provided targetType match with the parameter respectively return type
of the method.
|
Modifier and Type | Method and Description |
---|---|
<T extends Method> |
CreateOrUpdateSelector.getMatchingMethods(Method mappingMethod,
List<T> methods,
Type sourceType,
Type targetType,
SelectionCriteria criteria) |
<T extends Method> |
InheritanceSelector.getMatchingMethods(Method mappingMethod,
List<T> methods,
Type sourceType,
Type targetType,
SelectionCriteria criteria) |
<T extends Method> |
MethodSelector.getMatchingMethods(Method mappingMethod,
List<T> methods,
Type sourceType,
Type targetType,
SelectionCriteria criteria)
Selects those methods which match the given types and other criteria
|
<T extends Method> |
MethodSelectors.getMatchingMethods(Method mappingMethod,
List<T> methods,
Type sourceType,
Type targetType,
SelectionCriteria criteria) |
<T extends Method> |
QualifierSelector.getMatchingMethods(Method mappingMethod,
List<T> methods,
Type sourceType,
Type targetType,
SelectionCriteria criteria) |
<T extends Method> |
TargetTypeSelector.getMatchingMethods(Method mappingMethod,
List<T> methods,
Type sourceType,
Type targetType,
SelectionCriteria criteria) |
<T extends Method> |
TypeSelector.getMatchingMethods(Method mappingMethod,
List<T> methods,
Type sourceType,
Type targetType,
SelectionCriteria criteria) |
<T extends Method> |
XmlElementDeclSelector.getMatchingMethods(Method mappingMethod,
List<T> methods,
Type sourceType,
Type targetType,
SelectionCriteria criteria) |
Modifier and Type | Method and Description |
---|---|
MethodReference |
MappingResolverImpl.getFactoryMethod(Method mappingMethod,
Type targetType,
SelectionParameters selectionParameters) |
Assignment |
MappingResolverImpl.getTargetAssignment(Method mappingMethod,
String mappedElement,
Type sourceType,
Type targetType,
String targetPropertyName,
FormattingParameters formattingParameters,
SelectionParameters selectionParameters,
SourceRHS sourceRHS,
boolean preferUpdateMapping) |
Copyright © 2012-2016 Gunnar Morling; All rights reserved. Released under the Apache Software License 2.0.