}
}
final SessionInfo sessionInfo = session_.getSessionInfo();
TexCapabilities texCap = sessionInfo.getTexCapabilities();
final boolean checkForTeX = fileType.canCompilePDF() &&
!texCap.isTexInstalled();
final boolean checkForRnwWeave = (rnwWeave != null) &&
!texCap.isRnwWeaveAvailable(rnwWeave);
if (checkForTeX || checkForRnwWeave)
{
// alias variables to finals
final boolean hasRnwWeaveDirective = rnwWeaveDirective != null;