Class InstanceFeatureDescriptionWithImplicitReceiver
- java.lang.Object
-
- org.eclipse.xtext.resource.AbstractEObjectDescription
-
- org.eclipse.xtext.resource.EObjectDescription
-
- org.eclipse.xtext.xbase.scoping.batch.BucketedEObjectDescription
-
- org.eclipse.xtext.xbase.scoping.batch.InstanceFeatureDescription
-
- org.eclipse.xtext.xbase.scoping.batch.InstanceFeatureDescriptionWithImplicitReceiver
-
- All Implemented Interfaces:
org.eclipse.xtext.resource.IEObjectDescription
,IIdentifiableElementDescription
public class InstanceFeatureDescriptionWithImplicitReceiver extends InstanceFeatureDescription
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
InstanceFeatureDescriptionWithImplicitReceiver(org.eclipse.xtext.naming.QualifiedName qualifiedName, org.eclipse.xtext.common.types.JvmFeature feature, XExpression receiver, LightweightTypeReference receiverType, java.util.Map<org.eclipse.xtext.common.types.JvmTypeParameter,LightweightMergedBoundTypeArgument> typeParameterMapping, int receiverConformanceFlags, int bucketId, boolean visible, boolean validStaticState)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XExpression
getImplicitReceiver()
Returns the actual receiver of this (potential) feature call.int
getImplicitReceiverConformanceFlags()
LightweightTypeReference
getImplicitReceiverType()
java.util.Map<org.eclipse.xtext.common.types.JvmTypeParameter,LightweightMergedBoundTypeArgument>
getImplicitReceiverTypeParameterMapping()
XExpression
getSyntacticReceiver()
int
getSyntacticReceiverConformanceFlags()
LightweightTypeReference
getSyntacticReceiverType()
java.util.Map<org.eclipse.xtext.common.types.JvmTypeParameter,LightweightMergedBoundTypeArgument>
getSyntacticReceiverTypeParameterMapping()
boolean
isValidStaticState()
-
Methods inherited from class org.eclipse.xtext.xbase.scoping.batch.InstanceFeatureDescription
isExtension, isStatic
-
Methods inherited from class org.eclipse.xtext.xbase.scoping.batch.BucketedEObjectDescription
computeShadowingKey, getBucketId, getElementOrProxy, getImplicitFirstArgument, getImplicitFirstArgumentType, getImplicitReceiverConformanceHints, getNumberOfIrrelevantParameters, getNumberOfParameters, getShadowingKey, getSyntacticReceiverConformanceHints, isAnonymousClassConstructorCall, isSyntacticReceiverPossibleArgument, isTypeLiteral, isVisible, toString
-
Methods inherited from class org.eclipse.xtext.resource.EObjectDescription
create, create, create, create, getEClass, getEObjectOrProxy, getEObjectURI, getName, getQualifiedName, getUserData, getUserDataKeys, normalize
-
-
-
-
Constructor Detail
-
InstanceFeatureDescriptionWithImplicitReceiver
protected InstanceFeatureDescriptionWithImplicitReceiver(org.eclipse.xtext.naming.QualifiedName qualifiedName, org.eclipse.xtext.common.types.JvmFeature feature, XExpression receiver, LightweightTypeReference receiverType, java.util.Map<org.eclipse.xtext.common.types.JvmTypeParameter,LightweightMergedBoundTypeArgument> typeParameterMapping, int receiverConformanceFlags, int bucketId, boolean visible, boolean validStaticState)
-
-
Method Detail
-
getImplicitReceiver
public XExpression getImplicitReceiver()
Description copied from class:BucketedEObjectDescription
Returns the actual receiver of this (potential) feature call. It may benull
even though there is a syntactic receiver available (in case of static features).- Specified by:
getImplicitReceiver
in interfaceIIdentifiableElementDescription
- Overrides:
getImplicitReceiver
in classBucketedEObjectDescription
-
getImplicitReceiverType
public LightweightTypeReference getImplicitReceiverType()
- Specified by:
getImplicitReceiverType
in interfaceIIdentifiableElementDescription
- Overrides:
getImplicitReceiverType
in classBucketedEObjectDescription
-
getImplicitReceiverTypeParameterMapping
public java.util.Map<org.eclipse.xtext.common.types.JvmTypeParameter,LightweightMergedBoundTypeArgument> getImplicitReceiverTypeParameterMapping()
- Specified by:
getImplicitReceiverTypeParameterMapping
in interfaceIIdentifiableElementDescription
- Overrides:
getImplicitReceiverTypeParameterMapping
in classBucketedEObjectDescription
-
getImplicitReceiverConformanceFlags
public int getImplicitReceiverConformanceFlags()
- Specified by:
getImplicitReceiverConformanceFlags
in interfaceIIdentifiableElementDescription
- Overrides:
getImplicitReceiverConformanceFlags
in classBucketedEObjectDescription
-
getSyntacticReceiver
public XExpression getSyntacticReceiver()
- Specified by:
getSyntacticReceiver
in interfaceIIdentifiableElementDescription
- Overrides:
getSyntacticReceiver
in classInstanceFeatureDescription
-
getSyntacticReceiverType
public LightweightTypeReference getSyntacticReceiverType()
- Specified by:
getSyntacticReceiverType
in interfaceIIdentifiableElementDescription
- Overrides:
getSyntacticReceiverType
in classInstanceFeatureDescription
-
getSyntacticReceiverTypeParameterMapping
public java.util.Map<org.eclipse.xtext.common.types.JvmTypeParameter,LightweightMergedBoundTypeArgument> getSyntacticReceiverTypeParameterMapping()
- Specified by:
getSyntacticReceiverTypeParameterMapping
in interfaceIIdentifiableElementDescription
- Overrides:
getSyntacticReceiverTypeParameterMapping
in classInstanceFeatureDescription
-
getSyntacticReceiverConformanceFlags
public int getSyntacticReceiverConformanceFlags()
- Specified by:
getSyntacticReceiverConformanceFlags
in interfaceIIdentifiableElementDescription
- Overrides:
getSyntacticReceiverConformanceFlags
in classInstanceFeatureDescription
-
isValidStaticState
public boolean isValidStaticState()
- Specified by:
isValidStaticState
in interfaceIIdentifiableElementDescription
- Overrides:
isValidStaticState
in classBucketedEObjectDescription
-
-