Java Snippet Parser