private DebugInfo createDebugInfo(BpelObject bpelObject, String description) {
int lineNo = bpelObject == null ? -1 : bpelObject.getLineNo();
String str = description == null && bpelObject != null ? bpelObject.toString() : null;
Map<QName, Object> extElmt = bpelObject == null ? null : bpelObject.getExtensibilityElements();
DebugInfo debugInfo = new DebugInfo(_processDef.getSource(), lineNo, extElmt);
debugInfo.description = str;
return debugInfo;
}