spec: Add initial java code and update generator to include it
java: Add testcase for Line