Language-specific pattern detection adaptations. Adjusts pattern confidence based on language idioms and conventions. Supports Python (new, @decorator), JavaScript/TypeScript (module pattern, EventEmitter), Java/C# (interfaces, Abstract Factory), Go (sync.Once), Rust (lazystatic, OnceCell, trait adapters), C++ (Meyer's Singleton), Ruby (Singleton module), PHP (private constructor). Static method adaptfor_language(pattern, language) returns adjusted PatternInstance.
| Visibility | Name | Description |
|---|---|---|
| public | adapt_for_language() |
| Name | Value |
|---|---|
| name | LanguageAdapter |
| stereotype | null |
| visibility | public |
| isAbstract | false |
| isFinalSpecialization | false |
| isLeaf | false |
| isActive | false |