Class UnresolvedFeatureCallTypeAwareMessageProvider
- java.lang.Object
-
- org.eclipse.xtext.linking.impl.LinkingDiagnosticMessageProvider
-
- org.eclipse.xtext.xbase.annotations.validation.UnresolvedFeatureCallTypeAwareMessageProvider
-
- All Implemented Interfaces:
org.eclipse.xtext.linking.ILinkingDiagnosticMessageProvider
,org.eclipse.xtext.linking.ILinkingDiagnosticMessageProvider.Extended
- Direct Known Subclasses:
UnresolvedAnnotationTypeAwareMessageProvider
public class UnresolvedFeatureCallTypeAwareMessageProvider extends org.eclipse.xtext.linking.impl.LinkingDiagnosticMessageProvider
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
FEATURE_CALL
static java.lang.String
TYPE_LITERAL
A user data entry that indicates a broken feature link which could also be a type literal, e.g.
-
Constructor Summary
Constructors Constructor Description UnresolvedFeatureCallTypeAwareMessageProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.String
getTypeName(org.eclipse.emf.ecore.EClass c, org.eclipse.emf.ecore.EStructuralFeature referingFeature)
Returns a part of the message that describes the nature of the requested object, including a leading space.org.eclipse.xtext.diagnostics.DiagnosticMessage
getUnresolvedProxyMessage(org.eclipse.xtext.linking.ILinkingDiagnosticMessageProvider.ILinkingDiagnosticContext context)
protected boolean
isStaticMemberCallTarget(org.eclipse.emf.ecore.EObject contextObject)
-
-
-
Field Detail
-
TYPE_LITERAL
public static final java.lang.String TYPE_LITERAL
A user data entry that indicates a broken feature link which could also be a type literal, e.g. 'String::CASE_INSENSITIVE'.- See Also:
- Constant Field Values
-
FEATURE_CALL
public static final java.lang.String FEATURE_CALL
- See Also:
- Constant Field Values
-
-
Method Detail
-
getUnresolvedProxyMessage
public org.eclipse.xtext.diagnostics.DiagnosticMessage getUnresolvedProxyMessage(org.eclipse.xtext.linking.ILinkingDiagnosticMessageProvider.ILinkingDiagnosticContext context)
- Specified by:
getUnresolvedProxyMessage
in interfaceorg.eclipse.xtext.linking.ILinkingDiagnosticMessageProvider
- Overrides:
getUnresolvedProxyMessage
in classorg.eclipse.xtext.linking.impl.LinkingDiagnosticMessageProvider
-
isStaticMemberCallTarget
protected boolean isStaticMemberCallTarget(org.eclipse.emf.ecore.EObject contextObject)
-
getTypeName
protected java.lang.String getTypeName(org.eclipse.emf.ecore.EClass c, org.eclipse.emf.ecore.EStructuralFeature referingFeature)
Returns a part of the message that describes the nature of the requested object, including a leading space. The result is either empty or of the shape" to <article> <type>"
.
-
-