586 Commits

Author SHA1 Message Date
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
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
Gunnar Morling
32eeceb0cf #252 Renaming @ReverseMappingMethod to @InheritInverseConfiguration
* Improving error messages
* Fixing some typos
2014-10-14 22:03:32 +02:00
sjaakd
5457f3583a #252 merging reverse mapping with forward mapping. Fixing reverse check in Mapping. 2014-10-13 23:09:11 +02:00
Gunnar Morling
e94acd56a4 #302 Formatting 2014-10-12 18:48:13 +02:00
Gunnar Morling
b1e184811f #302 Removing Method#printMessage() 2014-10-12 18:47:52 +02:00
Gunnar Morling
6e24db8196 #302 Renaming MappingContext -> MappingBuilderContext 2014-10-12 18:29:39 +02:00
Gunnar Morling
a5dc5d78ab #302 Formatting 2014-10-12 18:24:17 +02:00
Gunnar Morling
9adbb423c6 #302 Making MappingContext immutable 2014-10-12 18:23:05 +02:00
sjaakd
d42216ee4f #302 refactoring of MappingCreationProcessor: using Builders to address smaller concerns 2014-10-11 11:16:37 +02:00
Gunnar Morling
3e411e085e #306 Extracting separate test for reproducing this issue 2014-10-09 23:43:25 +02:00
sjaakd
3342990387 #306 IllegalArgumentException due to void type parameter 2014-10-09 22:45:27 +02:00
Gunnar Morling
15aa13012e #305 Removing superfluous line breaks 2014-10-04 11:37:31 +02:00
sjaakd
2cabfacbf4 #305 Fix for target-getter-only in combination with expressions or constants 2014-10-04 11:31:42 +02:00
sjaakd
5cd90ae6cf #307 fix non used imports in adder functionality 2014-10-04 11:27:34 +02:00
sjaakd
99889581c4 #310 Missing sourceType import in adder functionality 2014-10-01 22:52:57 +02:00
sjaakd
69beb9a6b4 #268 introduction of qualifiers 2014-09-26 20:38:53 +02:00
sjaakd
6d7a4da067 #298 fix for not found annotation nullpointer 2014-09-24 00:08:41 +02:00
Christian Schuster
2ca4ce5fd5 #297 check presence of @Mapper annotation 2014-09-23 21:40:36 +02:00
sjaakd
01082a6da3 #277 fixing faulty match check in built-in methods on return/target type. 2014-09-02 21:47:39 +02:00