Type of `descriptor` can be a non-null `ValueParameterDescriptor` here, because Kotlin sees Java generic types with non-null type arguments by default, so `valueParameters` is actually `List<ValueParameterDescriptor>`, not `List<ValueParameterDescriptor?>`