* Performs PP linking, and processes documentation
*
* @param mon
*/
protected void performPPLinking(CancelIndicator mon) {
final ListBasedDiagnosticConsumer diagnosticsConsumer = new ListBasedDiagnosticConsumer();
IMessageAcceptor acceptor = new DiagnosticConsumerBasedMessageAcceptor(diagnosticsConsumer);
EObject model = this.getParseResult().getRootASTElement();
documentationAssociator.validateDocumentation(model, acceptor);
resourceLinker.link(model, acceptor, false);
if(!isValidationDisabled()) {
getErrors().addAll(diagnosticsConsumer.getResult(Severity.ERROR));
getWarnings().addAll(diagnosticsConsumer.getResult(Severity.WARNING));
}
}