org.eclipse.modisco.java.discoverer
Class DiscoverJavaModelFromJavaProject
java.lang.Object
org.eclipse.modisco.infra.discovery.core.AbstractDiscoverer<T>
org.eclipse.modisco.infra.discovery.core.AbstractModelDiscoverer<T>
org.eclipse.modisco.kdm.source.extension.discovery.AbstractRegionDiscoverer2<T>
org.eclipse.modisco.java.discoverer.AbstractDiscoverJavaModelFromProject<IJavaProject>
org.eclipse.modisco.java.discoverer.DiscoverJavaModelFromJavaProject
- All Implemented Interfaces:
- IDiscoverer<IJavaProject>, ISourceRegionNotifier<IJavaProject>
public class DiscoverJavaModelFromJavaProject
- extends AbstractDiscoverJavaModelFromProject<IJavaProject>
Discover a Java model from a Java project and optionally its libraries.
|
Field Summary |
static java.lang.String |
ID
|
|
Method Summary |
static ElementsToAnalyze |
getElementsToAnalyzeInitialValue(IJavaProject source)
This initializer method is implemented in order to set the IJavaProject
on the instance of ElementsToAnalyze. |
boolean |
isApplicableTo(IJavaProject source)
To determine if the source object can be handled by the discoverer. |
| Methods inherited from class org.eclipse.modisco.java.discoverer.AbstractDiscoverJavaModelFromProject |
computeDiscoverableElements, computeElementsToDiscover, computeRequiredLibraries, computeRequiredProjects, getEFactory, setDeepAnalysis, setElementsToAnalyze, setExcludedElementsRegEx, setIncludedElementsRegEx, setIncrementalMode, setLogJavaAnalysisWarnings, toString |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ID
public static final java.lang.String ID
- See Also:
- Constant Field Values
DiscoverJavaModelFromJavaProject
public DiscoverJavaModelFromJavaProject()
isApplicableTo
public boolean isApplicableTo(IJavaProject source)
- Description copied from interface:
IDiscoverer
- To determine if the source object can be handled by the discoverer. Each
discoverer has to implement this method with its own criteria to filter
the selected object.
Some usual implementations are proposed on AbstractDiscoverer.
- Parameters:
source - the selected object.
- Returns:
true if the selected object is managed by this
discoverer, false otherwise.
getElementsToAnalyzeInitialValue
@ParameterInitialValue(name="ELEMENTS_TO_ANALYZE")
public static ElementsToAnalyze getElementsToAnalyzeInitialValue(IJavaProject source)
- This initializer method is implemented in order to set the IJavaProject
on the instance of ElementsToAnalyze.