public abstract long getPosition ()

Returns a character offset from the beginning of the source object associated with this diagnostic that indicates the location of the problem. In addition, the following must be true:

getStartPostion() <= getPosition()

getPosition() <= getEndPosition()

Returns:  character offset from beginning of source; NOPOS if getSource() would return null or if no location is suitable