try {
FileObject file = processingEnv.getFiler().getResource(
StandardLocation.SOURCE_OUTPUT,
(dot > 0 ? metacodeCanonicalName.substring(0, dot) : ""),
(dot > 0 ? metacodeCanonicalName.substring(dot + 1) : metacodeCanonicalName) + ".java");
<BUG>if (new File(file.toUri()).delete()) {
logger.debug("    - " + metacodeCanonicalName + " removed");
</BUG>
utdProperties.remove(metacodeCanonicalName);
} else {

try {
FileObject file = processingEnv.getFiler().getResource(
StandardLocation.SOURCE_OUTPUT,
(dot > 0 ? metacodeCanonicalName.substring(0, dot) : ""),
(dot > 0 ? metacodeCanonicalName.substring(dot + 1) : metacodeCanonicalName) + ".java");
if (new File(file.toUri()).delete()) {
if(debug)
logger.note("    - " + metacodeCanonicalName + " removed");
utdProperties.remove(metacodeCanonicalName);
} else {
