This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
package org.netbeans.modules.java.source.parsing;
import com.sun.istack.internal.NotNull;
import java.io.File;
import java.io.IOException;
import java.net.URISyntaxException;
return sibling == null ? getClassFolderForApt(baseName) : getClassFolderForApt(sibling.toUri().toURL());
}
private File getClassFolderForApt(final @NotNull URL surl) {
private File getClassFolderForApt(final URL surl) {
for (ClassPath.Entry entry : apt.entries()) {
if (FileObjects.isParentOf(entry.getURL(), surl)) {
final URL classFolder = AptCacheForSourceQuery.getClassFolder(entry.getURL());