Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for resolveType (0.1 sec)

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

        Type owner = type.getOwnerType();
        Type resolvedOwner = (owner == null) ? null : resolveType(owner);
        Type resolvedRawType = resolveType(type.getRawType());
    
        Type[] args = type.getActualTypeArguments();
        Type[] resolvedArgs = resolveTypes(args);
        return Types.newParameterizedTypeWithOwner(
            resolvedOwner, (Class<?>) resolvedRawType, resolvedArgs);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/reflect/TypeResolver.java

        Type owner = type.getOwnerType();
        Type resolvedOwner = (owner == null) ? null : resolveType(owner);
        Type resolvedRawType = resolveType(type.getRawType());
    
        Type[] args = type.getActualTypeArguments();
        Type[] resolvedArgs = resolveTypes(args);
        return Types.newParameterizedTypeWithOwner(
            resolvedOwner, (Class<?>) resolvedRawType, resolvedArgs);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertEquals(Long.class, f.resolveType(Iterable.class.getTypeParameters()[0]).getType());
      }
    
      public <E extends Comparable<Iterable<String>> & Iterable<Integer>>
          void testResolveType_fromTypeVariable_onlyDirectBoundsAreUsed() {
        TypeToken<?> e = TypeToken.of(new TypeCapture<E>() {}.capture());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Sep 02 17:23:59 UTC 2025
    - 89K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertEquals(Long.class, f.resolveType(Iterable.class.getTypeParameters()[0]).getType());
      }
    
      public <E extends Comparable<Iterable<String>> & Iterable<Integer>>
          void testResolveType_fromTypeVariable_onlyDirectBoundsAreUsed() {
        TypeToken<?> e = TypeToken.of(new TypeCapture<E>() {}.capture());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Sep 02 17:23:59 UTC 2025
    - 89K bytes
    - Viewed (0)
  5. guava/src/com/google/common/reflect/Types.java

       * apply to {@code getAnnotatedBounds()}. This does mean that users on Java who obtain an instance
       * of {@code TypeVariable} from {@link TypeResolver#resolveType} will not be able to call {@code
       * getAnnotatedBounds()} on it, but that should hopefully be rare.
       *
       * <p>TODO: b/147144588 - We are currently also missing the methods inherited from {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/reflect/Types.java

       * apply to {@code getAnnotatedBounds()}. This does mean that users on Java who obtain an instance
       * of {@code TypeVariable} from {@link TypeResolver#resolveType} will not be able to call {@code
       * getAnnotatedBounds()} on it, but that should hopefully be rare.
       *
       * <p>TODO: b/147144588 - We are currently also missing the methods inherited from {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/config/BaseConfigurationTest.java

            config.initResolverOrder(null);
    
            List<ResolverType> order = config.getResolveOrder();
            assertEquals(4, order.size());
            assertEquals(ResolverType.RESOLVER_LMHOSTS, order.get(0));
            assertEquals(ResolverType.RESOLVER_DNS, order.get(1));
            assertEquals(ResolverType.RESOLVER_WINS, order.get(2));
            assertEquals(ResolverType.RESOLVER_BCAST, order.get(3));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/config/BaseConfiguration.java

                    this.resolverOrder.add(ResolverType.RESOLVER_LMHOSTS);
                    this.resolverOrder.add(ResolverType.RESOLVER_DNS);
                } else {
                    this.resolverOrder.add(ResolverType.RESOLVER_LMHOSTS);
                    this.resolverOrder.add(ResolverType.RESOLVER_DNS);
                    this.resolverOrder.add(ResolverType.RESOLVER_WINS);
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/netbios/NameServiceClientImpl.java

             * with the addr parameter we fall into this resolveOrder routine.
             */
    
            for (final ResolverType resolverType : this.resolveOrder) {
                try {
                    switch (resolverType) {
                    case RESOLVER_LMHOSTS:
                        final NbtAddress ans = this.lmhosts.getByName(name, this.transportContext);
                        if (ans != null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 38.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/netbios/NameServiceClientImplTest.java

    import org.mockito.quality.Strictness;
    
    import jcifs.Address;
    import jcifs.CIFSContext;
    import jcifs.Configuration;
    import jcifs.NetbiosAddress;
    import jcifs.NetbiosName;
    import jcifs.ResolverType;
    
    /**
     * Test class for NameServiceClientImpl focusing on public API methods.
     * Optimized for fast execution with minimal network calls.
     */
    @ExtendWith(MockitoExtension.class)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11K bytes
    - Viewed (0)
Back to top