Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for newArtificialTypeVariable (0.1 sec)

  1. guava/src/com/google/common/reflect/Types.java

        }
      }
    
      /**
       * Returns a new {@link TypeVariable} that belongs to {@code declaration} with {@code name} and
       * {@code bounds}.
       */
      static <D extends GenericDeclaration> TypeVariable<D> newArtificialTypeVariable(
          D declaration, String name, Type... bounds) {
        return newTypeVariableImpl(
            declaration, name, (bounds.length == 0) ? new Type[] {Object.class} : bounds);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/reflect/TypeResolver.java

             */
            if (Types.NativeTypeVariableEquals.NATIVE_TYPE_VARIABLE_ONLY
                && Arrays.equals(bounds, resolvedBounds)) {
              return var;
            }
            return Types.newArtificialTypeVariable(
                var.getGenericDeclaration(), var.getName(), resolvedBounds);
          }
          // in case the type is yet another type variable.
          return new TypeResolver(forDependants).resolveType(type);
        }
    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. android/guava/src/com/google/common/reflect/Types.java

        }
      }
    
      /**
       * Returns a new {@link TypeVariable} that belongs to {@code declaration} with {@code name} and
       * {@code bounds}.
       */
      static <D extends GenericDeclaration> TypeVariable<D> newArtificialTypeVariable(
          D declaration, String name, Type... bounds) {
        return newTypeVariableImpl(
            declaration, name, (bounds.length == 0) ? new Type[] {Object.class} : bounds);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/reflect/TypeResolver.java

             */
            if (Types.NativeTypeVariableEquals.NATIVE_TYPE_VARIABLE_ONLY
                && Arrays.equals(bounds, resolvedBounds)) {
              return var;
            }
            return Types.newArtificialTypeVariable(
                var.getGenericDeclaration(), var.getName(), resolvedBounds);
          }
          // in case the type is yet another type variable.
          return new TypeResolver(forDependants).resolveType(type);
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 24.2K bytes
    - Viewed (0)
Back to top