Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for BaseTypeVisitor (0.08 sec)

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

     * @author Ben Yu
     */
    public class TypeVisitorTest extends TestCase {
    
      public void testVisitNull() {
        new BaseTypeVisitor()
            .visit(((ParameterizedType) ArrayList.class.getGenericSuperclass()).getOwnerType());
      }
    
      public void testVisitClass() {
        assertVisited(String.class);
        new BaseTypeVisitor() {
          @Override
          void visitClass(Class<?> t) {}
        }.visit(String.class);
      }
    
    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