public String getName() {
int idx = className.lastIndexOf('.');
if(idx<0)       return className;
else return className.substring(idx+1);
}
<BUG>public @Override String getSafeName() {

return uniquifyName(parent.getChildren(), safe(getName()));
</BUG>
}

public String getName() {
int idx = className.lastIndexOf('.');
if(idx<0)       return className;
else return className.substring(idx+1);
}
public @Override synchronized String getSafeName() {
if (safeName != null) {
return safeName;
}
return safeName = uniquifyName(parent.getChildren(), safe(getName()));
}
