675 Commits

Author SHA1 Message Date
Gunnar Morling
ecc13a8f32 #353 Making use of non-void setters 2014-11-25 22:27:56 +01:00
Gunnar Morling
48c20d4dd0 #295 Adding test for bean mapping method with several source parameters 2014-11-24 22:55:18 +01:00
Gunnar Morling
9f7a00c556 #295 Renaming test package 2014-11-24 22:33:53 +01:00
Gunnar Morling
2fde97c039 #295 Formatting 2014-11-24 22:33:17 +01:00
Gunnar Morling
4ca2b6ecf1 #295 Improving wording in JavaDocs, making @NullValueMapping#value() mandatory 2014-11-24 22:27:20 +01:00
sjaakd
8ea20d4315 #295 Replacing MapNullToDefault with NullValueMapping 2014-11-24 21:43:12 +01:00
sjaakd
ac0a532fb4 #295 NullValueMapping inheritance mechanism from MapperConfig to Mapper to Method 2014-11-24 21:13:54 +01:00
sjaakd
27ad78d524 #295 NullValueMapping for MapMapping on mapping method level 2014-11-24 21:13:05 +01:00
sjaakd
cf27f45f68 #295 Avoid using fully qualified names for local variables 2014-11-24 21:11:57 +01:00
sjaakd
94d8158bca #295 NullValueMapping for IterableMapping on mapping method level 2014-11-24 21:11:14 +01:00
sjaakd
24dc73765f #295 NullValueMapping for BeanMapping on mapping method level 2014-11-24 21:09:59 +01:00
sjaakd
77937259b5 #295 Refactor PropertyMapping, split into object- and collection mapping 2014-11-24 21:06:43 +01:00
sjaakd
7948acf630 #348 Mapping parameters based on name when other mappings fail 2014-11-23 22:00:07 +01:00
Andreas Gudian
7d1c5c2f24 #355 shade away freemarker in mapstruct-processor, build an uber-jar containing the processor and the required freemarker classes and publish a dependency-reduced pom. 2014-11-23 20:04:26 +01:00
Andreas Gudian
fe7f0779bd Remove maven-processor-plugin from integrationtest module, as it's not required there anymore 2014-11-23 20:04:09 +01:00
Christian Schuster
1b882f3bd7 #262 prefix processor options with 'mapstruct.' 2014-11-23 19:06:12 +01:00
Andreas Gudian
3822e723b7 #331 remove remaining runtime dependencies from processor to mapstruct core, add checkstyle rule to verify that for the future. 2014-11-21 06:40:16 +01:00
Gunnar Morling
7ae6e663b6 #337 Moving mergeWithInverseMappings() to SourceMethod; Improving some names; Adding some docs 2014-11-19 23:28:59 +01:00
sjaakd
0237aba013 #337 refining reverse mappings for ignore and nestedproperties, remove check on reverse 2014-11-19 21:56:56 +01:00
Andreas Gudian
5f05999260 #345 fix detection of matching upper/lower bounds when using Eclipse JDT 2014-11-19 21:50:00 +01:00
Andreas Gudian
ce5bf3b498 #344 only consider methods as property mapping methods if they have one source parameter, a non-void return type, and no @MappingTarget parameter 2014-11-19 21:50:00 +01:00
Andreas Gudian
3948a2d58b #312 prevent another possible ClassCastException in JDT in case we try to compute the erasure of the Null type 2014-11-19 21:50:00 +01:00
Andreas Gudian
760be8f4f8 Add extract of the unit tests for generics and @TargetType support to an integration test 2014-11-19 21:50:00 +01:00
Gunnar Morling
dfe7e8012b #341 Doc improvement 2014-11-19 21:41:03 +01:00
sjaakd
e2dbd6ae1d #341 method annotated with qualifier should not qualify for mappings without qualifiedBy 2014-11-19 21:25:27 +01:00
sjaakd
fd08330b94 #339 error message clarification: #321, adding coding hint to 'can't map property' 2014-11-19 21:08:15 +01:00
sjaakd
6a46ac068f #339 error message clarification: ambiguous mapping method 2014-11-19 20:57:18 +01:00
sjaakd
5bca22702e #343 wrongly placed candidates.clear() causes too many error messages 2014-11-18 22:56:37 +01:00
Gunnar Morling
bcda1d25b7 #327 Improving method name; Formatting 2014-11-18 22:10:25 +01:00
Andreas Gudian
03535ecb18 #327 Move MethodRetrievalProcessor#allEnclosingElementsIncludeSuper to Executables#getAllEnclosingExecutableElements and replace any Elements#getAllMembers calls with it (to create a fixed order of property mappings) 2014-11-18 17:58:54 +01:00
Gunnar Morling
9992801f28 #212 Adding support for isXy()-style getters for Boolean 2014-11-06 19:06:16 +01:00
Gunnar Morling
b8d3f50389 #212 Fixing typo 2014-11-05 23:10:15 +01:00
Gunnar Morling
fc1eee0ae2 #65 Adding note on nested properties to docs of @Mapping#source() 2014-11-05 22:53:02 +01:00
Gunnar Morling
1d35f2f70c #65 Formatting 2014-11-05 22:43:09 +01:00
Gunnar Morling
160af62acf #65 Doc/formatting improvements 2014-11-05 22:41:51 +01:00
Gunnar Morling
d0db16072a #65 Some clean-up in BeanMappingMethod 2014-11-05 22:33:11 +01:00
Gunnar Morling
7041361b76 #65 Removing FactoryMethod interface 2014-11-05 19:31:51 +01:00
sjaakd
cda3ffc2f5 #65 support for nested properties 2014-11-04 21:13:19 +01:00
Gunnar Morling
18a248cd95 #330 Incorporating review remarks 2014-10-29 23:05:03 +01:00
Gunnar Morling
b560b953cf #330 Formatting 2014-10-26 22:41:04 +01:00
Gunnar Morling
9ea7f96b9c #330 Keying mappings by target property name; Avoiding nulls in mapping attributes 2014-10-26 22:38:19 +01:00
Gunnar Morling
27bc599bca #330 Making target() mandatory 2014-10-25 12:10:53 +02:00
Andreas Gudian
912ba714c1 #312 rename TypeUtilsJDK8Fix to SpecificCompilerWorkarounds and encapsulate all access to Types#erasure(..) by that class, preventing ClassCastExceptions in Eclipse JDT in case we try to determine the erasure of "void" 2014-10-24 22:23:39 +02:00
Andreas Gudian
c590e35548 #331 remove runtime dependency to mapstruct-core by using QualiferPrism instead of Qualifier.class 2014-10-24 16:43:53 +02:00
sjaakd
e4b0d53561 #325 bookkeeping issue in reverse mapping 2014-10-23 23:13:08 +02:00
Gunnar Morling
fa4226a8c2 #328 Fixing typo 2014-10-23 23:01:04 +02:00
Andreas Gudian
ba10a8c123 use == instead of equals when comparing enum instances 2014-10-21 20:06:17 +02:00
Andreas Gudian
8c3e32472b #328 if a source property is assignable to the target property, do not apply any built-in conversions 2014-10-21 20:05:12 +02:00
Andreas Gudian
54b8747e09 #312 fix ClassCastException in Eclipse JDT compiler when trying to compute the erasure of the 'void' type, extend integration test that reproduced the error 2014-10-20 15:44:22 +02:00
Gunnar Morling
4d408d5560 #252 Formatting 2014-10-14 22:03:32 +02:00