4 ms·
It may be! It would be pretty cool to do something like: import net.mintern.functions.auto.ObjCharToBool; and have the generate-classes stage be able to s
by BrandonM 12y ago
It may be! It would be pretty cool to do something like:
import net.mintern.functions.auto.ObjCharToBool;
and have the generate-classes stage be able to see that import and automatically generate the requisite interface. Of course, the IDE might not be happy until the first compile, but that seems tolerable.
It seems like Project Lombok has some similar issues... I'll have to see how it handles them.
That would also allow an arbitrary function signature, though I personally think it starts to be better to write your own @FunctionalInterface for readability reasons once you hit more than 3 arguments.