|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.joanju.cg.api.EndpointAPI
public abstract class EndpointAPI
An EndpointAPI represents a CallSite or a Procedure. It is a point in the code, at one end or the other of a call, with attributes such as file, line, and method signature.
Field Summary | |
---|---|
protected java.lang.String |
cuFileName
|
protected int |
longSigId
|
protected int |
sourceColumn
|
protected int |
sourceFileID
|
protected java.lang.String |
sourceFileName
|
protected int |
sourceLine
|
Method Summary | |
---|---|
int |
getCuFileID()
Get the integer file ID for the compile unit, which may be different than the source. |
java.lang.String |
getCuFileName()
Get the canonical path to the compile unit's source file. |
int |
getNodeNum()
Get the number of the JPNode in the syntax tree which maps to this record. |
java.lang.String |
getSignature()
Get Callgraph's "signature" for this call or procedure. |
int |
getSourceColumn()
Get the column position in the source file where this call instruction is found. |
int |
getSourceFileID()
Get a unique integer ID for the source file. |
java.lang.String |
getSourceFileName()
Get the canonical path to the source file that this call instruction is found in. |
int |
getSourceLine()
Get the line number in the source file where this call instruction is found. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected int longSigId
protected int sourceColumn
protected int sourceFileID
protected int sourceLine
protected java.lang.String cuFileName
protected java.lang.String sourceFileName
Method Detail |
---|
public java.lang.String getSignature() throws java.sql.SQLException
java.sql.SQLException
- if there's an error fetching the signature string from the database.public int getCuFileID()
public java.lang.String getCuFileName()
public int getNodeNum()
JPNode.getNodeNum()
public int getSourceColumn()
public int getSourceFileID()
CgAPI.lookupStringID(String)
public java.lang.String getSourceFileName()
public int getSourceLine()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |