final boolean addExternals, final boolean addOtp) throws ErlModelException {
final Collection<IErlElement> externals = element.getChildrenOfKind(
ErlElementKind.EXTERNAL_ROOT, ErlElementKind.EXTERNAL_APP,
ErlElementKind.EXTERNAL_FOLDER);
for (final IErlElement external : externals) {
external.accept(new IErlElementVisitor() {
@Override
public boolean visit(final IErlElement theElement)
throws ErlModelException {
if (theElement instanceof IErlExternal) {