jOOQ / jOOR

jOOR - Fluent Reflection in Java jOOR is a very simple fluent API that gives access to your Java Class structures in a more intuitive way. The JDK's reflection APIs are hard and verbose to use. Other languages have much simpler constructs to access type meta information at runtime. Let us make Java reflection better.
http://www.jooq.org/products
Apache License 2.0
2.8k stars 377 forks source link

support for -proc:only compiler option #120

Closed trentjeff closed 2 years ago

trentjeff commented 2 years ago

Writing tests that only exercises annotation processing w/o needing to compile since it has better performance; this option is now supported with this change.

lukaseder commented 2 years ago

Thanks for your suggestions. I agree that supporting this flag somehow would be beneficial, but the suggested implementation seems "too clever". Reflect::compile shouldn't suddenly return null in my opinion, as that seems quite surprising. I'd rather a new, dedicated method that doesn't return anything be added for this purpose.

lukaseder commented 2 years ago

I'll just go ahead and implement those changes. Thanks again for your suggestion!