Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 56 for Reflection (0.15 sec)

  1. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

        @SuppressWarnings("unused") // Called by reflection
        private void privateMethod() {}
    
        @SuppressWarnings("unused") // Called by reflection
        void packagePrivateMethod() {}
    
        @SuppressWarnings("unused") // Called by reflection
        protected void protectedMethod() {}
    
        @SuppressWarnings("unused") // Called by reflection
        public void publicMethod() {}
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 47.7K bytes
    - Viewed (0)
  2. platforms/jvm/testing-junit-platform/build.gradle.kts

    This project should only be used by :testing-jvm-infrastructure, however it is not depended upon directly.
    Instead :testing-jvm-infrastructure loads classes from this project via reflection due to the above noted Java version issue.
    We make sure to include this subproject as a runtime dependency in :distributions-core to ensure we include it with the Gradle distribution.
    """
    
    dependencies {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 986 bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

          // Don't use cls.getPackage() because it does nasty things like reading
          // a file.
          String visiblePackage = Reflection.getPackageName(cls);
          ImmutableList.Builder<Method> builder = ImmutableList.builder();
          for (Class<?> type : TypeToken.of(cls).getTypes().rawTypes()) {
            if (!Reflection.getPackageName(type).equals(visiblePackage)) {
              break;
            }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/testing/NullPointerTester.java

          // Don't use cls.getPackage() because it does nasty things like reading
          // a file.
          String visiblePackage = Reflection.getPackageName(cls);
          ImmutableList.Builder<Method> builder = ImmutableList.builder();
          for (Class<?> type : TypeToken.of(cls).getTypes().rawTypes()) {
            if (!Reflection.getPackageName(type).equals(visiblePackage)) {
              break;
            }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  5. src/cmd/link/internal/ld/deadcode.go

    		d.mark(d.ctxt.mainInittasks, 0)
    	}
    }
    
    func (d *deadcodePass) flood() {
    	var methods []methodref
    	for !d.wq.empty() {
    		symIdx := d.wq.pop()
    
    		// Methods may be called via reflection. Give up on static analysis,
    		// and mark all exported methods of all reachable types as reachable.
    		d.reflectSeen = d.reflectSeen || d.ldr.IsReflectMethod(symIdx)
    
    		isgotype := d.ldr.IsGoType(symIdx)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 14:52:41 UTC 2024
    - 19K bytes
    - Viewed (0)
  6. guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java

          return;
        }
        fail();
      }
    
      private static class BadEqualsFactory {
        /** oneConstantOnly matters now since it can be either null or the constant. */
        @SuppressWarnings("unused") // Called by reflection
        public static Object bad(String a, int b, @Nullable OneConstantEnum oneConstantOnly) {
          return new GoodEquals(a, b);
        }
      }
    
      public void testNullsOnReturnValues_good() throws Exception {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 36.2K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/testing/ClassSanityTester.java

    import com.google.common.collect.Sets;
    import com.google.common.primitives.Ints;
    import com.google.common.reflect.Invokable;
    import com.google.common.reflect.Parameter;
    import com.google.common.reflect.Reflection;
    import com.google.common.reflect.TypeToken;
    import com.google.common.testing.NullPointerTester.Visibility;
    import com.google.common.testing.RelationshipTester.Item;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/UnsignedBytes.java

      }
    
      /**
       * Provides a lexicographical comparator implementation; either a Java implementation or a faster
       * implementation based on {@link Unsafe}.
       *
       * <p>Uses reflection to gracefully fall back to the Java implementation if {@code Unsafe} isn't
       * available.
       */
      @VisibleForTesting
      static class LexicographicalComparatorHolder {
        static final String UNSAFE_COMPARATOR_NAME =
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

    import com.google.common.collect.Sets;
    import com.google.common.primitives.Ints;
    import com.google.common.reflect.Invokable;
    import com.google.common.reflect.Parameter;
    import com.google.common.reflect.Reflection;
    import com.google.common.reflect.TypeToken;
    import com.google.common.testing.NullPointerTester.Visibility;
    import com.google.common.testing.RelationshipTester.Item;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/primitives/UnsignedBytes.java

      }
    
      /**
       * Provides a lexicographical comparator implementation; either a Java implementation or a faster
       * implementation based on {@link Unsafe}.
       *
       * <p>Uses reflection to gracefully fall back to the Java implementation if {@code Unsafe} isn't
       * available.
       */
      @VisibleForTesting
      static class LexicographicalComparatorHolder {
        static final String UNSAFE_COMPARATOR_NAME =
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 18.3K bytes
    - Viewed (0)
Back to top