ObserverDetector

UMLClass
Skill Seekers :: skill_seekers :: Analysis :: ObserverDetector

Description

Detects Observer pattern (Pub/Sub). Observer defines one-to-many dependency where multiple objects observe and react to state changes. Detection: Surface (names with 'Observer', 'Listener', 'Subscribe'), Deep (attach/detach + notify method triplet), Full (collection of observers + iteration pattern).

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

Relationships

Owned Elements

Diagrams