//
LineInfo lineInfo = getContext().getLineInfo(source);
//
// Try to resolve as an Angular entry point.
//
application = new AngularHtmlUnitResolver(getContext(), errorListener, source, lineInfo, unit).calculateAngularApplication();
//
// Perform resolution.
//
if (application != null) {
new AngularHtmlUnitResolver(getContext(), errorListener, source, lineInfo, unit).resolveEntryPoint(application);
}
//
// Remember the resolved unit.
//
resolvedUnit = unit;