continue;
currentName = name;
weaveFile(name, new BufferedInputStream(
new FileInputStream(name)), detector);
} else if (name.endsWith(".jar")) {
for (FileLister.Entry fe : new FileLister(name)) {
currentName = fe.getFileName();
if (currentName.endsWith(".class")) {
currentName = currentName.substring(0, currentName.length() - 6).replace('/',
'.');
if (exclude(currentName))
continue;
weaveFile(currentName, fe.getInputStream(), detector);
}
}
} else if (new File(name).isDirectory()) {
for (FileLister.Entry fe : new FileLister(name)) {
currentName = fe.getFileName();
if (currentName.endsWith(".class")) {
if (exclude(currentName))
continue;
weaveFile(currentName, fe.getInputStream(), detector);