Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 661 - 670 of 8,784 for KClass (0.06 seconds)

  1. guava-tests/test/com/google/common/util/concurrent/ForwardingObjectTester.java

      static <T extends ForwardingObject> void testForwardingObject(Class<T> forwarderClass) {
        List<Class<?>> interfaces = new ArrayList<>(Arrays.asList(forwarderClass.getInterfaces()));
        // Desugaring may introduce AutoCloseable as an extra interface.
        interfaces.remove(AutoCloseable.class);
        @SuppressWarnings("unchecked") // super interface type of T
        Class<? super T> interfaceType = (Class<? super T>) Iterables.getOnlyElement(interfaces);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  2. api/maven-api-di/src/main/java/org/apache/maven/api/di/Typed.java

         * When specified, only the listed types will be available for injection,
         * even if the class implements or extends other types. If empty, the
         * default behavior is to make all supertypes available for injection.
         * <p>
         * Example:
         * <pre>
         * {@literal @}Typed({Service.class, Monitored.class})
         * public class ServiceImpl implements Service, Monitored, Logging {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jan 30 23:28:59 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/execution/scope/internal/MojoExecutionScopeModule.java

            bind(MavenProject.class)
                    .toProvider(MojoExecutionScope.seededKeyProvider(MavenProject.class))
                    .in(scope);
            bind(MojoExecution.class)
                    .toProvider(MojoExecutionScope.seededKeyProvider(MojoExecution.class))
                    .in(scope);
            bind(Log.class)
                    .toProvider(MojoExecutionScope.seededKeyProvider(Log.class))
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainFinallyHook.java

            try {
                final Class<?> clazz = Class.forName("org.apache.commons.httpclient.MultiThreadedHttpConnectionManager");
                final Method method = clazz.getMethod("shutdownAll", (Class<?>[]) null);
                method.invoke(null, (Object[]) null);
            } catch (final ClassNotFoundException e) {
                // ignore
            } catch (final Exception e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/base/ToStringHelperTest.java

          class LocalInnerNestedClass {}
        }
        String toTest =
            MoreObjects.toStringHelper(new LocalInnerClass().new LocalInnerNestedClass()).toString();
        assertThat(toTest).isEqualTo("LocalInnerNestedClass{}");
      }
    
      public void testToStringHelperLenient_localInnerNestedClass() {
        class LocalInnerClass {
          @SuppressWarnings("ClassCanBeStatic") // We want to test an inner class.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 22K bytes
    - Click Count (0)
  6. okhttp-logging-interceptor/api/logging-interceptor.api

    	public final fun setLevel (Lokhttp3/logging/HttpLoggingInterceptor$Level;)Lokhttp3/logging/HttpLoggingInterceptor;
    }
    
    public final class okhttp3/logging/HttpLoggingInterceptor$Companion {
    }
    
    public final class okhttp3/logging/HttpLoggingInterceptor$Level : java/lang/Enum {
    	public static final field BASIC Lokhttp3/logging/HttpLoggingInterceptor$Level;
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Oct 07 15:15:46 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/base/AbstractIteratorTest.java

                }
              }
            };
    
        // The first time, the sneakily-thrown exception comes out
        assertThrows(SomeCheckedException.class, iter::hasNext);
        // But the second time, AbstractIterator itself throws an ISE
        assertThrows(IllegalStateException.class, iter::hasNext);
      }
    
      public void testException() {
        SomeUncheckedException exception = new SomeUncheckedException();
        Iterator<Integer> iter =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 5.7K bytes
    - Click Count (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/ListAddAtIndexTester.java

        assertThrows(
            ConcurrentModificationException.class,
            () -> {
              Iterator<E> iterator = collection.iterator();
              getList().add(0, e3());
              iterator.next();
            });
      }
    
      @ListFeature.Require(absent = SUPPORTS_ADD_WITH_INDEX)
      public void testAddAtIndex_unsupportedNotPresent() {
        assertThrows(UnsupportedOperationException.class, () -> getList().add(0, e3()));
        expectUnchanged();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  9. scripts/contributors.py

              }
            }
          }
        }
      }
    }
    """
    
    
    class Author(BaseModel):
        login: str
        avatarUrl: str
        url: str
    
    
    class LabelNode(BaseModel):
        name: str
    
    
    class Labels(BaseModel):
        nodes: list[LabelNode]
    
    
    class ReviewNode(BaseModel):
        author: Author | None = None
        state: str
    
    
    class Reviews(BaseModel):
        nodes: list[ReviewNode]
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Dec 16 12:34:01 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  10. schema/index_test.go

    				Sort:    "desc",
    				Collate: "utf8",
    				Length:  10,
    			}},
    		},
    		{
    			Name:   "idx_user_indices_name4",
    			Class:  "UNIQUE",
    			Fields: []schema.IndexOption{{Field: &schema.Field{Name: "Name4", UniqueIndex: "idx_user_indices_name4"}}},
    		},
    		{
    			Name:    "idx_user_indices_name5",
    			Class:   "FULLTEXT",
    			Comment: "hello , world",
    			Where:   "age > 10",
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Fri Dec 06 02:27:44 GMT 2024
    - 7.9K bytes
    - Click Count (0)
Back to Top