Class BslLinkingDiagnostic

java.lang.Object
org.eclipse.xtext.diagnostics.AbstractDiagnostic
org.eclipse.xtext.linking.impl.XtextLinkingDiagnostic
com._1c.g5.v8.dt.bsl.linking.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
  • Constructor Summary

    Constructors
    Constructor
    Description
    BslLinkingDiagnostic(org.eclipse.xtext.nodemodel.INode node, String message, String code, String fragment, String... data)
    Initialize
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets actual encode URI fragment, see LazyLinkingResource.getEncoder()
    org.eclipse.xtext.nodemodel.INode
     

    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, getColumnEnd, getLength, getLine, getLineEnd, getLocation, getOffset, getUriToProblem, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • 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 Details

    • 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