A clone from the javaparser project, since that seemed dead.