- Sort Score
- Num 10 results
- Language All
Results 1 - 7 of 7 for isAccessible (0.47 seconds)
-
android-test-app/src/main/kotlin/okhttp/android/testapp/TestApplication.kt
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.P) { getProcessName() } else { Class .forName("android.app.ActivityThread") .getDeclaredMethod("currentProcessName") .apply { isAccessible = true } .invoke(null) as String }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Aug 19 08:10:39 GMT 2025 - 1.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/net/HttpHeadersTest.java
/* * Coverage mode generates synthetic fields. If we ever add private * fields, they will cause similar problems, and we may want to switch * this check to isAccessible(). */ if (!field.isSynthetic() && field.getType() == String.class) { builder.add(field); } } return builder.build(); } private static String upperToHttpHeaderName(Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 20:10:09 GMT 2026 - 4.1K bytes - Click Count (0) -
okhttp/src/androidMain/kotlin/okhttp3/internal/platform/AndroidPlatform.kt
val method = trustManager.javaClass.getDeclaredMethod( "findTrustAnchorByIssuerAndSignature", X509Certificate::class.java, ) method.isAccessible = true CustomTrustRootIndex(trustManager, method) } catch (e: NoSuchMethodException) { super.buildTrustRootIndex(trustManager) }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Oct 10 05:19:46 GMT 2025 - 6.5K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/aether/LoggingRepositoryListener.java
} else { metadata = event.getMetadata(); } String errorType = " is invalid"; if (exception instanceof FileNotFoundException) { errorType = " is inaccessible"; } String msg = ""; if (exception != null) { msg = ": " + exception.getMessage(); } if (logger.isDebugEnabled()) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 3.4K bytes - Click Count (0) -
android/guava/src/com/google/common/eventbus/Subscriber.java
} catch (IllegalArgumentException e) { throw new Error("Method rejected target/argument: " + event, e); } catch (IllegalAccessException e) { throw new Error("Method became inaccessible: " + event, e); } catch (InvocationTargetException e) { if (e.getCause() instanceof Error) { throw (Error) e.getCause(); } throw e; } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed May 14 19:40:47 GMT 2025 - 4.7K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/testing/GcFinalizationTest.java
} catch (NoSuchMethodException | IllegalAccessException probablyBeforeJava9OrAndroid28) { /* * It's theoretically possible for Reference.reachabilityFence to exist under older VMs in an * inaccessible form. */ return false; } catch (InvocationTargetException e) { throw new AssertionError(e.getCause()); } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:11:48 GMT 2026 - 8.8K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/GcFinalizationTest.java
} catch (NoSuchMethodException | IllegalAccessException probablyBeforeJava9OrAndroid28) { /* * It's theoretically possible for Reference.reachabilityFence to exist under older VMs in an * inaccessible form. */ return false; } catch (InvocationTargetException e) { throw new AssertionError(e.getCause()); } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:11:48 GMT 2026 - 8.8K bytes - Click Count (0)