# LanguageAdapter

UMLClass
Skill Seekers :: skill_seekers :: Analysis :: LanguageAdapter

### Description

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), Kotlin (object declaration→Singleton, companion object→Factory, sealed class→Strategy, data class→Builder), 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.

### Operations

Visibility | Name | Description
--- | --- | ---
public | adapt_for_language() |

### Properties

Name | Value
--- | ---
name | LanguageAdapter
stereotype | null
visibility | public
isAbstract | false
isFinalSpecialization | false
isLeaf | false
isActive | false

### Diagrams