Class LightweightTypeReferenceFactory

    • Constructor Detail

      • LightweightTypeReferenceFactory

        public LightweightTypeReferenceFactory​(ITypeReferenceOwner owner)
        . * Creates a new owned converter with proper substitution of unbound wildcards. Equivalent to new OwnedConverter(owner, false).
      • LightweightTypeReferenceFactory

        public LightweightTypeReferenceFactory​(ITypeReferenceOwner owner,
                                               boolean keepUnboundWildcards)
        Parameters:
        keepUnboundWildcards - true if unbound wildcards should be converted to ? extends Object. Unbound information is required to do proper cast validation. In other cases, the compiler should add the upper bound object.
        See Also:
        WildcardType.getUpperBounds()