Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for testCaptureTypeParameter (0.77 seconds)

  1. guava-tests/test/com/google/common/reflect/TypeParameterTest.java

     *
     * @author Ben Yu
     */
    @NullUnmarked
    public class TypeParameterTest extends TestCase {
    
      public <T> void testCaptureTypeParameter() throws Exception {
        TypeVariable<?> variable = new TypeParameter<T>() {}.typeVariable;
        TypeVariable<?> expected =
            TypeParameterTest.class.getDeclaredMethod("testCaptureTypeParameter")
                .getTypeParameters()[0];
        assertEquals(expected, variable);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 1.9K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/reflect/TypeParameterTest.java

     *
     * @author Ben Yu
     */
    @NullUnmarked
    public class TypeParameterTest extends TestCase {
    
      public <T> void testCaptureTypeParameter() throws Exception {
        TypeVariable<?> variable = new TypeParameter<T>() {}.typeVariable;
        TypeVariable<?> expected =
            TypeParameterTest.class.getDeclaredMethod("testCaptureTypeParameter")
                .getTypeParameters()[0];
        assertEquals(expected, variable);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 1.9K bytes
    - Click Count (0)
Back to Top