BasePatternDetector

UMLClass
Skill Seekers :: skill_seekers :: Analysis :: BasePatternDetector

Description

Abstract base for GoF design pattern detectors. Defines detect() interface for scanning AST trees. 10 concrete detectors: Singleton, Factory, Observer, Strategy, Decorator, Builder, Adapter, Command, TemplateMethod, ChainOfResponsibility.

Specialized Elements

Attributes

Visibility Name Type Description
public depth str
public pattern_type str
public category str

Operations

Visibility Name Description
public detect()
public detect()
public detect_surface()
public detect_deep()
public detect_full()

Properties

Name Value
name BasePatternDetector
stereotype null
visibility public
isAbstract true
isFinalSpecialization false
isLeaf false
isActive false

Dependants

Relationships

Diagrams