# Feature Envy

> Methods that seem more interested in other objects than the object they're in.

- **Category**: Code Smells
- **Subcategory**: couplers
- **Canonical URL**: https://designpattern.fyi/code_smells/feature-envy/

---

## Description
'**Intent**: Identify methods that extensively use another object's data and methods.

**Context**: A method calls many methods on another object, seemingly more interested in that object than its own class.

**Solution**: Move the method to the class it's most interested in using Move Method refactoring.'



## Use Cases
Use when a method heavily uses another object's data and behavior.









---
**Reference**: [Original Source](https://refactoring.guru/smells/feature-envy)

