Path fileNamePath = entryPath.getFileName();
String fileName = fileNamePath.toString();
return fileName.endsWith(".class");
}
})) {
<BUG>for (Path filePath : directoryStream) {
String filePathString = filePath.toString();
if (resources == null) {
resources = new ArrayList<>();
}
resources.add(filePathString.substring(1));
</BUG>
}

Path fileNamePath = entryPath.getFileName();
String fileName = fileNamePath.toString();
return fileName.endsWith(".class");
