Interface IComponentInterfaceStrategy
- All Known Implementing Classes:
ComponentInterfaceStrategy
public interface IComponentInterfaceStrategy
Recognition strategy for identifying classes as potential component interfaces. This strategy
decides for a class whether it can be considered as a interface. For Java interfaces this seems
to be straight forward, but it is not for C/C++ code where interface are not a core language
concept.
This strategy is NOT responsible for assigning interfaces to components (provided or required role/port)
This strategy is NOT responsible for assigning interfaces to components (provided or required role/port)
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isComponentInterface
(org.emftext.language.java.classifiers.ConcreteClassifier classToCheck) Checks whether a class is interpreted as a component interface.
-
Method Details
-
isComponentInterface
boolean isComponentInterface(org.emftext.language.java.classifiers.ConcreteClassifier classToCheck) Checks whether a class is interpreted as a component interface.- Parameters:
classToCheck
- The class to check- Returns:
- true if considered as an interface; false else
-