Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for TypeVisitor (0.25 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

     * recursion by calling {@link #visit} for any {@code Type} while visitation is in progress. For
     * example, this can be used to reject wildcards or type variables contained in a type as in:
     *
     * {@snippet :
     * new TypeVisitor() {
     *   protected void visitParameterizedType(ParameterizedType t) {
     *     visit(t.getOwnerType());
     *     visit(t.getActualTypeArguments());
     *   }
     *   protected void visitGenericArrayType(GenericArrayType t) {
    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

    import java.lang.reflect.WildcardType;
    import java.util.ArrayList;
    import java.util.EnumSet;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests of {@link TypeVisitor}.
     *
     * @author Ben Yu
     */
    @NullUnmarked
    public class TypeVisitorTest extends TestCase {
    
      public void testVisitNull() {
        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