Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for primitiveTypeStrings (0.07 sec)

  1. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/PrimitiveKotlinTypeStrings.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.kotlin.dsl.internal.sharedruntime.codegen
    
    
    val primitiveTypeStrings =
        mapOf(
            "java.lang.Object" to "Any",
            "java.lang.String" to "String",
            "java.lang.Character" to "Char",
            "char" to "Char",
            "java.lang.Boolean" to "Boolean",
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Sep 19 08:18:50 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt

    
    private
    fun String.mapJavaTypeToKotlinType(): String {
        val javaTypeName = this
        return primitiveTypeStrings[javaTypeName] ?: collectionTypeStrings[javaTypeName] ?: javaTypeName
    }
    
    
    // TODO:kotlin-dsl dedupe with KotlinTypeStrings.primitiveTypeStrings
    private
    val primitiveTypeStrings =
        mapOf(
            "java.lang.Object" to "Any",
            "java.lang.String" to "String",
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Jul 08 07:02:19 UTC 2025
    - 13.2K bytes
    - Viewed (0)
Back to top