public static TestDiagnostic fromDiagnosticFileString(String stringFromDiagnosticFile){
  return fromPatternMatching(DIAGNOSTIC_FILE_PATTERN,DIAGNOSTIC_WARNING_IN_JAVA_PATTERN,"",null,stringFromDiagnosticFile);
}

public static TestDiagnostic fromDiagnosticFileString ( String stringFromDiagnosticFile ) { return fromPatternMatching ( DIAGNOSTIC_FILE_PATTERN , DIAGNOSTIC_WARNING_IN_JAVA_PATTERN , "" , null , stringFromDiagnosticFile ) ; }
instantiate the diagnostic based on a string that would appear in diagnostic files ( i . e . files that only contain line after line of expected diagnostics )
