if (workingCopy == null) {
return null;
}
final AtomicReference<CppToProtobufMapping> mappingReference = new AtomicReference<CppToProtobufMapping>();
ASTProvider astProvider = ASTProvider.getASTProvider();
IStatus status = astProvider.runOnAST(workingCopy, WAIT_NO, null, new ASTRunnable() {
@Override public IStatus runOnAST(ILanguage lang, IASTTranslationUnit ast) throws CoreException {
if (ast == null) {
return CANCEL_STATUS;
}
IASTNodeSelector nodeSelector= ast.getNodeSelector(null);