- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for isAccessible (0.21 sec)
-
native-image-tests/src/main/kotlin/okhttp3/RunTests.kt
val colorPalette = Class.forName("org.junit.platform.console.tasks.ColorPalette").getField("DEFAULT").apply { isAccessible = true }.get(null) return Class.forName( "org.junit.platform.console.tasks.TreePrintingListener", ).declaredConstructors.first() .apply { isAccessible = true } .newInstance(PrintWriter(System.out), colorPalette, Theme.UNICODE) as TestExecutionListener
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 5.3K bytes - Viewed (0) -
okhttp/src/main/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) }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 6.2K bytes - Viewed (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(); }
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Tue Jan 17 17:41:51 GMT 2023 - 3.9K bytes - Viewed (0) -
android/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(); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 22 21:08:08 GMT 2024 - 3.9K bytes - Viewed (0) -
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()) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Sep 22 09:07:17 GMT 2023 - 3.7K bytes - Viewed (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; } }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Oct 06 00:47:57 GMT 2021 - 4.7K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/LittleEndianByteArray.java
void putLongLittleEndian(byte[] array, int offset, long value); } /** * The only reference to Unsafe is in this nested class. We set things up so that if * Unsafe.theUnsafe is inaccessible, the attempt to load the nested class fails, and the outer * class's static initializer can fall back on a non-Unsafe version. */ private enum UnsafeByteArray implements LittleEndianBytes {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 22 17:40:56 GMT 2024 - 9.7K bytes - Viewed (0)