- Sort Score
- Result 10 results
- Languages All
Results 191 - 200 of 428 for reflection (0.04 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/Helpers.java
private NullsBeforeTwo() { super("two"); // from TestStringSortedMapGenerator's sample keys } } @J2ktIncompatible @GwtIncompatible // reflection public static Method getMethod(Class<?> clazz, String name) { try { return clazz.getMethod(name); } catch (Exception e) { throw new IllegalArgumentException(e); } }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Oct 10 23:13:45 UTC 2025 - 17.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MapsTest.java
* noted, but the initial table is a zero-length array. * * <p>This test may fail miserably on non-OpenJDK environments... */ @J2ktIncompatible @GwtIncompatible // reflection @AndroidIncompatible // relies on assumptions about OpenJDK public void testNewHashMapWithExpectedSize_wontGrow() throws Exception { // before jdk7u40: creates one-bucket table
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 22:56:33 UTC 2025 - 65K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetShareEnumTest.java
void testMaxDataCountValues(int maxDataCount) throws Exception { netShareEnum = new NetShareEnum(realConfig); // Set maxDataCount using reflection setFieldValue(netShareEnum, "maxDataCount", maxDataCount); byte[] dst = new byte[256]; int bytesWritten = netShareEnum.writeParametersWireFormat(dst, 0);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/http/NetworkExplorerTest.java
verify(response, atLeastOnce()).setStatus(HttpServletResponse.SC_OK); } } /** * Helper method to set fields via reflection */ private void setFieldsViaReflection(NetworkExplorer explorer, boolean enableBasic, String realm) throws Exception { java.lang.reflect.Field styleField = NetworkExplorer.class.getDeclaredField("style");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 21.2K bytes - Viewed (0) -
src/test/java/jcifs/config/BaseConfigurationTest.java
BaseConfiguration testConfig = new BaseConfiguration(false); byte[] customMachineId = new byte[32]; Arrays.fill(customMachineId, (byte) 0xFF); // Use reflection to set private field java.lang.reflect.Field machineIdField = BaseConfiguration.class.getDeclaredField("machineId"); machineIdField.setAccessible(true); machineIdField.set(testConfig, customMachineId);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 20.6K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/exception/CrawlerSystemExceptionTest.java
* Test protected constructor with suppression and stack trace control */ public void test_protectedConstructor_withSuppressionAndStackTrace() throws Exception { // Access protected constructor via reflection Constructor<CrawlerSystemException> constructor = CrawlerSystemException.class.getDeclaredConstructor(String.class, boolean.class, boolean.class); constructor.setAccessible(true);Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 20K bytes - Viewed (0) -
guava/src/com/google/common/reflect/Types.java
TypeVariableImpl<D> typeVariableImpl = new TypeVariableImpl<>(genericDeclaration, name, bounds); @SuppressWarnings("unchecked") TypeVariable<D> typeVariable = Reflection.newProxy( TypeVariable.class, new TypeVariableInvocationHandler(typeVariableImpl)); return typeVariable; } /**
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Oct 31 19:34:24 UTC 2025 - 24.3K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorTest.java
import org.apache.maven.execution.DefaultMavenExecutionResult; import org.apache.maven.execution.MavenExecutionRequest; import org.apache.maven.execution.MavenSession; import org.apache.maven.impl.model.reflection.IntrospectionException; import org.apache.maven.model.Build; import org.apache.maven.model.Dependency; import org.apache.maven.model.Model; import org.apache.maven.model.root.RootLocator;
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Mar 26 19:31:34 UTC 2025 - 19.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java
/* * We'd use assertThrows here, but that causes no exception to be thrown under Java 8, * presumably because the ThrowingRunnable lambda triggers some kind of bug in Java 8's * reflection implementation. */ try { new TypeToken<T>() {}; fail(); } catch (IllegalStateException expected) { // Type variables aren't allowed. } }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:44:53 UTC 2025 - 89K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java
import static com.google.common.collect.testing.google.MultisetRemoveTester.getRemoveDuplicateInitializingMethods; import static com.google.common.reflect.Reflection.newProxy; import com.google.common.annotations.GwtIncompatible; import com.google.common.base.Ascii; import com.google.common.base.Function; import com.google.common.base.Predicates;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Sep 24 22:52:18 UTC 2025 - 28.6K bytes - Viewed (0)