Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for sequenceOfJavaSourcesFrom (0.3 sec)

  1. build-logic/jvm/src/main/kotlin/gradlebuild/kotlin/tasks/ParameterNamesIndex.kt

        fun extractParameterNamesIndexFrom(sources: Set<File>, classpath: Set<File>): Map<String, String> =
            isolatedClassLoaderFor(classpath).use { loader ->
                javaProjectBuilderFor(loader)
                    .sequenceOfJavaSourcesFrom(sources)
                    .flatMap { it.classes.asSequence().filter { it.isPublic } }
                    .flatMap { it.methods.asSequence().filter { it.isPublic && it.parameterTypes.isNotEmpty() } }
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4K bytes
    - Viewed (0)
Back to top