FactoryDetector

UMLClass
Skill Seekers :: skill_seekers :: Analysis :: FactoryDetector

Description

Detects Factory pattern (Factory Method and Abstract Factory). Factory defines an interface for creating objects, letting subclasses decide which class to instantiate. Detection: Surface (name contains 'Factory', 'create', 'make'), Deep (parameterized creation methods + inheritance hierarchy), Full (polymorphic object creation).

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

Relationships

Owned Elements

Diagrams