DDS-GmbH / jocument

JVM based template engine for DOCX and XLSX.
MIT License
3 stars 1 forks source link

Add new "DynamicAccess" Annotation for RR #250

Closed AntonOellerer closed 4 months ago

AntonOellerer commented 4 months ago

To allow the ReflectionResolver to resolve objects dynamically (meaning that they could not be resolved at compilation time), a new DynamicAccessPlaceholder Annotation is added. Methods annotated by it return an Optional<Object>, which is then used by the resolver to create a new PlaceholderData for further resolving.