|
JavaScript Development Tools Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InferrenceProvider
Implemented by contributors to the org.eclipse.wst.jsdt.core.infer.inferrenceSupport extension point Provisional API: This class/interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.
Field Summary | |
---|---|
static int |
MAYBE_THIS
Indicates that this InferrenceProvider, and its engine, should apply to a script file. |
static int |
NOT_THIS
Indicates that this InferrenceProvider, and its engine, do not apply. |
static int |
ONLY_THIS
Indicates that this InferrenceProvider, and its engine, are the only ones that should apply. |
Method Summary | |
---|---|
int |
applysTo(IInferenceFile scriptFile)
Determine if this inference provider applies to a script |
String |
getID()
Get the inference provider ID |
IInferEngine |
getInferEngine()
Get the inference engine for this inference provider, or null if one will not be provided. |
RefactoringSupport |
getRefactoringSupport()
|
ResolutionConfiguration |
getResolutionConfiguration()
|
Field Detail |
---|
static final int ONLY_THIS
Indicates that this InferrenceProvider, and its engine, are the only ones that should apply.
Its use is discouraged.
static final int NOT_THIS
Indicates that this InferrenceProvider, and its engine, do not apply.
static final int MAYBE_THIS
Indicates that this InferrenceProvider, and its engine, should apply to a script file.
Method Detail |
---|
IInferEngine getInferEngine()
NOT_THIS
for all calls to getInferEngine()
int applysTo(IInferenceFile scriptFile)
scriptFile
- The script that the inferencing will be done for
ONLY_THIS
, NOT_THIS
, MAYBE_THIS
depending on how much
this inference provider applies to the specified script.String getID()
ResolutionConfiguration getResolutionConfiguration()
RefactoringSupport getRefactoringSupport()
|
JavaScript Development Tools Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |