# TemplateMethodDetector

UMLClass
Skill Seekers :: skill_seekers :: Analysis :: TemplateMethodDetector

### Description

Detects Template Method pattern. Template Method defines skeleton of algorithm in base class, letting subclasses override specific steps without changing structure. Detection: Surface (Abstract/Base class with subclasses), Deep (hook methods like prepare/validate/finalize + abstract methods + subclass implementations).

### Generalized Elements

### Attributes

Visibility | Name | Type | Description
--- | --- | --- | ---
public | pattern_type | str |
public | category | str |

### Operations

Visibility | Name | Description
--- | --- | ---
public | detect_surface() |
public | detect_deep() |

### Properties

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

### Relationships

### Owned Elements

### Diagrams