jw
08/17/2018, 2:15 PMAdapter<*>. This is the type that this.adapter already is (so no real cast). But at compile-time the language was letting you treat it as a T, a subtype. That is why this cast is marked as unchecked. You tricked the language into letting you treat something as a T when there was no actual validation of that happening at runtime to protect you from being wrong.