|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.joanju.cg.api.EndpointAPI com.joanju.cg.api.Procedure
public class Procedure
A procedure is a PROCEDURE or user defined FUNCTION.
This class implements compareTo, equals, and hashCode for easy storage and sorting. If stored in a TreeSet, the objects would be sorted by the internal instruction address.
Field Summary |
---|
Fields inherited from class com.joanju.cg.api.EndpointAPI |
---|
cuFileName, longSigId, sourceColumn, sourceFileID, sourceFileName, sourceLine |
Method Summary | |
---|---|
int |
compareTo(java.lang.Object o)
Compare by addresses. |
boolean |
equals(java.lang.Object obj)
Test if addresses are equal. |
java.util.ArrayList<CallSite> |
findMismatches()
Find calls to this procedure where the signatures mismatch. |
java.lang.String |
getAddressEncoding()
Get a unique String encoding of this record's address. |
ProcedureInstr |
getBytecode()
Get the (low-level) Bytecode instruction record for this Procedure. |
java.util.ArrayList<CallSite> |
getCallSiteList()
Get the list of call sites which may reference this procedure. |
java.lang.String |
getProcedureName()
Get the name of the internal procedure or user defined function. |
int |
hashCode()
Return the hash code of the address. |
Methods inherited from class com.joanju.cg.api.EndpointAPI |
---|
getCuFileID, getCuFileName, getNodeNum, getSignature, getSourceColumn, getSourceFileID, getSourceFileName, getSourceLine |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.util.ArrayList<CallSite> findMismatches() throws java.sql.SQLException, java.io.IOException
java.sql.SQLException
java.io.IOException
public java.util.ArrayList<CallSite> getCallSiteList() throws java.sql.SQLException, java.io.IOException
java.io.IOException
java.sql.SQLException
CallSite
public java.lang.String getAddressEncoding()
public ProcedureInstr getBytecode()
public java.lang.String getProcedureName()
EndpointAPI.getCuFileName()
public int hashCode()
hashCode
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |