Heavy Eclipse-ifying of some syntactically lacking Java code.