public class DefaultInferrenceProvider extends java.lang.Object implements InferrenceProvider
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ID |
MAYBE_THIS, NOT_THIS, ONLY_THIS| Constructor and Description |
|---|
DefaultInferrenceProvider() |
| Modifier and Type | Method and Description |
|---|---|
int |
applysTo(IInferenceFile scriptFile)
Determine if this inference provider applies to a script
|
java.lang.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() |
public static final java.lang.String ID
public int applysTo(IInferenceFile scriptFile)
InferrenceProviderapplysTo in interface InferrenceProviderscriptFile - The script that the inferencing will be done forInferrenceProvider.ONLY_THIS, InferrenceProvider.NOT_THIS, InferrenceProvider.MAYBE_THIS depending on how much
this inference provider applies to the specified script.public IInferEngine getInferEngine()
InferrenceProviderInferrenceProvider.NOT_THIS for all calls to InferrenceProvider.getInferEngine()getInferEngine in interface InferrenceProviderpublic java.lang.String getID()
InferrenceProvidergetID in interface InferrenceProviderpublic ResolutionConfiguration getResolutionConfiguration()
getResolutionConfiguration in interface InferrenceProviderpublic RefactoringSupport getRefactoringSupport()
getRefactoringSupport in interface InferrenceProviderCopyright (c) IBM Corp. and others 2000, 2016. All Rights Reserved.