public abstract class ClasspathFixProcessor extends Object
org.eclipse.jdt.ui.classpathFixProcessors.| Modifier and Type | Class and Description |
|---|---|
static class |
ClasspathFixProcessor.ClasspathFixProposal
A proposal to fix a class path issue.
|
| Constructor and Description |
|---|
ClasspathFixProcessor() |
| Modifier and Type | Method and Description |
|---|---|
static ClasspathFixProcessor.ClasspathFixProposal[] |
getContributedFixImportProposals(IJavaProject project,
String name,
MultiStatus status)
Evaluates all contributed proposals that can fix non-resolvable imports.
|
abstract ClasspathFixProcessor.ClasspathFixProposal[] |
getFixImportProposals(IJavaProject project,
String name)
Returns proposal that can fix non-resolvable imports.
|
public abstract ClasspathFixProcessor.ClasspathFixProposal[] getFixImportProposals(IJavaProject project, String name) throws CoreException
junit.framework.TestCase is requested, it makes sense to import the full JUnit library, not just fixing the missing type.project - the current projectname - the missing type to be added to the class path. The entries can be either a
null or the empty array can be returned. If null is returned, also the processors
overridden by this processor are asked. If a non null result is returned, all overridden processors are skipped.CoreException - thrown when the creation of the proposals failspublic static ClasspathFixProcessor.ClasspathFixProposal[] getContributedFixImportProposals(IJavaProject project, String name, MultiStatus status)
project - the current projectname - the missing type to be added to the class path. The entries can be either a
status - a MultiStatus to collect the resulting status or null to not collect status.
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.