Class BslLinkingDiagnostic

  • All Implemented Interfaces:
    org.eclipse.emf.ecore.resource.Resource.Diagnostic, org.eclipse.xtext.diagnostics.Diagnostic

    public class BslLinkingDiagnostic
    extends org.eclipse.xtext.linking.impl.XtextLinkingDiagnostic
    Special XtextLinkingDiagnostic for BSL language
    See Also:
    XtextLinkingDiagnostic
    • Field Summary

      • Fields inherited from interface org.eclipse.xtext.diagnostics.Diagnostic

        LINKING_DIAGNOSTIC, SYNTAX_DIAGNOSITC, SYNTAX_DIAGNOSTIC, SYNTAX_DIAGNOSTIC_WITH_RANGE
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String getFragment()
      Gets actual encode URI fragment, see LazyLinkingResource.getEncoder()
      org.eclipse.xtext.nodemodel.INode getNode()  
      • Methods inherited from class org.eclipse.xtext.linking.impl.XtextLinkingDiagnostic

        equals, getCode, getData, getMessage, hashCode
      • Methods inherited from class org.eclipse.xtext.diagnostics.AbstractDiagnostic

        getColumn, getLength, getLine, getLocation, getOffset, getUriToProblem, toString
    • Constructor Detail

      • BslLinkingDiagnostic

        public BslLinkingDiagnostic​(org.eclipse.xtext.nodemodel.INode node,
                                    String message,
                                    String code,
                                    String fragment,
                                    String... data)
        Initialize
        Parameters:
        node - INode of the issue, cannot be null
        message - text message of the issue, cannot be null
        code - issue code, cannot be null
        fragment - actual encode URI fragment, see LazyLinkingResource.getEncoder(), cannot be null
        data - additional data of the issue, cannot be null
    • Method Detail

      • getNode

        public org.eclipse.xtext.nodemodel.INode getNode()
        Overrides:
        getNode in class org.eclipse.xtext.linking.impl.XtextLinkingDiagnostic
      • getFragment

        public String getFragment()
        Gets actual encode URI fragment, see LazyLinkingResource.getEncoder()
        Returns:
        actual encode URI fragment, see LazyLinkingResource.getEncoder(), never null