Class StaticFeatureDescriptionWithTypeLiteralReceiver
- 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.StaticFeatureDescription
-
- org.eclipse.xtext.xbase.scoping.batch.StaticFeatureDescriptionWithSyntacticReceiver
-
- org.eclipse.xtext.xbase.scoping.batch.StaticFeatureDescriptionWithTypeLiteralReceiver
-
- All Implemented Interfaces:
org.eclipse.xtext.resource.IEObjectDescription
,IIdentifiableElementDescription
public class StaticFeatureDescriptionWithTypeLiteralReceiver extends StaticFeatureDescriptionWithSyntacticReceiver
A description that has a receiver expression which resolves to a type. The feature is considered to be a static member of that type thus it is the dot-notation variant of expressions with a static qualifier, e.g.String::CASE_INSENSITIVE_COMPARATOR
andString.CASE_INSENSITIVE_COMPARATOR
are equivalent. The latter member feature call is described by aStaticFeatureDescriptionWithTypeLiteralReceiver
.
-
-
Constructor Summary
Constructors Constructor Description StaticFeatureDescriptionWithTypeLiteralReceiver(org.eclipse.xtext.naming.QualifiedName qualifiedName, org.eclipse.xtext.common.types.JvmFeature feature, XExpression receiver, LightweightTypeReference receiverType, int bucketId, boolean visible)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
computeShadowingKey(org.eclipse.xtext.common.types.JvmIdentifiableElement identifiable, java.lang.StringBuilder result)
boolean
isSyntacticReceiverPossibleArgument()
boolean
isValidStaticState()
-
Methods inherited from class org.eclipse.xtext.xbase.scoping.batch.StaticFeatureDescriptionWithSyntacticReceiver
getSyntacticReceiver, getSyntacticReceiverType
-
Methods inherited from class org.eclipse.xtext.xbase.scoping.batch.StaticFeatureDescription
isExtension, isStatic
-
Methods inherited from class org.eclipse.xtext.xbase.scoping.batch.BucketedEObjectDescription
getBucketId, getElementOrProxy, getImplicitFirstArgument, getImplicitFirstArgumentType, getImplicitReceiver, getImplicitReceiverConformanceFlags, getImplicitReceiverConformanceHints, getImplicitReceiverType, getImplicitReceiverTypeParameterMapping, getNumberOfIrrelevantParameters, getNumberOfParameters, getShadowingKey, getSyntacticReceiverConformanceFlags, getSyntacticReceiverConformanceHints, getSyntacticReceiverTypeParameterMapping, isAnonymousClassConstructorCall, 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
-
StaticFeatureDescriptionWithTypeLiteralReceiver
public StaticFeatureDescriptionWithTypeLiteralReceiver(org.eclipse.xtext.naming.QualifiedName qualifiedName, org.eclipse.xtext.common.types.JvmFeature feature, XExpression receiver, LightweightTypeReference receiverType, int bucketId, boolean visible)
-
-
Method Detail
-
computeShadowingKey
protected void computeShadowingKey(org.eclipse.xtext.common.types.JvmIdentifiableElement identifiable, java.lang.StringBuilder result)
- Overrides:
computeShadowingKey
in classBucketedEObjectDescription
-
isSyntacticReceiverPossibleArgument
public boolean isSyntacticReceiverPossibleArgument()
- Specified by:
isSyntacticReceiverPossibleArgument
in interfaceIIdentifiableElementDescription
- Overrides:
isSyntacticReceiverPossibleArgument
in classBucketedEObjectDescription
-
isValidStaticState
public boolean isValidStaticState()
- Specified by:
isValidStaticState
in interfaceIIdentifiableElementDescription
- Overrides:
isValidStaticState
in classStaticFeatureDescriptionWithSyntacticReceiver
-
-