Class 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
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.eclipse.xtext.linking.ILinkingDiagnosticMessageProvider

        org.eclipse.xtext.linking.ILinkingDiagnosticMessageProvider.Extended, org.eclipse.xtext.linking.ILinkingDiagnosticMessageProvider.ILinkingDiagnosticContext
    • 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.
    • 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)  
      • Methods inherited from class org.eclipse.xtext.linking.impl.LinkingDiagnosticMessageProvider

        getIllegalCrossReferenceMessage, getIllegalNodeMessage, getViolatedBoundsConstraintMessage, getViolatedUniqueConstraintMessage
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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
    • Constructor Detail

      • UnresolvedFeatureCallTypeAwareMessageProvider

        public UnresolvedFeatureCallTypeAwareMessageProvider()
    • Method Detail

      • getUnresolvedProxyMessage

        public org.eclipse.xtext.diagnostics.DiagnosticMessage getUnresolvedProxyMessage​(org.eclipse.xtext.linking.ILinkingDiagnosticMessageProvider.ILinkingDiagnosticContext context)
        Specified by:
        getUnresolvedProxyMessage in interface org.eclipse.xtext.linking.ILinkingDiagnosticMessageProvider
        Overrides:
        getUnresolvedProxyMessage in class org.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>".