import net.jaekl.cfb.xml.SourceLine;
public class Location {
- public static String METHOD_CALLED = "METHOD_CALLED";
+ public static final String METHOD_CALLED = "METHOD_CALLED";
Long m_id;
String m_className;
public String getClassName() { return m_className; }
public String getMethodName() { return m_methodName; }
public String getMethodRole() { return m_methodRole; }
- public int getStart() { return m_startLine; }
- public int getEnd() { return m_endLine; }
+ public int getStart() { return (null == m_startLine) ? (-1) : m_startLine.intValue(); }
+ public int getEnd() { return (null == m_endLine) ? (-1) : m_endLine.intValue(); }
public void dump(PrintWriter pw, int indent)
{