akaivola
Re:Java Functions: Every Java FunctionalInterface You Want
on Saturday November 08, 2014 @04:15AM (#8576412)
I had to register for this. You have pretty much tried to invent Either via code generation. I suggest you look at functionaljava's Either for further reference.
Code generation is in my experience a clear indication that the problem you have has not really been understood.