The Eclipse JDT provides APIs to manipulate Java source code, detect errors, perform compilations, and launch programs. This article will show how you can create Java classes from scratch using the ASTParser. You will learn how JDT services can be used to compile your generated code and also all the ASTParser gotchas will be covered.