Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 934 for Reflection (0.27 sec)

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

    import java.lang.reflect.InvocationHandler;
    import java.lang.reflect.Proxy;
    
    /**
     * Static utilities relating to Java reflection.
     *
     * @since 12.0
     */
    @ElementTypesAreNonnullByDefault
    public final class Reflection {
    
      /**
       * Returns the package name of {@code clazz} according to the Java Language Specification (section
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/reflect/Reflection.java

    import java.lang.reflect.InvocationHandler;
    import java.lang.reflect.Proxy;
    
    /**
     * Static utilities relating to Java reflection.
     *
     * @since 12.0
     */
    @ElementTypesAreNonnullByDefault
    public final class Reflection {
    
      /**
       * Returns the package name of {@code clazz} according to the Java Language Specification (section
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/reflect/ReflectionTest.java

    import java.util.Map;
    import junit.framework.TestCase;
    
    /** Tests for {@link Reflection} */
    public class ReflectionTest extends TestCase {
    
      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()));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  4. 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));
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 17 15:49:06 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  5. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/demo/demoPlugins/ReflectionDemo.kt

    package org.gradle.internal.declarativedsl.demo.demoPlugins
    
    import org.gradle.internal.declarativedsl.demo.reflection.printReflection
    import org.gradle.internal.declarativedsl.demo.reflection.reflect
    import org.gradle.internal.declarativedsl.demo.reflection.reflectAndPrint
    import org.gradle.internal.declarativedsl.analysis.DefaultFqName
    import org.gradle.internal.declarativedsl.objectGraph.ObjectReflection.ConstantValue
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:08:01 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  6. 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));
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 17 15:49:06 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  7. platforms/software/resources-s3/build.gradle.kts

        api(project(":resources-http"))
    
        api(libs.awsS3Core)
        api(libs.awsS3S3)
        api(libs.awsS3Kms) {
            because("Loaded by the AWS libraries with reflection when present")
        }
        api(libs.awsS3Sts) {
            because("Loaded by the AWS libraries with reflection when present: https://github.com/gradle/gradle/issues/15332")
        }
        api(libs.guava)
    
        implementation(projects.baseServices)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:36 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/MapEntrySetTester.java

          }
        }
        expectUnchanged();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getContainsEntryWithIncomparableKeyMethod() {
        return Helpers.getMethod(MapEntrySetTester.class, "testContainsEntryWithIncomparableKey");
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getContainsEntryWithIncomparableValueMethod() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/MapEntrySetTester.java

          }
        }
        expectUnchanged();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getContainsEntryWithIncomparableKeyMethod() {
        return Helpers.getMethod(MapEntrySetTester.class, "testContainsEntryWithIncomparableKey");
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getContainsEntryWithIncomparableValueMethod() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  10. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/mappingToJvm/CustomLambdasTest.kt

        private
        fun applyToOuter(code: String): Outer {
            val reflection = schema.reflect(code)
    
            val outer = Outer()
            val converter = DeclarativeReflectionToObjectConverter(
                emptyMap(), outer, MemberFunctionResolver(functionalLambdaHandler), ReflectionRuntimePropertyResolver, RuntimeCustomAccessors.none
            )
            converter.apply(reflection)
    
            return outer
        }
    }
    
    
    class Outer {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 06 23:16:59 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top