- Sort Score
- Num 10 results
- Language All
Results 181 - 190 of 403 for Reflection (0.06 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 Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Nov 12 14:59:46 GMT 2025 - 12.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2RequestTest.java
} return calculatedLength; } private void setLength(int length) { try { // Use reflection to set the protected length field java.lang.reflect.Field lengthField = ServerMessageBlock2.class.getDeclaredField("length"); lengthField.setAccessible(true);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.7K bytes - Click Count (0) -
impl/maven-core/src/test/remote-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
java.util.Properties loadProperties(java.net.URL); public static java.util.Properties loadProperties(java.io.File); public static java.util.Properties loadProperties(java.io.InputStream); } org/codehaus/plexus/util/reflection/Reflector.class package org.codehaus.plexus.util.reflection; public final synchronized class Reflector { private static final String CONSTRUCTOR_METHOD_NAME = $$CONSTRUCTOR$$; private static final String GET_INSTANCE_METHOD_NAME = getInstance; private java.util.HashMap classMaps;...
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 164.6K 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: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/EnumBiMapTest.java
public void testSerializable() { SerializableTester.reserializeAndAssert( EnumBiMap.create(ImmutableMap.of(Currency.DOLLAR, Country.CANADA))); } @J2ktIncompatible @GwtIncompatible // reflection public void testNulls() { new NullPointerTester().testAllPublicStaticMethods(EnumBiMap.class); new NullPointerTester() .testAllPublicInstanceMethods(
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 11.9K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/configuration/internal/CompositeBeanHelperPerformanceTest.java
RealisticTestBean bean = new RealisticTestBean(); // Set multiple properties to simulate real mojo configuration // Use direct method calls instead of reflection for fair comparison PlexusConfiguration nameConfig = new XmlPlexusConfiguration("name"); nameConfig.setValue("testValue"); originalHelper.setProperty(bean, "name", String.class, nameConfig);
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Jul 17 07:40:49 GMT 2025 - 16.6K bytes - Click Count (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java
// Initialize response chain (also for chained query) Smb2CreateResponse cr = create.initResponse(cifsContext); // Access chained Smb2QueryDirectoryRequest via reflection Smb2QueryDirectoryRequest q = (Smb2QueryDirectoryRequest) getNextOf(create); // Provide a query response with two entries
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.7K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java
import junit.framework.AssertionFailedError; import junit.framework.TestCase; import org.jspecify.annotations.Nullable; /** * Tests for {@link ForwardingWrapperTester}. Live in a different package to detect reflection * access issues, if any. * * @author Ben Yu */ public class ForwardingWrapperTesterTest extends TestCase { private final ForwardingWrapperTester tester = new ForwardingWrapperTester();Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 15.7K 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 Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 28.1K 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 Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 32.3K bytes - Click Count (0)