# Incomplete Library Class

> When a library class lacks needed methods.

- **Category**: Code Smells
- **Subcategory**: Couplers
- **Canonical URL**: https://designpattern.fyi/patterns/incomplete-library/

---

## Description
'**Intent**: Identify when you need to add methods to library classes but can't modify them.

**Context**: A library class is missing a method you need, so you add client code to work around it.

**Solution**: Use Introduce Foreign Method to add the method as a wrapper, or create local extensions.'



## Use Cases
Use when library classes are missing needed functionality.









---
**Reference**: [Original Source](https://refactoring.guru/smells/incomplete-library-class)

