ua.gradsoft.javachecker
Class FileAndLine

java.lang.Object
  extended by ua.gradsoft.javachecker.FileAndLine

public class FileAndLine
extends java.lang.Object

Holder for file and line markers.

Author:
Ruslan Shevchenko

Field Summary
static FileAndLine UNKNOWN
           
 
Constructor Summary
FileAndLine(java.lang.String fname, int line)
          Creates a new instance of FileAndLine
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getFname()
           
 int getLine()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

UNKNOWN

public static final FileAndLine UNKNOWN
Constructor Detail

FileAndLine

public FileAndLine(java.lang.String fname,
                   int line)
Creates a new instance of FileAndLine

Method Detail

getFname

public java.lang.String getFname()

getLine

public int getLine()

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object