I believe here you are still using the JDT CompilationUnit methods.