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.
import java.io.File;
import java.net.URI;
import java.net.URISyntaxException;
import java.net.URL;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
return cpInfo.memoryFileManager.unregister(fqn);
}
/** Interface for {@link Task}s that want to provide {@link ClasspathInfo}.
* @since 2.16
*/
public interface Provider {
public ClasspathInfo getClasspathInfo ();
final FileObject file = source.getFileObject();
assert file != null;
if (info == null) {
if ((task instanceof ClasspathInfoProvider)) {
if ((task instanceof ClasspathInfo.Provider)) {
info =((ClasspathInfoProvider)task).getClasspathInfo();
info =((ClasspathInfo.Provider)task).getClasspathInfo();
ClassPath bootPath = ClassPath.getClassPath(file, ClassPath.BOOT);
*
* @author Tomas Zezula
public interface ClasspathInfoProvider {
public interface ClasspathInfoProvider extends ClasspathInfo.Provider {
import org.netbeans.api.project.SourceGroup;
import org.netbeans.modules.java.j2seproject.api.J2SECategoryExtensionProvider;
import org.netbeans.modules.java.j2seproject.api.J2SECategoryExtensionProvider.ConfigChangeListener;
//import org.netbeans.modules.java.source.parsing.ClasspathInfoProvider;
import org.netbeans.modules.jshell.project.RunOptionsModel.LoaderPolicy;
import org.netbeans.modules.parsing.api.ParserManager;
import org.netbeans.modules.parsing.api.ResultIterator;
return;
class UT extends UserTask /*implements ClasspathInfoProvider*/ {
class UT extends UserTask implements ClasspathInfo.Provider {
// @Override
@Override
public ClasspathInfo getClasspathInfo() {
return JShellOptions2.this.getClasspathInfo();