- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 34 for javaClass (0.25 sec)
-
platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/FileCollectionCodec.kt
private fun unsupportedFileTree(fileTree: FileTreeInternal): Nothing = throw UnsupportedOperationException( "Unexpected file tree '$fileTree' of type '${fileTree.javaClass}' found while serializing a file collection." ) } private class CollectingVisitor : AbstractVisitor() { val elements: MutableSet<Any> = mutableSetOf()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 23:09:56 UTC 2024 - 9.9K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/problems/ConfigurationCacheReport.kt
illegalState() open fun close(): State = illegalState() private fun illegalState(): Nothing = throw IllegalStateException("Operation is not valid in ${javaClass.simpleName} state.") class Idle( private val onFirstDiagnostic: (kind: DiagnosticKind, problem: PropertyProblem) -> State ) : State() { /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:30 UTC 2024 - 11.4K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt
Gui, CommandLine, } } companion object { private lateinit var logger: Logger private val SSLSession.masterSecret: SecretKey? get() = javaClass.getDeclaredField("masterSecret") .apply { isAccessible = true } .get(this) as? SecretKey val randomRegex = "\"random\"\\s+:\\s+\"([^\"]+)\"".toRegex()
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 10.7K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10ScopeProvider.kt
val owner = ownerDescriptor.toKtSymbol(analysisContext) if (owner == null) { LOG.error("Unexpected implicit receiver owner: $ownerDescriptor (${ownerDescriptor.javaClass})") continue } result += KaImplicitReceiver(token, type, owner, index) } return result }
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:35 UTC 2024 - 12.6K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/serialization/codecs/JavaObjectSerializationCodecTest.kt
equalTo("value") ) val beanTrace = assertInstanceOf<PropertyTrace.Bean>(fieldTrace.trace) assertThat( beanTrace.type, sameInstance(bean.javaClass) ) } @Test fun `can handle readResolve without writeReplace`() { verifyRoundtripOf({ pairOf(SerializableReadResolveBean()) }) { (first, second) -> assertThat(
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 16.1K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-UtilJvm.kt
internal inline fun Any.notifyAll() = (this as Object).notifyAll() internal fun <T> readFieldOrNull( instance: Any, fieldType: Class<T>, fieldName: String, ): T? { var c: Class<*> = instance.javaClass while (c != Any::class.java) { try { val field = c.getDeclaredField(fieldName) field.isAccessible = true val value = field.get(instance)
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon May 13 13:42:37 UTC 2024 - 10.7K bytes - Viewed (0) -
analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/symbols/DebugSymbolRenderer.kt
val psi = if (call.psi?.containingKtFile?.isCompiled == true) { null } else call.psi renderValue(psi?.javaClass?.simpleName, printer, renderSymbolsFully = false) } } } private fun renderDeprecationInfo(info: DeprecationInfo, printer: PrettyPrinter) { with(printer) {
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 11 15:45:42 UTC 2024 - 19.8K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ProblemReportingCrossProjectModelAccess.kt
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 41.1K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/fingerprint/ConfigurationCacheFingerprintController.kt
abstract fun dispose(): WritingState private fun illegalStateFor(operation: String): Nothing = throw IllegalStateException( "'$operation' is illegal while in '${javaClass.simpleName}' state." ) } private inner class Idle : WritingState() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:15 UTC 2024 - 18.3K bytes - Viewed (0) -
platforms/core-configuration/dependency-management-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/dm/LocalFileDependencyBackedArtifactSetCodec.kt
when (value) { is DefaultLocalFileDependencyBackedArtifactSet -> encode(value) else -> throw UnsupportedOperationException("Cannot encode ${value.javaClass}") } } private suspend fun WriteContext.encode(value: DefaultLocalFileDependencyBackedArtifactSet) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 04 18:56:44 UTC 2024 - 17.5K bytes - Viewed (0)