Annotation present on field in toString template
Hello,
is there any way how to check for annotations present on class field in toString template? My usecase is to process field marked some annotation in different/special way than those without annotation.
For example, I would copy existing StringBuffer template and use something like if $member.<isAnnotationPresent(annotation)>. Is something like this possible?
Thanks
Boris
请先登录再写评论。