Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for visitTypeVariable (0.19 sec)

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

     *     visit(t.getOwnerType());
     *     visit(t.getActualTypeArguments());
     *   }
     *   protected void visitGenericArrayType(GenericArrayType t) {
     *     visit(t.getGenericComponentType());
     *   }
     *   protected void visitTypeVariable(TypeVariable<?> t) {
     *     throw new IllegalArgumentException("Cannot contain type variable.");
     *   }
     *   protected void visitWildcardType(WildcardType t) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Apr 16 21:10:04 UTC 2021
    - 3.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/reflect/TypeVisitorTest.java

        }.visit(String.class);
      }
    
      public <T> void testVisitTypeVariable() {
        Type type = new TypeCapture<T>() {}.capture();
        assertVisited(type);
        new BaseTypeVisitor() {
          @Override
          void visitTypeVariable(TypeVariable<?> t) {}
        }.visit(type);
      }
    
      public void testVisitWildcardType() {
        WildcardType type = Types.subtypeOf(String.class);
        assertVisited(type);
        new BaseTypeVisitor() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.7K bytes
    - Viewed (0)
Back to top