Finishing first draft of Java generation/testing.