annotation (...) let's -> annotation (...) lets

This commit is contained in:
Lukasz Kryger 2013-08-15 22:14:14 +01:00
parent 305a2ec475
commit f4c18c8836

View File

@ -47,7 +47,7 @@ public interface CarMapper {
}
```
1. The `@Mapper` annotation marks the interface as mapping interface and let's the MapStruct processor kick in during compilation
1. The `@Mapper` annotation marks the interface as mapping interface and lets the MapStruct processor kick in during compilation
1. The actual mapping method expects the source object as parameter and returns the target object. Its name can be freely chosen. For attributes with different names in source and target object, the `@Mapping` annotation can be used to configure the names. Of course there can be multiple mapping methods in one interface.
1. An instance of the interface implementation can be retrieved from the `Mappers` class. By convention, the interface declares a member `INSTANCE`, providing access to the mapper implementation for clients