Class OwnedConverter
- java.lang.Object
-
- org.eclipse.xtext.common.types.util.AbstractTypeReferenceVisitor<Result>
-
- org.eclipse.xtext.common.types.util.AbstractTypeReferenceVisitor.InheritanceAware<Result>
-
- org.eclipse.xtext.xtype.util.AbstractXtypeReferenceVisitor<LightweightTypeReference>
-
- org.eclipse.xtext.xbase.typesystem.references.LightweightTypeReferenceFactory
-
- org.eclipse.xtext.xbase.typesystem.references.OwnedConverter
-
- All Implemented Interfaces:
com.google.common.base.Function<org.eclipse.xtext.common.types.JvmTypeReference,LightweightTypeReference>,java.util.function.Function<org.eclipse.xtext.common.types.JvmTypeReference,LightweightTypeReference>,org.eclipse.xtext.common.types.util.ITypeReferenceVisitor<LightweightTypeReference>,XtypeReferenceVisitor<LightweightTypeReference>
@Deprecated public class OwnedConverter extends LightweightTypeReferenceFactory implements com.google.common.base.Function<org.eclipse.xtext.common.types.JvmTypeReference,LightweightTypeReference>
Deprecated.use theowner's APIor theLightweightTypeReferenceFactoryinstead.
-
-
Constructor Summary
Constructors Constructor Description OwnedConverter(ITypeReferenceOwner owner)Deprecated..OwnedConverter(ITypeReferenceOwner owner, boolean keepUnboundWildcards)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description LightweightTypeReferenceapply(org.eclipse.xtext.common.types.JvmTypeReference reference)Deprecated.LightweightTypeReferencetoRawLightweightReference(org.eclipse.xtext.common.types.JvmType type)Deprecated.-
Methods inherited from class org.eclipse.xtext.xbase.typesystem.references.LightweightTypeReferenceFactory
doVisitAnyTypeReference, doVisitCompoundReference, doVisitComputedTypeReference, doVisitFunctionTypeReference, doVisitGenericArrayTypeReference, doVisitInnerTypeReference, doVisitMultiTypeReference, doVisitParameterizedTypeReference, doVisitSynonymTypeReference, doVisitTypeReference, doVisitUnknownTypeReference, doVisitWildcardTypeReference, getObjectReference, getObjectType, getOwner, getType, handleNullReference, isInner, toLightweightReference, toLightweightReference, toPlainTypeReference
-
Methods inherited from class org.eclipse.xtext.common.types.util.AbstractTypeReferenceVisitor.InheritanceAware
doVisitCompoundTypeReference
-
Methods inherited from class org.eclipse.xtext.common.types.util.AbstractTypeReferenceVisitor
doVisitDelegateTypeReference, doVisitSpecializedTypeReference, visit
-
-
-
-
Constructor Detail
-
OwnedConverter
public OwnedConverter(ITypeReferenceOwner owner)
Deprecated.. * Creates a new owned converter with proper substitution of unbound wildcards. Equivalent tonew OwnedConverter(owner, false).
-
OwnedConverter
public OwnedConverter(ITypeReferenceOwner owner, boolean keepUnboundWildcards)
Deprecated.- Parameters:
keepUnboundWildcards-trueif 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()
-
-
Method Detail
-
apply
public LightweightTypeReference apply(org.eclipse.xtext.common.types.JvmTypeReference reference)
Deprecated.- Specified by:
applyin interfacecom.google.common.base.Function<org.eclipse.xtext.common.types.JvmTypeReference,LightweightTypeReference>- Specified by:
applyin interfacejava.util.function.Function<org.eclipse.xtext.common.types.JvmTypeReference,LightweightTypeReference>
-
toRawLightweightReference
public LightweightTypeReference toRawLightweightReference(org.eclipse.xtext.common.types.JvmType type)
Deprecated.
-
-