229 Commits

Author SHA1 Message Date
Gunnar Morling
f122daec6d #81 Formatting 2014-02-09 11:21:52 +01:00
sjaakd
4bd1022b89 #81 re-introducing the check on if a generated method returns an interface type, now narrowed to absence of factory methods. 2014-02-06 23:00:57 +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
11ba30f8a5 #81, removing empty lines after factory method from code generation 2014-02-02 17:15:45 +01:00
sjaakd
9c45c96d8d #81, removing FactoryMethod in favour of MethodReference 2014-02-02 17:15:07 +01:00
sjaakd
a9d2f788de #81, refactoring MappingMethodReference to MethodReference to accomodate for factory usage of this method 2014-02-02 16:49:35 +01:00
sjaakd
b456cc8b6b #81, remove isHasFactoryMethod construction in the Freemarker template in favour for the '??' 2014-02-02 16:40:17 +01:00
sjaakd
8bdec6405d #81 integrating #112 in the factory solution 2014-01-31 22:54:32 +01:00
sjaakd
b565c6fe60 #81 making use of template FactoryMethod.ftl 2014-01-31 22:25:41 +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
6b28c161e9 #112 Raising descriptive exception in case a type couldn't be loaded by name 2014-01-28 22:13:05 +01:00
Gunnar Morling
768083039e #109 Adding enforcer rule to fail the build when detecting package cycles 2014-01-26 12:39:19 +01:00
Gunnar Morling
e23ee852fa #109 Breaking up cycle between model and source model by extracting package with shared types 2014-01-26 12:38:27 +01:00
Gunnar Morling
dae4e94a0a #109 Removing package cycle around generated prism types 2014-01-26 12:26:30 +01:00
Gunnar Morling
c77809a8fd #109 Removing package cycle around AnnotationProcessingException 2014-01-26 12:21:47 +01:00
Gunnar Morling
e4037c7acd #109 Making Executables and Filters methods static 2014-01-26 11:46:52 +01:00
Gunnar Morling
c281711aaa #109 Removing package cycle between model and util 2014-01-26 11:46:51 +01:00
Gunnar Morling
cbccdd847c #109 Removing package cycle between "model.source" and "util" 2014-01-26 11:46:51 +01:00
Gunnar Morling
e072826c9d #109 Removing package cycle around Options class 2014-01-26 11:46:48 +01:00
Gunnar Morling
4d4f55a162 #109 Breaking up cycle between "model" and "writer" packages by introducing Writable interface 2014-01-25 11:39:19 +01:00
Gunnar Morling
21ed656348 #107 Adding class diagrams to generated JavaDocs using APIViz 2014-01-24 22:51:59 +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
196d91324a #92 Some more clean-up 2014-01-21 00:45:14 +01:00
Gunnar Morling
d7864e0566 #92 Making generated code more null-safe and avoiding unnecessary collection instantiation 2014-01-21 00:13:10 +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
644702eed9 Using portable CheckStyle check for a new line at the end of files 2014-01-10 22:31:32 +01:00
Gunnar Morling
217562d52b #34 Accessing annotation in a safer way 2014-01-09 21:45:01 +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
22da3becab #79 Adding Sjaak to copyright.txt file 2014-01-05 20:08:16 +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
094b9c3e9e Issue #79 Fixing small error in ArrayType 2014-01-05 20:08:07 +01:00
sjaak
560855004b Issue #79 Fixing suggestions 2014-01-05 20:08:01 +01:00
sjaak
b249c2ced1 Issue #79 Adding generics solution for custom mappers 2014-01-05 20:07:55 +01:00