jabrena avatar

128-java-generics

Use when you need to review, improve, or refactor Java code for generics quality — including avoiding raw types, applying the PECS (Producer Extends Consumer Super) principle for wildcards, using bounded type parameters, designing effective generic methods, leveraging the diamond operator, understanding type erasure implications, handling generic inheritance correctly, preventing heap pollution with @SafeVarargs, and integrating generics with modern Java features like Records, sealed types, and pattern matching.

version
0.14.0-SNAPSHOT
GitHub stars
462

Install

/plugin install 128-java-generics@cursor-rules-java

Run it inside Claude Code after adding the marketplace with /plugin marketplace add jabrena/plinth.

Contents

Discovered from source

Skills 1

Sponsors

Details

Marketplace
jabrena/plinth
Source
skills/128-java-generics
Category
community

More from jabrena/plinth

All 61