org.pf.tools.cda.core.dependency.analyzer
Class InterfaceImplementorsDetector<TResultData>

java.lang.Object
  extended by org.pf.tools.cda.core.dependency.analyzer.AnalyzableElementDependantsDetector<ClassInformation>
      extended by org.pf.tools.cda.core.dependency.analyzer.AClassDependencyDetector<TResultData>
          extended by org.pf.tools.cda.core.dependency.analyzer.InterfaceImplementorsDetector<TResultData>
All Implemented Interfaces:
org.pf.bif.filter.IObjectFilter, IAnalyzableElementProcessor<ClassInformation>, IClassInformationProcessor<TResultData>, IMutableAnalyzableElementProcessor<ClassInformation>, IMutableClassInformationProcessor<TResultData>

public class InterfaceImplementorsDetector<TResultData>
extends AClassDependencyDetector<TResultData>

This detector can be used to find implementors of a given interface.

Version:
1.0
Author:
M.Duchrow

Constructor Summary
InterfaceImplementorsDetector(IProgressMonitor progressMonitor, ClassInformation classInfo, boolean onlyDirect)
           
 
Method Summary
 boolean matches(ClassInformation classInfo)
          Returns true if the given element matches the criteria of this detector.
 
Methods inherited from class org.pf.tools.cda.core.dependency.analyzer.AClassDependencyDetector
getResultData, matches, process
 
Methods inherited from class org.pf.tools.cda.core.dependency.analyzer.AnalyzableElementDependantsDetector
getAnalyzedElement, getExcludedElements, setAnalyzedElement, setExcludedElements
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.pf.tools.cda.base.model.processing.IMutableAnalyzableElementProcessor
setAnalyzedElement, setExcludedElements
 

Constructor Detail

InterfaceImplementorsDetector

public InterfaceImplementorsDetector(IProgressMonitor progressMonitor,
                                     ClassInformation classInfo,
                                     boolean onlyDirect)
Method Detail

matches

public boolean matches(ClassInformation classInfo)
Description copied from class: AnalyzableElementDependantsDetector
Returns true if the given element matches the criteria of this detector.

Specified by:
matches in interface IAnalyzableElementProcessor<ClassInformation>
Overrides:
matches in class AnalyzableElementDependantsDetector<ClassInformation>
Parameters:
classInfo - Any element object or even null