Class BslValidationUtil

java.lang.Object
com._1c.g5.v8.dt.bsl.validation.BslValidationUtil

public class BslValidationUtil extends Object
Bsl validation utility/helper methods and classes
  • Constructor Details

    • BslValidationUtil

      public BslValidationUtil()
  • Method Details

    • createIssue

      public static org.eclipse.xtext.validation.Issue createIssue(Marker marker, org.eclipse.xtext.validation.CheckType checkType)
      Creates new IssueImpl and propagates the fields from the given
      Parameters:
      marker - the marker, cannot be null
      checkType - the check type, cannot be null
      Returns:
      the Issue, never null
    • getLine

      public static Integer getLine(Marker marker)
      Returns the line number or null if not supported
      Parameters:
      marker - the marker, cannot be null
      Returns:
      the line number if any or null