Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 674 for Reflection (0.35 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/JdkIllegalReflectionTestWorkerIntegrationTest.groovy

    import spock.lang.Issue
    
    import static org.hamcrest.CoreMatchers.containsString
    
    /**
     * Ensures test behavior and actual application behavior are equivalent when
     * production code attempts to perform reflection on JDK internals.
     */
    class JdkIllegalReflectionTestWorkerIntegrationTest extends AbstractIntegrationSpec {
    
        def setup() {
            buildFile << """
                plugins {
                    id 'application'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  8. pkg/istio-agent/tap_proxy.go

    package istioagent
    
    import (
    	"fmt"
    	"strings"
    	"time"
    
    	discovery "github.com/envoyproxy/go-control-plane/envoy/service/discovery/v3"
    	"google.golang.org/grpc"
    	"google.golang.org/grpc/reflection"
    
    	istiogrpc "istio.io/istio/pilot/pkg/grpc"
    	istiokeepalive "istio.io/istio/pkg/keepalive"
    	"istio.io/istio/pkg/log"
    )
    
    type tapProxy struct {
    	xdsProxy *XdsProxy
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 04 20:29:08 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/reflect/InvokableTest.java

        assertEquals(Prepender.class, Prepender.constructor().getReturnType().getType());
      }
    
      private static class WithConstructorAndTypeParameter<T> {
        @SuppressWarnings("unused") // by reflection
        <X> WithConstructorAndTypeParameter() {}
      }
    
      public void testConstructor_returnType_hasTypeParameter() throws Exception {
        Class<WithConstructorAndTypeParameter> type = WithConstructorAndTypeParameter.class;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 30.8K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/reflect/InvokableTest.java

        assertEquals(Prepender.class, Prepender.constructor().getReturnType().getType());
      }
    
      private static class WithConstructorAndTypeParameter<T> {
        @SuppressWarnings("unused") // by reflection
        <X> WithConstructorAndTypeParameter() {}
      }
    
      public void testConstructor_returnType_hasTypeParameter() throws Exception {
        Class<WithConstructorAndTypeParameter> type = WithConstructorAndTypeParameter.class;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 30.9K bytes
    - Viewed (0)
Back to top