public class CallSite
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private long |
astId
AST root node's id, not the specific call-site's id.
|
private java.lang.String |
callSite |
private int |
column
The column location of the call-site.
|
private int |
fid
The AST file ID for this call-site reference (and associated with
filename, in the
report database. |
private java.lang.String |
filename
The file name associated with this call site.
|
private java.lang.String |
hint
The hint name.
|
private int |
line
The line location of the call-site.
|
private long |
nodeId
The AST id of the specific call-site's AST node.
|
private int |
srcType
Allows detection of whether this is a schema or code AST.
|
private java.lang.String |
tokenText
AST token text.
|
private int |
tokenType
AST token type.
|
private java.lang.String |
vertexId
The vertex ID in the graph DB.
|
| Constructor and Description |
|---|
CallSite()
Default c'tor.
|
CallSite(CallSite cs)
Copy c'tor.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getAstId()
Getter for the
astId field. |
java.lang.String |
getCallSite()
Getter for the
callSite field. |
int |
getColumn()
Getter for the
column field. |
int |
getFid()
Getter for the
fid field. |
java.lang.String |
getFilename()
Getter for the
filename field. |
java.lang.String |
getHint()
Getter for the
hint field. |
int |
getLine()
Getter for the
line field. |
long |
getNodeId()
Getter for the
nodeId field. |
int |
getSrcType()
Getter for the
srcType field. |
java.lang.String |
getTokenText()
Getter for the
tokenText field. |
int |
getTokenType()
Getter for the
tokenType field. |
java.lang.String |
getVertexId()
Getter for the
vertexId field. |
void |
setAstId(long astId)
Setter for the
astId field. |
void |
setCallSite(java.lang.String callSite)
Setter for the
callSite field. |
void |
setColumn(int column)
Setter for the
column field. |
void |
setFid(int fid)
Setter for the
fid field. |
void |
setFilename(java.lang.String filename)
Setter for the
filename field. |
void |
setHint(java.lang.String hint)
Setter for the
hint field. |
void |
setLine(int line)
Setter for the
line field. |
void |
setNodeId(long nodeId)
Setter for the
nodeId field. |
void |
setSrcType(int srcType)
Setter for the
srcType field. |
void |
setTokenText(java.lang.String tokenText)
Setter for the
tokenText field. |
void |
setTokenType(int tokenType)
Setter for the
tokenType field. |
void |
setVertexId(java.lang.String vertexId)
Setter for the
vertexId field. |
private java.lang.String filename
private java.lang.String hint
private int line
private int column
private java.lang.String callSite
private java.lang.String vertexId
private long astId
private long nodeId
private int srcType
private int tokenType
private java.lang.String tokenText
private int fid
filename, in the
report database.public CallSite()
public CallSite(CallSite cs)
cs - The instance to copy.public java.lang.String getFilename()
filename field.public void setFilename(java.lang.String filename)
filename field.filename - The new field value.public java.lang.String getHint()
hint field.public void setHint(java.lang.String hint)
hint field.hint - The new hint value.public int getLine()
line field.public void setLine(int line)
line field.line - The new field value.public int getColumn()
column field.public void setColumn(int column)
column field.column - The new field value.public java.lang.String getCallSite()
callSite field.public void setCallSite(java.lang.String callSite)
callSite field.callSite - The new field value.public java.lang.String getVertexId()
vertexId field.public void setVertexId(java.lang.String vertexId)
vertexId field.vertexId - The new field value.public long getAstId()
astId field.public void setAstId(long astId)
astId field.astId - The new field value.public long getNodeId()
nodeId field.public void setNodeId(long nodeId)
nodeId field.nodeId - The new field value.public int getSrcType()
srcType field.public void setSrcType(int srcType)
srcType field.srcType - The new field value.public int getTokenType()
tokenType field.public void setTokenType(int tokenType)
tokenType field.tokenType - The new field value.public java.lang.String getTokenText()
tokenText field.public void setTokenText(java.lang.String tokenText)
tokenText field.tokenText - The new field value.public int getFid()
fid field.public void setFid(int fid)
fid field.fid - The new field value.