Commit Graph

  • c10a5a6e31 #147 patch for JDK6 java.lang.AssertionError: isSubtype 15 problem, including some test updates sjaakd 2014-03-12 23:44:52 +01:00
  • 2b633211dd #170 Specifying retention policy for all annotation types Gunnar Morling 2014-03-11 22:44:13 +01:00
  • 64ca0ab949 [maven-release-plugin] prepare for next development iteration Gunnar Morling 2014-03-05 20:40:30 +01:00
  • 79615b12b0 [maven-release-plugin] prepare release 1.0.0.Beta1 1.0.0.Beta1 Gunnar Morling 2014-03-05 20:40:22 +01:00
  • c15503f47b #163 Raising error in case wrong decorator type is given Gunnar Morling 2014-03-04 23:07:30 +01:00
  • e0da882540 #163 Adding support for decorators Gunnar Morling 2014-03-04 23:09:36 +01:00
  • 427cc16390 #163 Preparations for generating other top-level types then mappers themselves Gunnar Morling 2014-03-04 21:51:38 +01:00
  • 6cbccdb36d Updating readme Gunnar Morling 2014-03-05 00:50:22 +01:00
  • 8a260bf659 #162 Making sure only actual enum constants are mapped in enum mapping when using the Eclipse compiler Gunnar Morling 2014-03-04 20:08:22 +01:00
  • fd3aa63e2d #119 Formatting Gunnar Morling 2014-03-04 20:12:37 +01:00
  • 859c51368d #119 Added Test Code, adding shipping address to trigger use of the 2nd object factory sjaakd 2014-03-04 11:58:38 +01:00
  • 6d2120c1bc #119 setup jaxb XSDs, DTOs, mapper and test sjaakd 2014-02-26 21:20:24 +01:00
  • ab7641731f #153 Formatting of generated code Gunnar Morling 2014-03-04 00:23:30 +01:00
  • 84902318f9 #153 Use clear() / addAll(..) for collection properties in @MappingTarget mappings Andreas Gudian 2014-02-27 21:10:17 +01:00
  • cfa2dc0bd0 #142 Fixing time zone dependent tests Gunnar Morling 2014-03-02 19:07:14 +01:00
  • 16112a6156 #136 Add additional test to verify compatibility of @TargetType with nested mapping methods Andreas Gudian 2014-02-28 23:09:19 +01:00
  • 1db853137c #136 Some clean-up/documentation Andreas Gudian 2014-02-28 21:50:27 +01:00
  • 4372e726ee #136 Introduce @TargetType to pass the target type of a custom property mapping method or factory method as parameter to the method Andreas Gudian 2014-02-19 21:49:08 +01:00
  • 8ddb2a9fb3 #134 Formatting Gunnar Morling 2014-02-28 19:54:47 +01:00
  • 53ff1b7e13 #134 Some clean-up: Gunnar Morling 2014-02-28 19:54:36 +01:00
  • 27c85d8f97 #134 adding nested method match functionality including UT after merge with #135 sjaakd 2014-02-27 23:11:11 +01:00
  • a9e1438c1e #151 improving UT for #120 and fixing some missing imports sjaakd 2014-02-26 23:19:50 +01:00
  • f8aa758ecf #135 Simplifying XmlElementDeclSelector a bit Gunnar Morling 2014-02-26 23:14:23 +01:00
  • 40ed18af0b #135 Adding some JavaDocs; Removing unused method Gunnar Morling 2014-02-26 22:05:17 +01:00
  • 03dca9a8d4 #135 Formatting and typo fix Gunnar Morling 2014-02-26 20:03:21 +01:00
  • b84a5df84e #135 applied list of MethodSelectors idea. sjaakd 2014-02-24 21:58:31 +01:00
  • 4d22ff7abd #135 first attempt, UT based on scope AND name now sjaakd 2014-02-24 17:05:15 +01:00
  • 093019b5d9 Merge branch '146' of github.com:gunnarmorling/mapstruct into gunnarmorling_146 sjaakd 2014-02-26 07:28:42 +01:00
  • a6bb427d86 #146 Making sure result type of bean mapping method and exception types from conversions are properly referenced if they are not imported Gunnar Morling 2014-02-26 01:45:39 +01:00
  • 76783edc1c #128 Raising an error in case source enum constant without corresponding constant in target is not mapped Gunnar Morling 2014-02-23 17:22:48 +01:00
  • d8df52dbc0 #128 Raising an error in case mapped enum constants don't exist Gunnar Morling 2014-02-23 16:48:16 +01:00
  • 033def2054 #128 Raising an error in case an enum constant is mapped more than once Gunnar Morling 2014-02-23 16:47:09 +01:00
  • f0f3335e28 #128 Adding support for enum mapping methods Gunnar Morling 2014-02-23 17:40:19 +01:00
  • 5e19394e69 #120 Removing unused constructor Gunnar Morling 2014-02-22 23:14:43 +01:00
  • 9b8e22462f #120 Consolidating method reference look-up in MapperCreationProcessor Gunnar Morling 2014-02-22 22:45:25 +01:00
  • 40669a0f8a #120 Minor doc improvements Gunnar Morling 2014-02-22 22:29:59 +01:00
  • 2398d94752 #120 Don't hold a reference to TypeFactory in built-in method types Gunnar Morling 2014-02-22 21:41:04 +01:00
  • 52ccedb0e1 #120 Moving built-in methods to o.m.a.model.source.builtin Gunnar Morling 2014-02-22 21:24:35 +01:00
  • bc5dda82f8 #120 Making built-in methods null-safe Gunnar Morling 2014-02-22 19:54:54 +01:00
  • 32f0bc0e22 #120 Formatting and commenting Gunnar Morling 2014-02-22 19:50:54 +01:00
  • 47ecc23fa0 #120 Propagate built-in methods as MappingMethod implementation to the Mapper in order to avoid the need for specific handling in the template Gunnar Morling 2014-02-22 19:39:28 +01:00
  • 34484c6686 #120 Renaming BasicMethod to Method sjaakd 2014-02-18 21:40:28 +01:00
  • 06b4220af8 #120 Renaming Method to SourceMethod sjaakd 2014-02-18 21:38:57 +01:00
  • bab8c2bb9b #120 Moving BuildInMethod to the source model sjaakd 2014-02-18 21:30:43 +01:00
  • 2471edcf69 #120 Method and BuiltInMethod implement a common interface that can be used for matching. sjaakd 2014-02-18 21:00:45 +01:00
  • 08b6008ed1 #120, solving cyclic packaging dependencies, Moved Context (as inner class) to ConversionContext in model.common, corrected BuildIn to BuiltIn, all requested built-in methods added sjaakd 2014-02-18 21:56:09 +01:00
  • 6531d995b0 #120 reintroducing lost generics selection check and making sure MapperCreationProcessor state is cleared. sjaakd 2014-02-15 17:15:56 +01:00
  • 5cdcc88b62 #120 refactoring first attempt after feedback. Making a clean overview by squashing earlier commits on 120. Rebasing master. sjaakd 2014-02-15 15:38:34 +01:00
  • 8c8f27ca6b #103 Formatting, added a todo Gunnar Morling 2014-02-22 10:43:46 +01:00
  • 8fe7a846c8 #103 keep defined accessibility modifier of mapper and mapping methods in the generated code Andreas Gudian 2014-02-16 22:26:31 +01:00
  • ace47f7e67 extend current classloader instead of creating a classloader chain. Andreas Gudian 2014-02-16 22:24:59 +01:00
  • f69069c2f8 #127 Working around broken Eclipse implementation of Types#asMemberOf() Gunnar Morling 2014-02-12 23:47:52 +01:00
  • cce558827d #34 Adding concerned method to reported diagnostic in case a mapping is ambiguous Gunnar Morling 2014-02-09 19:19:09 +01:00
  • 785ccece90 #34 Asserting line and source type of diagnostics only when specified via @Diagnostic Gunnar Morling 2014-02-09 18:59:39 +01:00
  • cd14bd368f #124 Making sure variable names always start with a lower-case letter Gunnar Morling 2014-02-09 17:50:51 +01:00
  • f122daec6d #81 Formatting Gunnar Morling 2014-02-09 11:21:52 +01:00
  • 4bd1022b89 #81 re-introducing the check on if a generated method returns an interface type, now narrowed to absence of factory methods. sjaakd 2014-02-06 23:00:57 +01:00
  • aa06a767ac #81 adding implementation for Map and Iterable types, and adding unit test. NOTE a TODO is still in MapperCreationProcessor sjaakd 2014-02-02 20:36:49 +01:00
  • 3f94c51884 #81 adding unit test for ambiguous factory error sjaakd 2014-02-02 19:08:11 +01:00
  • 11ba30f8a5 #81, removing empty lines after factory method from code generation sjaakd 2014-02-02 17:15:45 +01:00
  • 9c45c96d8d #81, removing FactoryMethod in favour of MethodReference sjaakd 2014-02-02 17:15:07 +01:00
  • a9d2f788de #81, refactoring MappingMethodReference to MethodReference to accomodate for factory usage of this method sjaakd 2014-02-02 16:49:35 +01:00
  • b456cc8b6b #81, remove isHasFactoryMethod construction in the Freemarker template in favour for the '??' sjaakd 2014-02-02 16:40:17 +01:00
  • 8bdec6405d #81 integrating #112 in the factory solution sjaakd 2014-01-31 22:54:32 +01:00
  • b565c6fe60 #81 making use of template FactoryMethod.ftl sjaakd 2014-01-31 22:25:41 +01:00
  • c3df6d8572 squash issue 81 after rebase to issue 112 sjaakd 2014-01-20 23:28:34 +01:00
  • de7aab04b0 Remove JDK 7 API usage Andreas Gudian 2014-01-30 20:29:39 +01:00
  • e5668325f0 #112 Making sure not more than one type with the same simple name is imported Gunnar Morling 2014-01-29 21:03:20 +01:00
  • 78b0943953 #112 Making sure mapper references have unique variable names and referenced methods are invoked on the right variable Gunnar Morling 2014-01-29 00:35:26 +01:00
  • 05b2e49364 #112 Making @Inject et al. available for processor tests Gunnar Morling 2014-01-28 22:21:02 +01:00
  • 6b28c161e9 #112 Raising descriptive exception in case a type couldn't be loaded by name Gunnar Morling 2014-01-28 22:13:05 +01:00
  • 768083039e #109 Adding enforcer rule to fail the build when detecting package cycles Gunnar Morling 2014-01-26 12:39:19 +01:00
  • e23ee852fa #109 Breaking up cycle between model and source model by extracting package with shared types Gunnar Morling 2014-01-26 12:38:27 +01:00
  • dae4e94a0a #109 Removing package cycle around generated prism types Gunnar Morling 2014-01-26 12:26:30 +01:00
  • c77809a8fd #109 Removing package cycle around AnnotationProcessingException Gunnar Morling 2014-01-26 12:21:47 +01:00
  • e4037c7acd #109 Making Executables and Filters methods static Gunnar Morling 2014-01-26 11:37:10 +01:00
  • c281711aaa #109 Removing package cycle between model and util Gunnar Morling 2014-01-26 11:36:34 +01:00
  • cbccdd847c #109 Removing package cycle between "model.source" and "util" Gunnar Morling 2014-01-25 15:22:29 +01:00
  • e072826c9d #109 Removing package cycle around Options class Gunnar Morling 2014-01-26 11:46:48 +01:00
  • 4d4f55a162 #109 Breaking up cycle between "model" and "writer" packages by introducing Writable interface Gunnar Morling 2014-01-25 11:39:19 +01:00
  • 21ed656348 #107 Adding class diagrams to generated JavaDocs using APIViz Gunnar Morling 2014-01-24 22:51:59 +01:00
  • 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 Gunnar Morling 2014-01-21 22:42:55 +01:00
  • 196d91324a #92 Some more clean-up Gunnar Morling 2014-01-21 00:45:14 +01:00
  • d7864e0566 #92 Making generated code more null-safe and avoiding unnecessary collection instantiation Gunnar Morling 2014-01-21 00:13:10 +01:00
  • 8dd505b63e #92 Formatting and minor clean-ups Gunnar Morling 2014-01-20 23:20:41 +01:00
  • 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. sjaakd 2014-01-16 20:57:28 +01:00
  • e5cfb07af5 issue 92 solution for list getter without setter sjaakd 2014-01-13 11:23:35 +01:00
  • 3e34b6f6eb #94 Adding another test Gunnar Morling 2014-01-20 00:09:13 +01:00
  • 77e6890b00 #94 Formatting, renaming test Gunnar Morling 2014-01-19 23:56:35 +01:00
  • e82277e0fc #94 Allowing to map the same source property to several target properties sjaakd 2014-01-19 23:45:39 +01:00
  • cd058663f4 #90 extend DefaultCollectionImplementationTest to cover all collection and map types declared in the test mapper Andreas Gudian 2014-01-12 21:49:09 +01:00
  • fc0a4570b7 #89 create test for correct instanciation of referenced mappers with default component model Andreas Gudian 2014-01-12 21:07:11 +01:00
  • 3c8f969573 #86 Updating license header Gunnar Morling 2014-01-08 22:37:47 +01:00
  • 644702eed9 Using portable CheckStyle check for a new line at the end of files Gunnar Morling 2014-01-10 22:31:32 +01:00
  • 217562d52b #34 Accessing annotation in a safer way Gunnar Morling 2014-01-09 21:45:01 +01:00
  • a7be616ee9 #34 Fixing some typos; Removing Type#isAnnotatedMapper() in favor of the more generic isAnnotatedWith() method; Formatting Gunnar Morling 2014-01-08 22:26:51 +01:00
  • aa3fa638b9 #34 Find best matching property mapping methods #82 fix using Mappers factory to instanciate used mappers annotated with @Mapper Andreas Gudian 2014-01-07 20:57:43 +01:00
  • 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 Gunnar Morling 2014-01-06 00:00:23 +01:00
  • 22da3becab #79 Adding Sjaak to copyright.txt file Gunnar Morling 2014-01-05 19:59:13 +01:00
  • e325862448 #79 Formatting Gunnar Morling 2014-01-05 19:56:27 +01:00