Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for visitWildcardType (0.18 seconds)

  1. android/guava/src/com/google/common/reflect/TypeVisitor.java

     *     visit(t.getGenericComponentType());
     *   }
     *   protected void visitTypeVariable(TypeVariable<?> t) {
     *     throw new IllegalArgumentException("Cannot contain type variable.");
     *   }
     *   protected void visitWildcardType(WildcardType t) {
     *     throw new IllegalArgumentException("Cannot contain wildcard type.");
     *   }
     * }.visit(type);
     * }
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/reflect/TypeVisitorTest.java

        }.visit(type);
      }
    
      public void testVisitWildcardType() {
        WildcardType type = Types.subtypeOf(String.class);
        assertVisited(type);
        new BaseTypeVisitor() {
          @Override
          void visitWildcardType(WildcardType t) {}
        }.visit(type);
      }
    
      public <T> void testVisitGenericArrayType() {
        Type type = new TypeCapture<T[]>() {}.capture();
        assertVisited(type);
        new BaseTypeVisitor() {
    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)
  3. android/guava-tests/test/com/google/common/reflect/TypeVisitorTest.java

        }.visit(type);
      }
    
      public void testVisitWildcardType() {
        WildcardType type = Types.subtypeOf(String.class);
        assertVisited(type);
        new BaseTypeVisitor() {
          @Override
          void visitWildcardType(WildcardType t) {}
        }.visit(type);
      }
    
      public <T> void testVisitGenericArrayType() {
        Type type = new TypeCapture<T[]>() {}.capture();
        assertVisited(type);
        new BaseTypeVisitor() {
    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)
Back to Top