Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 511 - 520 of 8,784 for KClass (0.09 seconds)

  1. android/guava-testlib/src/com/google/common/testing/DummyProxy.java

    @GwtIncompatible
    @J2ktIncompatible
    @NullMarked
    abstract class DummyProxy {
    
      /**
       * Returns a new proxy for {@code interfaceType}. Proxies of the same interface are equal to each
       * other if the {@link DummyProxy} instance that created the proxies are equal.
       */
      final <T> T newProxy(TypeToken<T> interfaceType) {
        Set<Class<?>> interfaceClasses = new LinkedHashSet<>();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 22:10:29 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/cache/ReflectionFreeAssertThrows.java

              .put(NoSuchElementException.class, e -> e instanceof NoSuchElementException)
              .put(NullPointerException.class, e -> e instanceof NullPointerException)
              .put(NumberFormatException.class, e -> e instanceof NumberFormatException)
              .put(RuntimeException.class, e -> e instanceof RuntimeException)
              .put(TimeoutException.class, e -> e instanceof TimeoutException)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  3. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/UpgradedPropertiesChangesTest.kt

                    "Method com.example.Task.getFailOnError(): Is not annotated with @since 2.0. Reason for accepting this: Upgraded property" to listOf("Method added to public class", "Abstract method has been added to this class"),
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 24 14:15:15 GMT 2025
    - 26.2K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

      }
    
      public void testExecutors_nullCheck() throws Exception {
        new ClassSanityTester()
            .setDefault(RateLimiter.class, RateLimiter.create(1.0))
            .forAllPublicStaticMethods(MoreExecutors.class)
            .thatReturn(Executor.class)
            .testNulls();
      }
    
      private static class TestApplication extends Application {
        private final List<Thread> hooks = new ArrayList<>();
    
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 26.1K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/reflect/TypeVisitorTest.java

     * @author Ben Yu
     */
    @NullUnmarked
    public class TypeVisitorTest extends TestCase {
    
      public void testVisitNull() {
        new BaseTypeVisitor()
            .visit(((ParameterizedType) ArrayList.class.getGenericSuperclass()).getOwnerType());
      }
    
      public void testVisitClass() {
        assertVisited(String.class);
        new BaseTypeVisitor() {
          @Override
          void visitClass(Class<?> t) {}
        }.visit(String.class);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 3.8K bytes
    - Click Count (0)
  6. src/test/java/jcifs/pac/PacCredentialTypeTest.java

    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import org.junit.jupiter.api.Test;
    
    /**
     * Tests for the {@link PacCredentialType} class.
     */
    class PacCredentialTypeTest {
    
        /**
         * Tests the constructor with a valid byte array.
         */
        @Test
        void testConstructorWithValidData() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  7. src/main/webapp/WEB-INF/view/admin/relatedcontent/admin_relatedcontent_edit.jsp

                <div class="container-fluid">
                    <div class="row mb-2">
                        <div class="col-sm-6">
                            <h1>
                                <la:message key="labels.related_content_title_details"/>
                            </h1>
                        </div>
                        <div class="col-sm-6">
                            <jsp:include page="/WEB-INF/view/common/admin/crud/breadcrumb.jsp"></jsp:include>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/collect/DiscreteDomainTest.java

        assertThrows(
            IllegalArgumentException.class,
            () -> DiscreteDomain.bigIntegers().offset(BigInteger.ZERO, -1));
      }
    
      public void testCustomOffsetExceptions() {
        assertThrows(IllegalArgumentException.class, () -> new MyIntegerDomain().offset(0, -1));
        assertThrows(
            IllegalArgumentException.class, () -> new MyIntegerDomain().offset(Integer.MAX_VALUE, 1));
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 3.7K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/base/PreconditionsTest.java

        }
      }
    
      @GwtIncompatible // Reflection
      @J2ktIncompatible
      public void testAllOverloads_checkNotNull() throws Exception {
        for (ImmutableList<Class<?>> sig : allSignatures(Object.class)) {
          Method checkArgumentMethod =
              Preconditions.class.getMethod("checkNotNull", sig.toArray(new Class<?>[] {}));
          checkArgumentMethod.invoke(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 19.1K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/base/PreconditionsTest.java

        }
      }
    
      @GwtIncompatible // Reflection
      @J2ktIncompatible
      public void testAllOverloads_checkNotNull() throws Exception {
        for (ImmutableList<Class<?>> sig : allSignatures(Object.class)) {
          Method checkArgumentMethod =
              Preconditions.class.getMethod("checkNotNull", sig.toArray(new Class<?>[] {}));
          checkArgumentMethod.invoke(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 19.1K bytes
    - Click Count (0)
Back to Top