Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 655 for reflectively (0.22 sec)

  1. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/reflect/JavaMethodTest.groovy

    import spock.lang.Specification
    
    class JavaMethodTest extends Specification {
    
        JavaMethodTestSubject myProperties = new JavaMethodTestSubject()
    
        def "call methods successfully reflectively"() {
            expect:
            JavaMethod.of(myProperties.class, String, "getMyProperty").invoke(myProperties) == myProperties.myProp
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  2. proguard/base.pro

      *** getJavaLangAccess(...);
    }
    -dontnote sun.misc.JavaLangAccess
    -keep class sun.misc.JavaLangAccess {
      *** getStackTraceElement(...);
      *** getStackTraceDepth(...);
    }
    
    # FinalizableReferenceQueue calls this reflectively
    # Proguard is intelligent enough to spot the use of reflection onto this, so we
    # only need to keep the names, and allow it to be stripped out if
    # FinalizableReferenceQueue is unused.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 09 00:29:01 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  3. platforms/core-runtime/instrumentation-agent/src/main/java/org/gradle/instrumentation/agent/Agent.java

        }
    
        static void doMain(Instrumentation inst) {
            instrumentation = inst;
        }
    
        @SuppressWarnings("unused")  // Used reflectively.
        public static boolean isApplied() {
            return instrumentation != null;
        }
    
        @SuppressWarnings("unused")  // Used reflectively.
        public static boolean installTransformer(ClassFileTransformer transformer) {
            Instrumentation inst = instrumentation;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 02 15:44:14 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  4. guava-testlib/test/com/google/common/testing/AbstractPackageSanityTestsTest.java

      static class FooTest {
        @SuppressWarnings("unused") // accessed reflectively
        public void testPublic() {}
    
        @SuppressWarnings("unused") // accessed reflectively
        void testNotPublic() {}
      }
    
      // Shouldn't be mistaken as Foo's test
      static class Foo2Test {
        @SuppressWarnings("unused") // accessed reflectively
        public void testPublic() {}
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 21:37:55 UTC 2019
    - 5.3K bytes
    - Viewed (0)
  5. android/guava-testlib/test/com/google/common/testing/AbstractPackageSanityTestsTest.java

      static class FooTest {
        @SuppressWarnings("unused") // accessed reflectively
        public void testPublic() {}
    
        @SuppressWarnings("unused") // accessed reflectively
        void testNotPublic() {}
      }
    
      // Shouldn't be mistaken as Foo's test
      static class Foo2Test {
        @SuppressWarnings("unused") // accessed reflectively
        public void testPublic() {}
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 21:37:55 UTC 2019
    - 5.3K bytes
    - Viewed (0)
  6. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/hpackjson/Case.kt

    import okhttp3.internal.http2.Header
    import okio.ByteString
    
    /**
     * Representation of an individual case (set of headers and wire format). There are many cases for a
     * single story.  This class is used reflectively with Moshi to parse stories.
     */
    data class Case(
      val seqno: Int = 0,
      val wire: ByteString? = null,
      val headers: List<Map<String, String>>,
    ) : Cloneable {
      val headersList: List<Header>
        get() {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Dec 23 10:26:25 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  7. platforms/software/resources-s3/build.gradle.kts

        integTestDistributionRuntimeOnly(project(":distributions-basics"))
    }
    
    
    dependencyAnalysis {
        issues {
            onUnusedDependencies() {
                // This need to exist to be loaded reflectively
                exclude(libs.awsS3Kms)
                exclude(libs.awsS3Sts)
            }
        }
    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. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/hpackjson/Story.kt

     * limitations under the License.
     */
    package okhttp3.internal.http2.hpackjson
    
    /**
     * Representation of one story, a set of request headers to encode or decode. This class is used
     * reflectively with Moshi to parse stories from files.
     */
    data class Story(
      val description: String? = null,
      val cases: List<Case>,
      val fileName: String? = null,
    ) {
      // Used as the test name.
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  9. platforms/core-runtime/base-services/src/integTest/groovy/org/gradle/internal/operations/BuildOperationExecutorIntegrationTest.groovy

            if (JavaVersion.current().isJava9Compatible() && GradleContextualExecuter.isConfigCache()) {
                // For java.util.concurrent.CountDownLatch being serialized reflectively by configuration cache
                executer.withArgument('-Dorg.gradle.jvmargs=--add-opens java.base/java.util.concurrent=ALL-UNNAMED --add-opens java.base/java.util.concurrent.locks=ALL-UNNAMED')
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 12:12:49 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  10. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/jvm/JpmsConfiguration.java

     * These JVM arguments should be passed to any Gradle process that will be running on Java 9+
     * Gradle accesses those packages reflectively. On Java versions 9 to 15, the users will get
     * a warning they can do nothing about. On Java 16+, strong encapsulation of JDK internals is
     * enforced and not having the explicit permissions for reflective accesses will result in runtime exceptions.
     */
    @NonNullApi
    public class JpmsConfiguration {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 13:00:39 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top