Andreas Gudian
ace47f7e67
extend current classloader instead of creating a classloader chain.
2014-02-16 22:24:59 +01:00
Gunnar Morling
cce558827d
#34 Adding concerned method to reported diagnostic in case a mapping is ambiguous
2014-02-09 19:19:09 +01:00
Gunnar Morling
785ccece90
#34 Asserting line and source type of diagnostics only when specified via @Diagnostic
2014-02-09 19:17:24 +01:00
Gunnar Morling
f122daec6d
#81 Formatting
2014-02-09 11:21:52 +01:00
sjaakd
aa06a767ac
#81 adding implementation for Map and Iterable types, and adding unit test. NOTE a TODO is still in MapperCreationProcessor
2014-02-02 20:36:49 +01:00
sjaakd
3f94c51884
#81 adding unit test for ambiguous factory error
2014-02-02 19:08:11 +01:00
sjaakd
8bdec6405d
#81 integrating #112 in the factory solution
2014-01-31 22:54:32 +01:00
sjaakd
c3df6d8572
squash issue 81 after rebase to issue 112
2014-01-30 23:09:36 +01:00
Andreas Gudian
de7aab04b0
Remove JDK 7 API usage
2014-01-30 20:29:39 +01:00
Gunnar Morling
e5668325f0
#112 Making sure not more than one type with the same simple name is imported
2014-01-29 21:03:20 +01:00
Gunnar Morling
78b0943953
#112 Making sure mapper references have unique variable names and referenced methods are invoked on the right variable
2014-01-29 00:35:26 +01:00
Gunnar Morling
05b2e49364
#112 Making @Inject et al. available for processor tests
2014-01-28 22:21:02 +01:00
Gunnar Morling
5dd3ab2bec
#104 Fixing issue which prevented the mapping of a property which has no setter in the source and is named as source via @Mapping
2014-01-21 22:42:55 +01:00
Gunnar Morling
8dd505b63e
#92 Formatting and minor clean-ups
2014-01-20 23:20:41 +01:00
sjaakd
6c2683a6f3
#92 The getter methods and setter methods contain pure getters and setters. A new method has been created to offer an alternative target accessors for Collection properties when setter is not available. The lists for this are kept separate.
2014-01-20 22:37:31 +01:00
sjaakd
e5cfb07af5
issue 92 solution for list getter without setter
2014-01-20 22:37:31 +01:00
Gunnar Morling
3e34b6f6eb
#94 Adding another test
2014-01-20 00:09:13 +01:00
Gunnar Morling
77e6890b00
#94 Formatting, renaming test
2014-01-19 23:56:35 +01:00
sjaakd
e82277e0fc
#94 Allowing to map the same source property to several target properties
2014-01-19 23:45:39 +01:00
Andreas Gudian
cd058663f4
#90 extend DefaultCollectionImplementationTest to cover all collection and map types declared in the test mapper
2014-01-12 21:49:09 +01:00
Andreas Gudian
fc0a4570b7
#89 create test for correct instanciation of referenced mappers with default component model
2014-01-12 21:07:11 +01:00
Gunnar Morling
3c8f969573
#86 Updating license header
2014-01-12 19:48:08 +01:00
Gunnar Morling
a7be616ee9
#34 Fixing some typos; Removing Type#isAnnotatedMapper() in favor of the more generic isAnnotatedWith() method; Formatting
2014-01-08 22:26:51 +01:00
Andreas Gudian
aa3fa638b9
#34 Find best matching property mapping methods
...
#82 fix using Mappers factory to instanciate used mappers annotated with @Mapper
2014-01-07 22:55:46 +01:00
Gunnar Morling
f9bfc4572e
#87 Supporting iterable mapping methods where the target element type is the same as or a super-type of the source element type; Raising an error if iterable or map mapping methods can't be generated
2014-01-06 00:00:23 +01:00
Gunnar Morling
e325862448
#79 Formatting
2014-01-05 20:08:15 +01:00
Gunnar Morling
623acb6f10
#79 Some typo fixes, simplifications and comment improvements
2014-01-05 20:08:15 +01:00
sjaak
3bdc67f9ba
Issue #79 Fixing @withClasses per test case
2014-01-05 20:08:15 +01:00
sjaak
b249c2ced1
Issue #79 Adding generics solution for custom mappers
2014-01-05 20:07:55 +01:00
Gunnar Morling
260a685f65
Merging test classes specified via @WithClasses on method and class level
2014-01-05 00:27:39 +01:00
Gunnar Morling
8426b1af34
Making processor a bit more robust against source files missing in compilation
2014-01-04 18:14:06 +01:00
Andreas Gudian
dddfdf1a70
Fix compile problem with jdk 6
2013-12-02 22:19:25 +01:00
Gunnar Morling
d38a72c534
#74 Adding support for generating methods from abstract classes
2013-11-30 23:05:01 +01:00
Gunnar Morling
ae8e4f4b81
#21 Adding conversions for BigDecimal
2013-08-16 20:38:24 +02:00
Gunnar Morling
c2a7853e4c
#52 Moving Mappers class to package org.mapstruct.factory
2013-08-16 19:11:46 +02:00
Gunnar Morling
be3018b614
#61 Raising an error in case a collection/map attribute can't be propagated due to differently parameterized attributes in source and target
2013-08-15 23:53:52 +02:00
Gunnar Morling
186c127ebd
#61 Instantiating collections/maps also if implementation type is used as target type
2013-08-15 23:53:52 +02:00
Gunnar Morling
1e280f83c9
#61 Making sure attributes can be mapped if target attribute is of a super-type
2013-08-15 23:53:52 +02:00
Gunnar Morling
e82dd009f0
#61 Adding test for map mapping
2013-08-15 23:53:52 +02:00
Gunnar Morling
86a8e72692
#31 Providing support for bean mapping methods with several source parameters
2013-08-15 23:53:51 +02:00
Gunnar Morling
1648375ede
#31 Improving reporting in case actual diagnostics are different than expected ones
2013-08-15 23:53:51 +02:00
Gunnar Morling
305a2ec475
#58 Adding methods in test mapper
2013-07-22 22:31:43 +02:00
Gunnar Morling
45968f9fd7
#19 Requiring @MappingTarget annotation for target parameters for the sake of readability/explicitness; Improving test method names
2013-07-21 12:23:43 +02:00
Gunnar Morling
a931cff0e5
Merge branch 'agudian_19'
...
# By Andreas Gudian (2) and Gunnar Morling (1)
* agudian_19:
#19 Simplifying creation of MappingMethod objects
#19 Map into existing instances. - Either defined explicitly with @MappingTarget, or implicitly as last parameter in a void method.
Have spaces on empty for iterator pads
2013-07-21 11:41:49 +02:00
Andreas Gudian
466a640ced
#19 Map into existing instances.
...
- Either defined explicitly with @MappingTarget, or implicitly as last parameter in a void method.
2013-07-16 23:09:57 +02:00
Gunnar Morling
1b0447d404
#53 Avoiding conlicting variable names
2013-07-15 23:43:11 +02:00
Gunnar Morling
f9343bdc3f
#44 Adding tests for referencing map mapping methods for mapping properties
2013-07-14 22:45:22 +02:00
Gunnar Morling
ea436e061f
#44 Adding support for specification of date formats in Map mapping methods
2013-07-14 22:31:47 +02:00
Gunnar Morling
346512cc82
#44 Generating Map mapping methods
2013-07-14 17:09:38 +02:00
Gunnar Morling
9dd8c179e3
#26 Mapping between String iterables and Date iterables
2013-07-07 14:45:51 +02:00