Remove `@Suppress("EXTENSION_SHADOWED_BY_MEMBER")`
Build and Deploy Snapshot / Build and Deploy Snapshot (push) Waiting to run Details
Build and Deploy Snapshot / Verify (push) Blocked by required conditions Details
Deploy Docs / Dispatch docs deployment (push) Waiting to run Details

Fixed in Kotlin 2.2.0 and IntelliJ IDEA IDEA 2024.2 EAP, see
https://youtrack.jetbrains.com/issue/KT-75169 related issue.

See gh-34453
This commit is contained in:
Sébastien Deleuze 2025-06-24 11:33:45 +02:00
parent 3dfb6a7c0b
commit 294406dae9
6 changed files with 0 additions and 10 deletions

View File

@ -37,7 +37,6 @@ inline fun <reified T : Any> BeanFactory.getBean(): T =
* @author Sebastien Deleuze
* @since 5.0
*/
@Suppress("EXTENSION_SHADOWED_BY_MEMBER")
inline fun <reified T : Any> BeanFactory.getBean(name: String): T =
getBean(name, T::class.java)

View File

@ -23,7 +23,6 @@ package org.springframework.cache
* @author Mikhael Sokolov
* @since 6.0
*/
@Suppress("EXTENSION_SHADOWED_BY_MEMBER")
inline fun <reified T : Any> Cache.get(key: Any): T? = get(key, T::class.java)
/**
@ -32,7 +31,6 @@ inline fun <reified T : Any> Cache.get(key: Any): T? = get(key, T::class.java)
* @author Mikhael Sokolov
* @since 6.0
*/
@Suppress("EXTENSION_SHADOWED_BY_MEMBER")
operator fun Cache.get(key: Any): Cache.ValueWrapper? = get(key)
/**

View File

@ -14,8 +14,6 @@
* limitations under the License.
*/
@file:Suppress("EXTENSION_SHADOWED_BY_MEMBER")
package org.springframework.core.env
/**

View File

@ -63,7 +63,6 @@ inline fun <reified T> JdbcOperations.queryForObject(sql: String, args: Array<ou
* @author Mario Arias
* @since 5.0
*/
@Suppress("EXTENSION_SHADOWED_BY_MEMBER")
inline fun <reified T : Any> JdbcOperations.queryForList(sql: String): List<T> =
queryForList(sql, T::class.java)
@ -74,7 +73,6 @@ inline fun <reified T : Any> JdbcOperations.queryForList(sql: String): List<T> =
* @author Mario Arias
* @since 5.0
*/
@Suppress("EXTENSION_SHADOWED_BY_MEMBER")
inline fun <reified T : Any> JdbcOperations.queryForList(sql: String, args: Array<out Any>,
argTypes: IntArray): List<T> =
queryForList(sql, args, argTypes, T::class.java)

View File

@ -35,7 +35,6 @@ suspend fun DatabaseClient.GenericExecuteSpec.await() {
* @author Mark Paluch
* @author Ibanga Enoobong Ime
*/
@Suppress("EXTENSION_SHADOWED_BY_MEMBER")
inline fun <reified T : Any> DatabaseClient.GenericExecuteSpec.bind(index: Int, value: T?) = bind(index, if (value != null) Parameters.`in`(value) else Parameters.`in`(T::class.java))
/**
@ -44,5 +43,4 @@ inline fun <reified T : Any> DatabaseClient.GenericExecuteSpec.bind(index: Int,
* @author Mark Paluch
* @author Ibanga Enoobong Ime
*/
@Suppress("EXTENSION_SHADOWED_BY_MEMBER")
inline fun <reified T : Any> DatabaseClient.GenericExecuteSpec.bind(name: String, value: T?) = bind(name, if (value != null) Parameters.`in`(value) else Parameters.`in`(T::class.java))

View File

@ -66,7 +66,6 @@ inline fun <reified T : Any> RequestBodySpec.body(flow: Flow<T>): RequestHeaders
* @author Arjen Poutsma
* @since 5.0
*/
@Suppress("EXTENSION_SHADOWED_BY_MEMBER")
inline fun <reified B : Any> ResponseSpec.expectBody(): BodySpec<B, *> =
expectBody(object : ParameterizedTypeReference<B>() {})