Class MoreTypes.WildcardTypeImpl

All Implemented Interfaces:
Type, WildcardType
Enclosing class:

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

    • WildcardTypeImpl

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