Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for membres (0.44 sec)

  1. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt

            }
        }
    
        fun isSince(version: String, member: JApiCompatibility): (KtFile) -> Boolean = { ktFile ->
            val ctMember = member.newCtMember
            val ctDeclaringClass = ctMember.declaringClass
            when {
                ctMember is CtMethod && ctMember.isSynthetic -> true // synthetic members cannot have kdoc
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 20 20:38:19 GMT 2023
    - 11.1K bytes
    - Viewed (0)
  2. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/kotlindsl/kotlin-dsl-upstream-candidates.kt

    // This file contains members that we should consider to pull upstream
    // and make available to all Kotlin DSL users
    package gradlebuild.basics.kotlindsl
    
    import org.gradle.api.Project
    import java.io.ByteArrayOutputStream
    import java.io.File
    
    
    /**
     * `dir / "sub"` is the same as `dir.resolve("sub")`.
     *
     * @see [File.resolve]
     */
    operator fun File.div(child: String): File =
        resolve(child)
    
    
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 933 bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/AbstractAcceptedApiChangesMaintenanceTask.kt

            val member: String?,
            val acceptation: String?,
            val changes: List<String>?
        ) {
            override fun toString(): String = "Type: '$type', Member: '$member'"
        }
    
        @VisibleForTesting
        data class AcceptedApiChanges(
            val acceptedApiChanges: List<AcceptedApiChange>?
        )
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Feb 07 20:38:43 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/JavaSourceQueries.kt

        fun isSince(version: String, member: JApiCompatibility): JavaSourceQuery<Boolean> =
            member.jApiClass.simpleName.let { declaringClassSimpleName ->
                JavaSourceQuery(
                    false,
                    when (member) {
                        is JApiClass -> isSinceJavaClassVisitorFor(declaringClassSimpleName, version)
                        is JApiField -> isSinceJavaFieldVisitorFor(member, version)
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Dec 01 20:12:19 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  5. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/AlphabeticalAcceptedApiChangesTask.kt

    import org.gradle.api.tasks.TaskAction
    
    
    /**
     * This [Task][org.gradle.api.Task] checks that the contents of a given accepted API changes file
     * are present in alphabetical order (by type, then member), and throws an exception and reports
     * any changes that are not.
     */
    @CacheableTask
    abstract class AlphabeticalAcceptedApiChangesTask : AbstractAcceptedApiChangesMaintenanceTask() {
        @TaskAction
        fun execute() {
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Sep 30 18:18:04 GMT 2022
    - 2K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/JApiCmpExtensions.kt

        get() = when (this) {
            is JApiClass -> this
            is JApiField -> this.getjApiClass()
            is JApiBehavior -> this.getjApiClass()
            else -> throw IllegalStateException("Unsupported japicmp member type '${this::class}'")
        }
    
    
    internal
    val JApiClass.isKotlin: Boolean
        get() = newClass.orNull()?.isKotlin ?: false
    
    
    internal
    val JApiClass.simpleName: String
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 1.5K bytes
    - Viewed (0)
  7. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/SortAcceptedApiChangesTask.kt

    import org.gradle.api.tasks.TaskAction
    
    
    /**
     * This [Task][org.gradle.api.Task] reorders the changes in an accepted API changes file
     * so that they are alphabetically sorted (by type, then member).
     */
    @CacheableTask
    abstract class SortAcceptedApiChangesTask : AbstractAcceptedApiChangesMaintenanceTask() {
    
        @TaskAction
        fun execute() {
            val sortedChanges = sortChanges(loadChanges())
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Sep 30 18:18:04 GMT 2022
    - 2.1K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/KotlinInternalFilteringTest.kt

                $publicMembers
            }
        """
    
        @Test
        fun `added internal members are filtered from the comparison`() {
    
            checkBinaryCompatibleKotlin(
                v1 = existingSource,
                v2 = internalSource
            ).assertEmptyReport()
        }
    
        @Test
        fun `existing internal members made public appear as added`() {
    
            checkNotBinaryCompatibleKotlin(
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Jul 11 06:57:51 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  9. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/SortAcceptedApiChangesTaskIntegrationTest.kt

                """
                    {
                        "acceptedApiChanges": [
                            {
                                "type": "org.gradle.api.file.SourceDirectorySet",
                                "member": "Method org.gradle.api.file.SourceDirectorySet.getOutputDir()",
                                "acceptation": "Deprecated method removed",
                                "changes": [
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Sep 30 18:18:04 GMT 2022
    - 7.5K bytes
    - Viewed (0)
  10. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/JavassistExtensions.kt

            return value!!
        }
    
    
    private
    fun <T> annotationMemberValueNotFound(type: TypeOf<T>) =
        IllegalStateException("Annotation member value '${type.simpleName}' not found")
    
    
    private
    open class MemberValueVisitorAdapter : MemberValueVisitor {
        override fun visitStringMemberValue(node: StringMemberValue) = Unit
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4.6K bytes
    - Viewed (0)
Back to top