Andreas Gudian
be2bf249d9
Add ZonedDateTime/Calendar test cases to BuiltInTest, remove obsolete test and reconfigure the test class to avoid unnecessary re-compilations.
2016-02-13 22:25:39 +01:00
Andreas Gudian
eb99d7b1ef
#746 Add missing import for TimeZone in ZonedDateTimeToCalendar
2016-02-09 20:18:25 +01:00
Gunnar Morling
8a28f12999
#634 Using DeclaredType instead of TypeElement when resolving property accessors of mapped bean types; That way accessor parameter/return types referring to type parameters of the bean will be resolved correctly
2016-02-07 19:50:27 +01:00
Gunnar Morling
4997f3f292
#634 Consolidating determination of target type in property mapping builders
2016-02-07 19:50:27 +01:00
Gunnar Morling
4a74ee8f6c
#732 Properly copying enum sets
2016-02-02 21:51:36 +01:00
Sam Wright
5ede0e91db
#664 Annotate mapper implementations with @Singleton when using jsr330.
2016-02-02 19:52:24 +01:00
Gunnar Morling
0a41360acf
#729 Some clean-up
2016-02-02 19:31:10 +01:00
Oliver Ehrenmüller
e42788ece2
#729 Fix trying to resolving constructor on primitive types (correct formatting)
2016-02-01 13:10:44 +01:00
Oliver Ehrenmüller
39158f649f
#729 Fix trying to resolving constructor on primitive types
2016-02-01 13:07:59 +01:00
Vincent Alexander Beelte
f84938f46e
find information in XmlElementRef annotations to match it against XmlElementDecl to implement #726
2016-01-19 19:08:38 +01:00
Gunnar Morling
34aceff5f8
#723 Updating year in license headers
2016-01-16 18:00:09 +01:00
Andreas Gudian
1ae3d07388
#701 Update checkstyle version and fix several previously undetected issues in our code (mostly missing whitespaces and redundant modifiers) and in the generated code (superflous whitespaces before commas)
...
Requrires update of guava and cdi-weld do to dependency convergence.
2016-01-02 17:50:09 +01:00
Andreas Gudian
5831e824e1
Organize imports to put static imports back on top.
2015-12-18 23:08:56 +01:00
Gunnar Morling
55b74ae384
#710 Deferring processing of mappers with incomplete source/target types to a later processing round
2015-12-17 23:53:20 +01:00
Andreas Gudian
7c2b4c9541
#698 Fix missing import for enums in case of default values.
2015-11-25 19:56:42 +01:00
Andreas Gudian
dde84306ab
#644 Only delegate to the Eclipse-specific workaround when the compiler is actually identified as Eclipse JDT
2015-11-16 20:32:41 +01:00
Andreas Gudian
76603416e7
#644 Basically reverting changes made for #127 , with a fix for handling super-bounds in JDK (failed after wrapping Types in TypesDecorator). Moved most of the logic of Types.getTypeBounds() to TypeFactory.
2015-11-13 22:06:53 +01:00
Andreas Gudian
e4bbfdaaa6
#688 Fix handling of overridden methods in adjacent interface hierarchies.
2015-11-13 22:04:32 +01:00
Andreas Gudian
fc660e2c02
#687 Fix detection of source property type in case the mapping is specified via annotation
2015-11-13 22:04:31 +01:00
Andreas Gudian
8a3d5418df
#644 Workaround for problems with the Eclipse implementation of asMemberOf. Refactored SpecificCompilerWorkarounds to be primarily used through a decorated variant of Types that is now used throughout MapStruct.
2015-11-13 22:04:31 +01:00
Andreas Gudian
aba26328ba
#667 Run all processor tests with both the JDK compiler and the Eclipse compiler.
...
All generated sources and compilation results are kept in a new directory structure, making manual inspection easier, and also simplifying parallel test-class execution.
2015-11-09 22:54:47 +01:00
Gunnar Morling
18c03a328d
#681 Using UTC for Date/JavaLocalDate conversion in both directions
2015-11-06 19:19:34 +01:00
Andreas Gudian
1f091c35e2
#660 Fix custom package / implementation name when using componentModel="default" with abstract classes
2015-10-24 20:55:45 +02:00
sjaakd
11a03e54ca
#640 - applying Mapper or Mapperconfig NullValueMappingStrategy to forged methods
2015-09-22 23:08:37 +02:00
sjaakd
b816469537
#631 - adding error message for generic type variables as source / target / result
2015-09-14 21:38:32 +02:00
sjaakd
45db85a7be
#636 - refinement of solution java8 default and static interface methods
2015-09-14 09:06:22 +02:00
Ivo Smid
a15a67ff47
#636 - fix - default methods (Java 8) do not work anymore
2015-09-14 09:02:33 +02:00
Andreas Gudian
bce6271f7a
#625 Don't search for factory methods when generating update-methods. Rephrase error message for ambiguous factory methods.
2015-08-23 18:36:52 +02:00
Andreas Gudian
590363cf2f
#592 Fix Decorator-support for component model 'spring' and 'jsr330', extend decorator integration-tests, add examples to @DecoratedWith javadoc
2015-08-23 16:40:54 +02:00
Andreas Gudian
71f4a4b2ca
#626 Remove blank lines before closing brackets
2015-08-17 23:02:16 +02:00
Andreas Gudian
2c2f69b0d3
#626 Remove doubled blank lines on Windows
2015-08-17 22:10:44 +02:00
Christophe Labouisse
29f720b35e
#472 , #556 Make implementation package and name configurable
...
- Add `implementationName` & `implementationPackage` to `@Mapper` and
`@MapperConfig'
- Generate a file in `META-INF/services` when a custom name or package
has been configured
- `Mappers` use `ServiceLoader` first in order to get a mapper's
implementation before falling back to the former method
- Change the `MapperServiceProcess` behaviour to return `default` rather
than `null` when no component model is defined
2015-08-14 21:03:33 +02:00
Andreas Gudian
a85168f298
#618 Improve detection of unspecified annotation attributes and remove all "DEFAULT"/"default" values from annotations and enums that were previously only created to detect if a value was assigned or not.
2015-08-13 20:38:43 +02:00
Andreas Gudian
2a385c0ec8
#600 Improve generated assignment code when using default-values, enhance javadoc a little and remove unused attribute in PropertyMapping
2015-08-12 23:58:56 +02:00
luxmeter
964f676af6
#600 added defaultValue feature
2015-08-12 23:58:56 +02:00
Ivo Smid
60caf959e3
603 - Java 8 - Cant use static method on interface with decorators.
2015-08-12 12:58:21 +02:00
Andreas Gudian
e177f25d63
#604 Add import for property target type when using an update-method and no factory method is used to create a new instance
2015-08-09 12:36:48 +02:00
Andreas Gudian
5217e67f8d
#590 Update methods are not supported for "method-and-conversion" methods (can currently cause NullPointerExceptions)
2015-08-09 12:23:36 +02:00
Andreas Gudian
1d1b215a93
#596 Add null-check on source for update-method invocations and set target property to null, if source is null
2015-08-09 12:10:10 +02:00
Andreas Gudian
abecb0d888
#580 Add null-check for mapped -> type-converted property mapping.
...
At least our built-in mapping methods return null for null input, which would break the type-conversion.
2015-08-09 12:10:10 +02:00
VGT
64dd46c354
#581 Prevent multiple imports of similar simple class name from different packages.
2015-07-02 22:44:42 +02:00
Andreas Gudian
2d686003c8
#576 Fix assignability check for @MappingTarget parameters in BeforeMapping/AfterMapping methods
2015-06-28 11:44:39 +02:00
Andreas Gudian
264a8f65af
#574 determine property type from getter/setter methods only in combination with ExecutableType (i.e. using asMemberOf to determine the type with any generics being resolved)
2015-06-28 11:29:45 +02:00
VGT
b4bce14d6a
#577 Improve type parameters equality check.
2015-06-26 20:43:20 +02:00
Gunnar Morling
daaa99d143
#272 Allowing to inject decorated mapper in Spring without qualifier
2015-06-03 22:06:08 +02:00
sonata82
b37a1d24d9
#272 Basic decorator implementation for CDI and Spring
2015-06-03 22:03:16 +02:00
sjaakd
174c53cb48
#487 iterable and map update method selection
2015-05-29 23:26:56 +02:00
Andreas Gudian
c8e9f91037
#203 Move .ftl files into subdirectories representing the package path
2015-05-29 20:14:52 +02:00
Andreas Gudian
1baf8edc0a
#548 Move all packages except of "spi" under "org.mapstruct.ap.internal"
2015-05-29 20:08:57 +02:00
Andreas Gudian
ccedca8890
#14 Adapt javadoc and order of method-usage within a type hierarchy
2015-05-28 18:23:53 +02:00