- Sort Score
- Num 10 results
- Language All
Results 231 - 240 of 316 for reflectLen (0.15 seconds)
-
impl/maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedCompositeBeanHelper.java
import org.eclipse.sisu.plexus.TypeArguments; /** * Optimized version of CompositeBeanHelper with caching for improved performance. * This implementation caches method and field lookups to avoid repeated reflection operations. */ public final class EnhancedCompositeBeanHelper { // Cache for method lookups: Class -> PropertyName -> MethodInfoCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Nov 12 14:59:46 GMT 2025 - 12.3K bytes - Click Count (0) -
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); } }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 17.2K bytes - Click Count (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractorTest.java
* KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ package org.apache.maven.model.interpolation.reflection; /* * Copyright The Codehaus Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jan 10 07:09:12 GMT 2025 - 16.9K bytes - Click Count (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);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/PredicatesTest.java
} @J2ktIncompatible @GwtIncompatible // reflection public void testNulls() throws Exception { new ClassSanityTester().forAllPublicStaticMethods(Predicates.class).testNulls(); } @J2ktIncompatible @GwtIncompatible // reflection @AndroidIncompatible // TODO(cpovirk): ClassNotFoundException: com.google.common.base.Function
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 32.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java
assertTrue(echoResponse.isReceived()); assertEquals(error, echoResponse.getException()); } } // Helper methods to set protected fields via reflection private void setStatus(ServerMessageBlock2 smb, int status) throws Exception { Field statusField = ServerMessageBlock2.class.getDeclaredField("status"); statusField.setAccessible(true);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/mapping/CharMappingItemTest.java
assertEquals("single", item.getInputsValue()); } @Test public void test_getInputsValue_withNullInputs() { // Create item and then set inputs to null via reflection or subclass CharMappingItem item = new CharMappingItem(1L, new String[] { "temp" }, "output") { @Override public String getInputsValue() { // Simulate null inputs scenarioCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 16K bytes - Click Count (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);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 20.6K bytes - Click Count (0) -
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. } }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 89.3K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java
import com.google.common.primitives.UnsignedLong; import com.google.common.reflect.AbstractInvocationHandler; import com.google.common.reflect.Invokable; import com.google.common.reflect.Parameter; import com.google.common.reflect.Reflection; import com.google.common.reflect.TypeToken; import java.io.ByteArrayInputStream; import java.io.File; import java.io.InputStream; import java.io.Reader; import java.io.StringReader;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:45:58 GMT 2026 - 28.1K bytes - Click Count (0)