- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for isEnumImplicitMethodValues (0.14 sec)
-
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/JavaSourceQueries.kt
private fun JApiMethod.isEnumImplicitMethod(): Boolean = isEnumImplicitMethodValues() || isEnumImplicitMethodValueOf() private fun JApiMethod.isEnumImplicitMethodValueOf(): Boolean { return name == "valueOf" && parameters.size == 1 && parameters.first().type == "java.lang.String" } private fun JApiMethod.isEnumImplicitMethodValues(): Boolean { return name == "values" && parameters.size == 0
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Fri Jun 28 08:29:24 UTC 2024 - 6.5K bytes - Viewed (0)