New idea! A python (or other language) script (sort of like a preprocesor) that you define values for, such as:
In the code, there could be blocks such as:
that coule be parsed, editing the code to comply with a certan version of java. That way, we could have optimizations for newer versions of java (think 8 or 9), but still have old code options availible to those who have an older version (could work for anything). I am a student, but in my free time I could work on this before I have the oportunity to work on the code with java 7 support only.