outputStream.print(bugInstance.getMessage());
ClassAnnotation classInfo = bugInstance.getPrimaryClass(); if (classInfo != null) { fullPath = (String) sourceFileNameCache.get(classInfo.getClassName()); }
	protected void printBug(BugInstance bugInstance) {		SourceLineAnnotation line =		        bugInstance.getPrimarySourceLineAnnotation();		if (line == null) {			outputStream.print(bugInstance.getMessage());		} else {			SourceFinder sourceFinder = getEngine().getAnalysisContext().getSourceFinder();			String fullPath;			String pkgName = line.getPackageName();			try {				fullPath = sourceFinder.findSourceFile(pkgName, line.getSourceFile()).getFullFileName();			} catch (IOException e) {				if (pkgName.equals(""))					fullPath = line.getSourceFile();				else					fullPath = pkgName.replace('.', '/') + "/" + line.getSourceFile();			}			outputStream.print(fullPath + ":"			        + line.getStartLine() + ":"			        + line.getEndLine() + " "			        + bugInstance.getMessage());		}		switch (bugInstance.getPriority()) {		case Detector.EXP_PRIORITY:			outputStream.print(" (E) ");			break;		case Detector.LOW_PRIORITY:			outputStream.print(" (L) ");			break;		case Detector.NORMAL_PRIORITY:			outputStream.print(" (M) ");			break;		case Detector.HIGH_PRIORITY:			outputStream.print(" (H) ");			break;		}		outputStream.println();	}