public IErlFolder createFolder(final IFolder folder, final IErlElement parent) {
if (folder == null) {
return null;
}
final IErlFolder f = new ErlFolder(parent, folder);
final IErlElement p = parent;
if (p != null) {
p.addChild(f);
} else {
// ErlLogger.warn("creating folder %s in null parent?!", folder