openrewrite / rewrite-templating

Automated templating using code snippets.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Detect and skip unsupported templates

knutwannheden opened this issue · comments

Until the Refaster support is feature complete, it would still be nice to be able to use the annotation processor on a code base where some of the Refaster templates can be supported. For this to work the annotation processor must identify the templates which cannot be supported and then make sure to not generate anything for them (possibly even check if there is a corresponding generated file which should be deleted). It would also be nice to emit some messages to the developer, so it is clear why no recipe was generated.

@rpau The annotation processor now generates compiling code for most of Picnic's Refaster templates. I will investigate the remaining few issues and then we will need to decide how much of that we still want to address now and what we will leave as is.