34

How to Unit Test Your Annotation Processor using jOOR – Java, SQL and...

 5 years ago
source link: https://blog.jooq.org/2018/12/07/how-to-unit-test-your-annotation-processor-using-joor/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Annotation processors can be useful as a hacky workaround to get some language feature into the Java language. The best example is Lombok, which enhances the Java language with quite a few annotation-based features. jOOQ also has an annotation processor that helps validate SQL syntax for: Plain SQL usage (SQL injection risk) SQL dialect support…

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK