Detects Adapter pattern. Adapter converts interface of a class into another interface clients expect, allowing incompatible interfaces to work together. Detection: Surface (name contains 'Adapter', 'Wrapper'), Deep (takes adaptee in constructor + implements target interface), Full (composition + delegation with interface translation).
| Visibility | Name | Type | Description |
|---|---|---|---|
| public | pattern_type | str | |
| public | category | str |
| Visibility | Name | Description |
|---|---|---|
| public | detect_surface() | |
| public | detect_deep() |
| Name | Value |
|---|---|
| name | AdapterDetector |
| stereotype | null |
| visibility | public |
| isAbstract | false |
| isFinalSpecialization | false |
| isLeaf | false |
| isActive | false |