public class ComponentInterfaceStrategy extends Object implements IComponentInterfaceStrategy
| Constructor and Description |
|---|
ComponentInterfaceStrategy(SourceCodeDecoratorRepository sourceCodeDecorator)
Default ctor for this strategy.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isComponentInterface(org.eclipse.gmt.modisco.java.Type classToCheck)
Checks whether a class is interpreted as a component
interface.
|
public ComponentInterfaceStrategy(SourceCodeDecoratorRepository sourceCodeDecorator)
sourceCodeDecorator - decorator to check for (additional) interfaces which
are to be considered as component interfaces. Interfaces from the source code
decorator are considered as whitelisted.public boolean isComponentInterface(org.eclipse.gmt.modisco.java.Type classToCheck)
IComponentInterfaceStrategyisComponentInterface in interface IComponentInterfaceStrategyclassToCheck - The class to check