Tomas Cernaj
Tomas Cernaj
We have some projects that depend on other projects’ images as base image. For this, we need an image name in the Dockerfile, so we tag the base image. Once...
I'm glad that you find it interesting. Concerning the runtime reflection: I've thought about it, but I didn't know if you even _can_ create instances of an annotation, or if...
Another thought: We could move the reflection part to the mapper class constructor. Would that be OK from your perspective?
_Edit:_ Changed annotation constants to array. The mapper could look like this, for example: ```java public class EmployeeMapperImplPoc implements EmployeeMapper { public static final EmployeeMapperImplPoc INSTANCE = new EmployeeMapperImplPoc(); private...
I've done a rework to my pull request so that the needed annotations will be stored into fields in the constructor. Here's what my branch produces for the example above:...
Yet another change; this one removes the helper methods so that the example mapper looks like this: ```java public class EmployeeMapperImpl implements EmployeeMapper { private final Confidential employeeAddressConfidentialAnnotation; private final...