Package com.google.inject.internal.MoreTypes

Examples of com.google.inject.internal.MoreTypes.WildcardTypeImpl


  /**
   * Returns a type that represents an unknown type that extends {@code bound}.
   */
  public static WildcardType subtypeOf(Type bound) {
    return new WildcardTypeImpl(new Type[] { bound }, MoreTypes.EMPTY_TYPE_ARRAY);
  }
View Full Code Here


  /**
   * Returns a type that represents an unknown supertype of {@code bound}.
   */
  public static WildcardType supertypeOf(Type bound) {
    return new WildcardTypeImpl(new Type[] { Object.class }, new Type[] { bound });
  }
View Full Code Here

TOP

Related Classes of com.google.inject.internal.MoreTypes.WildcardTypeImpl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.