StringBuffer source = new StringBuffer();
String location = null;
String className = pkg + "/" + classFile;
if (root.isArchive()) {
location = getArchivePath(root);
DecompiledClass decompiledClass = decompileFromArchive(
source, location, className, decompilerFlags);
classToDecompiled.put(cf, decompiledClass);
} else {
try {
location = root.getUnderlyingResource().getLocation()
.toOSString()
+ "/" + className;
DecompiledClass decompiledClass = decompile(
source, location, decompilerFlags);
classToDecompiled.put(cf, decompiledClass);
} catch (JavaModelException e) {
BytecodeOutlinePlugin.log(e, IStatus.ERROR);
}