671 Commits

Author SHA1 Message Date
sjaakd
b2ef82ba5c #383 introduction of @InheritConfiguration to align update with create methods (single source) 2014-12-28 22:22:31 +01:00
Andreas Gudian
3e81651455 Minor formatting fixes of generated code 2014-12-28 21:13:09 +01:00
sjaakd
08cf60e46a #108 Aligning Array and Itterable mapping. Added ArrayCopyWrapper. 2014-12-28 20:52:01 +01:00
Gunnar Morling
44509a158e #108 Simplify error analysis in case null is passed via model include 2014-12-28 20:52:01 +01:00
Ewald Volkert
0b9ca3548d #274 Evaluate explicit types of method parameters and return types using Types#asMemberOf 2014-12-28 20:39:26 +01:00
teckhard
ebbeb7c549 #224 extended DefaultConversionContext for verifying the dateFormat if defined. Based on the source/target type it´s checked against SimpleDateFormat, Joda Time or Java 8 Time 2014-12-22 12:55:32 +01:00
sjaakd
9b8076eff3 #374 non-compilable code for @NullValueMapping.RETURN_DEFAULT in combination with @MappingTarget 2014-12-13 17:53:16 +01:00
sjaakd
4730ded4d8 #373 Removing superfluous null check when mapping parameter directly. 2014-12-13 17:47:18 +01:00
sjaakd
c551a2d27d #373 Flattening and simplifying generated forged method 2014-12-13 17:47:18 +01:00
sjaakd
21010bae7f #373 Non-compilable code generated for nested property 2014-12-13 17:47:18 +01:00
sjaakd
1d9372a45b #375 safe variable for parameter in forged methods 2014-12-08 20:04:13 +01:00
sjaakd
e4de641911 #367 renaming method addEnclosingElementsIncludingSuper 2014-12-02 21:49:14 +01:00
Andreas Gudian
0c26b78702 #367 fix detection of overridden methods 2014-12-02 13:03:17 +01:00
Gunnar Morling
d0b3ba071d [maven-release-plugin] prepare for next development iteration 2014-11-30 19:43:18 +01:00
Gunnar Morling
d18cb9c64d [maven-release-plugin] prepare release 1.0.0.Beta3 2014-11-30 19:43:17 +01:00
Gunnar Morling
acaf1a60a0 Configuring all executions of dependency plug-in in one block; Making sure JavaDoc can reference FreeMarker classes 2014-11-27 20:43:58 +01:00
Gunnar Morling
4d236472e2 Fixing Javadoc issues 2014-11-27 19:32:58 +01:00
Gunnar Morling
63ca67786d #361 Using more descriptive test name 2014-11-26 23:18:02 +01:00
sjaakd
403995af9a #361 returning mutable objects iso immutable objects when RETURN_DEFAULT 2014-11-26 23:01:20 +01:00
Andreas Gudian
5c323458fc #359 Renaming license.txt to LICENSE.txt, include LICENSE.txt in all distributed jars, retain original freemarker LICENSE.txt and NOTICE.txt in META-INF/freemarker 2014-11-26 21:03:48 +01:00
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
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
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