owner's API or the LightweightTypeReferenceFactory instead.@Deprecated public class OwnedConverter extends LightweightTypeReferenceFactory implements com.google.common.base.Function<org.eclipse.xtext.common.types.JvmTypeReference,LightweightTypeReference>
| Constructor and Description |
|---|
OwnedConverter(ITypeReferenceOwner owner)
Deprecated.
.
|
OwnedConverter(ITypeReferenceOwner owner,
boolean keepUnboundWildcards)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
LightweightTypeReference |
apply(org.eclipse.xtext.common.types.JvmTypeReference reference)
Deprecated.
|
LightweightTypeReference |
toRawLightweightReference(org.eclipse.xtext.common.types.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, 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(org.eclipse.xtext.common.types.JvmTypeReference reference)
apply in interface com.google.common.base.Function<org.eclipse.xtext.common.types.JvmTypeReference,LightweightTypeReference>public LightweightTypeReference toRawLightweightReference(org.eclipse.xtext.common.types.JvmType type)