owner's API or the LightweightTypeReferenceFactory instead.@Deprecated public class OwnedConverter extends LightweightTypeReferenceFactory implements com.google.common.base.Function<JvmTypeReference,LightweightTypeReference>
AbstractTypeReferenceVisitor.InheritanceAware<Result>| Constructor and Description |
|---|
OwnedConverter(ITypeReferenceOwner owner)
Deprecated.
.
|
OwnedConverter(ITypeReferenceOwner owner,
boolean keepUnboundWildcards)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
LightweightTypeReference |
apply(JvmTypeReference reference)
Deprecated.
|
LightweightTypeReference |
toRawLightweightReference(JvmType type)
Deprecated.
|
doVisitAnyTypeReference, doVisitCompoundReference, doVisitComputedTypeReference, doVisitFunctionTypeReference, doVisitGenericArrayTypeReference, doVisitInnerTypeReference, doVisitMultiTypeReference, doVisitParameterizedTypeReference, doVisitSynonymTypeReference, doVisitTypeReference, doVisitUnknownTypeReference, doVisitWildcardTypeReference, getObjectReference, getObjectType, getOwner, getType, handleNullReference, isInner, toLightweightReference, toLightweightReference, toPlainTypeReferencedoVisitCompoundTypeReferencedoVisitDelegateTypeReference, doVisitSpecializedTypeReference, visitclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdoVisitCompoundTypeReference, doVisitDelegateTypeReference, doVisitSpecializedTypeReference, visitpublic OwnedConverter(ITypeReferenceOwner owner)
new OwnedConverter(owner, false).public OwnedConverter(ITypeReferenceOwner owner, boolean keepUnboundWildcards)
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.WildcardType.getUpperBounds()public LightweightTypeReference apply(JvmTypeReference reference)
apply in interface com.google.common.base.Function<JvmTypeReference,LightweightTypeReference>public LightweightTypeReference toRawLightweightReference(JvmType type)
Copyright © 2015. All Rights Reserved.