Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 280 for reflector (0.09 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. guava-tests/test/com/google/common/reflect/ReflectionTest.java

      public void testGetPackageName() throws Exception {
        assertEquals("java.lang", Reflection.getPackageName(Iterable.class));
        assertEquals("java", Reflection.getPackageName("java.MyType"));
        assertEquals("java.lang", Reflection.getPackageName(Iterable.class.getName()));
        assertEquals("", Reflection.getPackageName("NoPackage"));
        assertEquals("java.util", Reflection.getPackageName(Map.Entry.class));
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2.7K bytes
    - Click Count (0)
  2. okhttp/src/jvmMain/resources/META-INF/native-image/okhttp/okhttp/reflect-config.json

    Yuri Schimke <******@****.***> 1735306796 +0200
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 438 bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb/MultiChannelManagerBasicTest.java

        @Test
        @DisplayName("createChannelTransport should fail with null addresses")
        void testCreateChannelTransportWithNullAddresses() {
            // Use reflection to access private method for testing
            Exception exception = assertThrows(Exception.class, () -> {
                java.lang.reflect.Method method =
                        MultiChannelManager.class.getDeclaredMethod("createChannelTransport", InetAddress.class, InetAddress.class);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 4K bytes
    - Click Count (0)
  4. android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

    import com.google.common.base.Throwables;
    import com.google.common.reflect.AbstractInvocationHandler;
    import com.google.common.reflect.Reflection;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.lang.reflect.AccessibleObject;
    import java.lang.reflect.InvocationTargetException;
    import java.lang.reflect.Method;
    import java.lang.reflect.Modifier;
    import java.util.ArrayList;
    import java.util.List;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/reflect/AbstractInvocationHandlerTest.java

     * limitations under the License.
     */
    
    package com.google.common.reflect;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    
    import com.google.common.collect.ImmutableList;
    import com.google.common.testing.EqualsTester;
    import com.google.common.testing.SerializableTester;
    import java.io.Serializable;
    import java.lang.reflect.Method;
    import java.lang.reflect.Proxy;
    import java.util.List;
    import junit.framework.TestCase;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 28 02:48:50 GMT 2024
    - 5.7K bytes
    - Click Count (0)
  6. src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrOpenAliasTest.java

            // Verify that ptype and flags are set correctly using reflection
            try {
                java.lang.reflect.Field ptypeField = jcifs.dcerpc.DcerpcMessage.class.getDeclaredField("ptype");
                ptypeField.setAccessible(true);
                assertEquals(0, ptypeField.get(msrpcSamrOpenAlias), "ptype should be initialized to 0");
    
                java.lang.reflect.Field flagsField = jcifs.dcerpc.DcerpcMessage.class.getDeclaredField("flags");
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  7. guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

    import com.google.common.base.Throwables;
    import com.google.common.reflect.AbstractInvocationHandler;
    import com.google.common.reflect.Reflection;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.lang.reflect.AccessibleObject;
    import java.lang.reflect.InvocationTargetException;
    import java.lang.reflect.Method;
    import java.lang.reflect.Modifier;
    import java.util.ArrayList;
    import java.util.List;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  8. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidSocketAdapter.kt

     */
    package okhttp3.internal.platform.android
    
    import android.os.Build
    import java.lang.reflect.InvocationTargetException
    import java.lang.reflect.Method
    import javax.net.ssl.SSLSocket
    import okhttp3.Protocol
    import okhttp3.internal.platform.AndroidPlatform
    import okhttp3.internal.platform.Platform
    
    /**
     * Modern reflection based SocketAdapter for Conscrypt class SSLSockets.
     *
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionSpliteratorTester.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getSpliteratorNotImmutableCollectionAllowsAddMethod() {
        return Helpers.getMethod(
            CollectionSpliteratorTester.class, "testSpliteratorNotImmutable_collectionAllowsAdd");
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getSpliteratorNotImmutableCollectionAllowsRemoveMethod() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapInverseTester.java

       * after serialization.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static List<Method> getInverseSameAfterSerializingMethods() {
        return Collections.singletonList(getMethod("testInverseSerialization"));
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      private static Method getMethod(String methodName) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 3.1K bytes
    - Click Count (0)
Back to Top