- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for IllegalStateException (0.28 sec)
-
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/AbstractCheckOrUpdateContributorsInReleaseNotes.kt
throw IllegalStateException("Can't find the contributors section in the release notes $releaseNotes.") } val contributorSectionEndIndex = (contributorSectionBeginIndex until releaseNotesLines.size).firstOrNull { val line = releaseNotesLines[it].trim() line.isNotEmpty() && !line.startsWith("[")
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Mon May 16 05:03:11 GMT 2022 - 5.7K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt
is CtConstructor -> ktFile.isDocumentedAsSince(version, ctDeclaringClass, ctMember) is CtMethod -> ktFile.isDocumentedAsSince(version, ctDeclaringClass, ctMember) else -> throw IllegalStateException("Unsupported japicmp member type '${member::class}'") } } } private fun KtFile.isDocumentedAsSince(version: String, declaringClass: CtClass, field: CtField): Boolean =
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) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/metadata/HasKotlinFlagsMetadataQuery.kt
is KotlinClassMetadata.MultiFileClassFacade -> false is KotlinClassMetadata.SyntheticClass -> false is KotlinClassMetadata.Unknown -> false else -> throw IllegalStateException("Unsupported Kotlin metadata type '${this::class}'") } private typealias FlagsPredicate = (Flags) -> Boolean private
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Wed Jun 07 08:14:15 GMT 2023 - 4.5K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/JApiCmpExtensions.kt
internal val JApiCompatibility.jApiClass: JApiClass 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) -
build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/ide/AndroidStudioProvisioningPlugin.kt
Plain Text - Registered: Wed Mar 27 11:36:08 GMT 2024 - Last Modified: Fri Dec 22 13:46:27 GMT 2023 - 5.4K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/JavassistExtensions.kt
}) if (value == null) throw annotationMemberValueNotFound(typeOf<Array<String>>()) 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) -
build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiTypeProvider.kt
* * Keeps JAR files open for fast lookup, must be closed. * Once closed, type graph navigation from [ApiType] and [ApiFunction] instances * will throw [IllegalStateException]. * * Limitations: * - supports Java byte code only, not Kotlin * - does not support nested Java arrays as method parameters * - does not support generics with multiple bounds */
Plain Text - Registered: Wed Feb 28 11:36:09 GMT 2024 - Last Modified: Tue Feb 06 19:56:10 GMT 2024 - 20.8K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/JavaSourceQueries.kt
is JApiMethod -> isSinceJavaMethodVisitorFor(declaringClassSimpleName, member, version) else -> throw IllegalStateException("Unsupported japicmp member type ${member::class}") } ) } } private val MethodDeclaration.hasOverrideAnnotation: Boolean
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) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildEnvironment.kt
this } else { val parent = dir("..") when { parent.file("version.txt").asFile.exists() -> parent this == parent -> throw IllegalStateException("Cannot find 'version.txt' file in root of repository") else -> parent.parentOrRoot() } } fun Project.releasedVersionsFile() = repoRoot().file("released-versions.json") /**
Plain Text - Registered: Wed May 08 11:36:15 GMT 2024 - Last Modified: Fri Feb 09 22:52:01 GMT 2024 - 5.7K bytes - Viewed (2) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/CheckContributorsInReleaseNotes.kt
val contributorsInPullRequestsButNotInReleaseNotes = contributorsFromPullRequests.minus(contributorsInReleaseNotes) if (contributorsInPullRequestsButNotInReleaseNotes.isNotEmpty()) { throw IllegalStateException( """The contributors in the release notes $releaseNotes don't match the contributors in the PRs. Release notes: $contributorsInReleaseNotes
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Mon May 16 05:03:11 GMT 2022 - 1.9K bytes - Viewed (0)