return new IndexField(parentElement, elementName, flags, offset,
length, nameOffset, nameLength, doc);
case IModelElement.IMPORT_DECLARATION:
// XXX: replace with import declaration element
return new IncludeField(parentElement, metadata);
default:
Logger.log(Logger.WARNING, PhpElementResolver.class.getName()
+ ": Unsupported element type (" + elementType + ")"); //$NON-NLS-1$ //$NON-NLS-2$
}