Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ClassLoaderNode (0.2 sec)

  1. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/provider/ClassLoaderHierarchy.kt

            result.apply { add(scope) }
        }
    
    
    private
    fun hierarchyOf(classLoader: ClassLoader): ArrayList<ClassLoaderNode> {
    
        val classLoaders = arrayListOf<ClassLoaderNode>()
        val visitedClassLoaders = IdentityHashMap<ClassLoader, Boolean>()
        val stack = ArrayDeque<ClassLoaderNode>()
        val visitor = object : ClassLoaderVisitor() {
            override fun visit(classLoader: ClassLoader) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  2. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/provider/ClassLoaderHierarchyTest.kt

            zipTo(jar, classEntriesFor(`class`))
            return DefaultClassPath.of(listOf(jar))
        }
    
        data class ClassLoaderHierarchy(
            val classLoaders: List<ClassLoaderNode>,
            val scopes: List<ScopeNode>
        )
    
        data class ClassLoaderNode(
            val id: String,
            val label: String,
            val parents: Set<String>,
            val classPath: List<String>
        )
    
        data class ScopeNode(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 2.7K bytes
    - Viewed (0)
Back to top