关于
This skill provides comprehensive guidance for mastering Java's generics system, enabling Claude to write robust, type-safe code that eliminates casting errors and enhances reusability. It covers essential concepts including generic classes and methods, bounded type parameters, wildcard patterns (unbounded, upper, and lower), the PECS (Producer Extends, Consumer Super) principle, and handling type erasure limitations. Whether you are building generic repositories, fluent builders, or complex API contracts, this skill ensures your Java implementations adhere to professional type-safety standards and compile-time verification.