Class MoreTypes.WildcardTypeImpl

java.lang.Object
com.google.inject.internal.MoreTypes.WildcardTypeImpl
All Implemented Interfaces:
Serializable, Type, WildcardType
Enclosing class:
MoreTypes

public static class MoreTypes.WildcardTypeImpl extends Object implements WildcardType, Serializable
The WildcardType interface supports multiple upper bounds and multiple lower bounds. We only support what the Java 8 language needs - at most one bound. If a lower bound is set, the upper bound must be Object.class.
See Also:
  • Constructor Details

    • WildcardTypeImpl

      public WildcardTypeImpl(Type[] upperBounds, Type[] lowerBounds)
  • Method Details