Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 311 for reflector (0.14 seconds)

  1. android/guava/src/com/google/common/reflect/Reflection.java

     * the License.
     */
    
    package com.google.common.reflect;
    
    import static com.google.common.base.Preconditions.checkArgument;
    import static com.google.common.base.Preconditions.checkNotNull;
    
    import java.lang.reflect.InvocationHandler;
    import java.lang.reflect.Proxy;
    
    /**
     * Static utilities relating to Java reflection.
     *
     * @since 12.0
     */
    public final class Reflection {
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 3.4K bytes
    - Click Count (0)
  2. okhttp/src/jvmMain/resources/META-INF/native-image/okhttp/okhttp/reflect-config.json

    Yuri Schimke <******@****.***> 1735306796 +0200
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 438 bytes
    - Click Count (0)
  3. okcurl/src/main/resources/META-INF/native-image/okhttp3/okcurl/reflect-config.json

    Jesse Wilson <******@****.***> 1703114827 -0500
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 4 bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/reflect/ReflectionTest.java

    /** Tests for {@link Reflection} */
    @NullUnmarked
    public class ReflectionTest extends TestCase {
    
      public void testGetPackageName() throws Exception {
        assertThat(Reflection.getPackageName(Iterable.class)).isEqualTo("java.lang");
        assertThat(Reflection.getPackageName("java.MyType")).isEqualTo("java");
        assertThat(Reflection.getPackageName(Iterable.class.getName())).isEqualTo("java.lang");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/reflect/ReflectionTest.java

    /** Tests for {@link Reflection} */
    @NullUnmarked
    public class ReflectionTest extends TestCase {
    
      public void testGetPackageName() throws Exception {
        assertThat(Reflection.getPackageName(Iterable.class)).isEqualTo("java.lang");
        assertThat(Reflection.getPackageName("java.MyType")).isEqualTo("java");
        assertThat(Reflection.getPackageName(Iterable.class.getName())).isEqualTo("java.lang");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/reflect/AbstractInvocationHandlerTest.java

      private static List<String> newDelegatingList(List<String> delegate) {
        return Reflection.newProxy(List.class, new DelegatingInvocationHandler(delegate));
      }
    
      @SuppressWarnings("unchecked") // proxy of List<String>
      private static List<String> newDelegatingListWithEquals(List<String> delegate) {
        return Reflection.newProxy(List.class, new DelegatingInvocationHandlerWithEquals(delegate));
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 5.8K bytes
    - Click Count (0)
  7. 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: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  8. 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 Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  9. 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 Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainFinallyHookTest.java

            // Verify no exception is thrown to the caller
            assertTrue(true);
        }
    
        // Test shutdownCommonsHttpClient private method with reflection
        @Test
        public void test_shutdownCommonsHttpClient_reflection() throws Exception {
            // Access the private method using reflection
            Method shutdownMethod = FessCurtainFinallyHook.class.getDeclaredMethod("shutdownCommonsHttpClient");
            shutdownMethod.setAccessible(true);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 8.7K bytes
    - Click Count (0)
Back to Top