Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for prettyStringFromReflection (0.36 sec)

  1. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/demo/reflection/utils.kt

        return topLevel
    }
    
    
    fun printReflection(objectReflection: ObjectReflection) {
        println(prettyStringFromReflection(objectReflection))
    }
    
    
    fun AnalysisSchema.reflectAndPrint(code: String) {
        println(prettyStringFromReflection(reflect(code)))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:07:27 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  2. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/demo/demoUtils.kt

            }
        }
    }
    
    
    fun printResolvedAssignments(result: ResolutionResult) {
        println("\nResolved assignments:")
        printAssignmentTrace(assignmentTrace(result))
    }
    
    
    fun prettyStringFromReflection(objectReflection: ObjectReflection): String {
        val visitedIdentity = mutableSetOf<OperationId>()
    
        fun StringBuilder.recurse(current: ObjectReflection, depth: Int) {
            fun indent() = "    ".repeat(depth)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 14:27:23 UTC 2024
    - 7.3K bytes
    - Viewed (0)
Back to top