IBinaryFileSpecification fileSpec = null;
if (cu.getCompilationUnitType() == UnitType.SWC_UNIT)
{
ISWC swc = project.getWorkspace().getSWCManager().get(new File(cu.getAbsoluteFilename()));
ISWCFileEntry swcFileEntry = swc.getFile(key);
fileSpec = new SWCFileSpecification(key, swcFileEntry);
}
else
{
String sourcePath = classDefinition.getSourcePath();
iconFilePath = FilenameUtils.getFullPath(sourcePath) + iconFilePath;