derive4j / hkt

Higher Kinded Type machinery for Java
BSD 3-Clause "New" or "Revised" License
81 stars 9 forks source link

Fallback on a runtime check #12

Closed gneuvill closed 8 years ago

gneuvill commented 8 years ago

Since an annotation processor can be deactivated at compile time, it seems desirable to have at our disposal a fallback mechanism that would apply the very same logic as the one of the processor at runtime ; ideally, and in java terms, this should even happen at class loading time.

This would necessitates :

jbgi commented 8 years ago

I think we should stay out of the run time business. Runtime checks will probably be partial or blow-up in the face of the user, given the complexity and diversity of java class-loading mechanisms.

gneuvill commented 8 years ago

Yep. Should I close ?