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)
InferrenceProvider
applysTo
in interface InferrenceProvider
scriptFile
- 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()
InferrenceProvider
InferrenceProvider.NOT_THIS
for all calls to InferrenceProvider.getInferEngine()
getInferEngine
in interface InferrenceProvider
public java.lang.String getID()
InferrenceProvider
getID
in interface InferrenceProvider
public ResolutionConfiguration getResolutionConfiguration()
getResolutionConfiguration
in interface InferrenceProvider
public RefactoringSupport getRefactoringSupport()
getRefactoringSupport
in interface InferrenceProvider
Copyright (c) IBM Corp. and others 2000, 2016. All Rights Reserved.