Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testVisitTypeVariable (0.23 sec)

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

      public void testVisitClass() {
        assertVisited(String.class);
        new BaseTypeVisitor() {
          @Override
          void visitClass(Class<?> t) {}
        }.visit(String.class);
      }
    
      public <T> void testVisitTypeVariable() {
        Type type = new TypeCapture<T>() {}.capture();
        assertVisited(type);
        new BaseTypeVisitor() {
          @Override
          void visitTypeVariable(TypeVariable<?> t) {}
        }.visit(type);
      }
    
    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