DecoratorDetector

UMLClass
Skill Seekers :: skill_seekers :: Analysis :: DecoratorDetector

Description

Detects Decorator pattern. Decorator attaches additional responsibilities to an object dynamically, providing flexible alternative to subclassing. Detection: Surface (name contains 'Decorator', 'Wrapper'), Deep (shares base class + takes wrapped object in constructor), Full (composition + delegation + interface matching).

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 DecoratorDetector
stereotype null
visibility public
isAbstract false
isFinalSpecialization false
isLeaf false
isActive false

Relationships

Owned Elements

Diagrams