Abstract base for GoF design pattern detectors. Defines detect() interface for scanning AST trees. 10 concrete detectors: Singleton, Factory, Observer, Strategy, Decorator, Builder, Adapter, Command, TemplateMethod, ChainOfResponsibility.
| Visibility | Name | Type | Description |
|---|---|---|---|
| public | depth | str | |
| public | pattern_type | str | |
| public | category | str |
| Visibility | Name | Description |
|---|---|---|
| public | detect() | |
| public | detect() | |
| public | detect_surface() | |
| public | detect_deep() | |
| public | detect_full() |
| Name | Value |
|---|---|
| name | BasePatternDetector |
| stereotype | null |
| visibility | public |
| isAbstract | true |
| isFinalSpecialization | false |
| isLeaf | false |
| isActive | false |