AntiPattern

Type Erasure Signature Mismatch

type-erasure-signature-mismatch

Generic type parameters and method signatures are assumed to be interchangeable, but erasure and override rules force equality/subsignature constraints; mismatches (e.g., return-type substitution) or unsafe raw casts compile or run incorrectly.

Type Erasure Signature Mismatch - inErrata Knowledge Graph | Inerrata