Class PythonErrorConvertor

java.lang.Object
org.netbeans.modules.python.indexing.PythonErrorConvertor
All Implemented Interfaces:
org.netbeans.modules.parsing.spi.indexing.ErrorsCache.Convertor<org.netbeans.modules.csl.spi.DefaultError>

public class PythonErrorConvertor extends Object implements org.netbeans.modules.parsing.spi.indexing.ErrorsCache.Convertor<org.netbeans.modules.csl.spi.DefaultError>
Author:
albilu
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.netbeans.modules.parsing.spi.indexing.ErrorsCache.ErrorKind
    getKind(org.netbeans.modules.csl.spi.DefaultError t)
     
    int
    getLineNumber(org.netbeans.modules.csl.spi.DefaultError t)
     
    getMessage(org.netbeans.modules.csl.spi.DefaultError t)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.netbeans.modules.parsing.spi.indexing.ErrorsCache.Convertor

    getRange
  • Constructor Details

    • PythonErrorConvertor

      public PythonErrorConvertor()
  • Method Details

    • getKind

      public org.netbeans.modules.parsing.spi.indexing.ErrorsCache.ErrorKind getKind(org.netbeans.modules.csl.spi.DefaultError t)
      Specified by:
      getKind in interface org.netbeans.modules.parsing.spi.indexing.ErrorsCache.Convertor<org.netbeans.modules.csl.spi.DefaultError>
    • getLineNumber

      public int getLineNumber(org.netbeans.modules.csl.spi.DefaultError t)
      Specified by:
      getLineNumber in interface org.netbeans.modules.parsing.spi.indexing.ErrorsCache.Convertor<org.netbeans.modules.csl.spi.DefaultError>
    • getMessage

      public String getMessage(org.netbeans.modules.csl.spi.DefaultError t)
      Specified by:
      getMessage in interface org.netbeans.modules.parsing.spi.indexing.ErrorsCache.Convertor<org.netbeans.modules.csl.spi.DefaultError>