|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.joanju.cg.bytecode.Bytecode
com.joanju.cg.bytecode.Endpoint
com.joanju.cg.bytecode.AbstractCall
com.joanju.cg.bytecode.CallInstr
public class CallInstr
Records a RUN statement, a call to a user function, or a call to a method. Inherited by CallinInstr.
| Field Summary | |
|---|---|
protected int |
bitfield2
|
protected int |
column
|
protected int |
fileID
|
protected int |
line
|
protected int |
nameRVal
|
protected static int |
RUN_SET
If this instruction is for a RUN..SET statement, it affects its procedure search behaviour. |
| Fields inherited from class com.joanju.cg.bytecode.AbstractCall |
|---|
bitfield1, externalMatching, externalUnmatched, localTargets, methodSigID, targetType, whereUsedAddr |
| Fields inherited from class com.joanju.cg.bytecode.Endpoint |
|---|
longSignature |
| Fields inherited from class com.joanju.cg.bytecode.Bytecode |
|---|
address, cuid, instrSet, nodeNum, xrefs |
| Constructor Summary | |
|---|---|
CallInstr()
|
|
CallInstr(int cuid,
int address)
|
|
| Method Summary | |
|---|---|
protected void |
calcValueSets2()
Wrapped by AbstractCall.calcValueSets(). |
int |
getColumn()
|
int |
getFileID()
|
int |
getLine()
|
java.util.HashSet<java.lang.Integer> |
getLocalTargets()
|
int |
getNameRVal()
The address of the instruction of the source of the procedure name. |
Opcode |
getOpcode()
|
boolean |
hasLocalTarget(int procAddress)
|
boolean |
isRunSet()
Does this call instruction represent a "RUN..SET handle" statement? |
void |
setColumn(int column)
|
void |
setFileID(int fileID)
|
void |
setLine(int line)
|
void |
setMethodSigID(int methodSigID)
|
void |
setNameRVal(int nameRVal)
|
void |
setRunSet()
Sets to true the flag indicating that this is a "RUN..SET handle" statement. |
protected void |
setValuesFromByteStream(java.io.DataInputStream in)
|
java.lang.String |
toStringFromComments(InstructionSet instrs)
All Bytecode instruction subclasses should override this eventually. |
java.lang.String |
toStringFromData()
methodSigID, nameRVal, fileID, line, column, isUserIgnoreMismatch, isUserIgnoreUnresolved, localTargets. |
protected void |
writeValuesToByteStream(java.io.DataOutputStream out)
|
| Methods inherited from class com.joanju.cg.bytecode.AbstractCall |
|---|
addWhereUsed, beforeWrite, calcValueSets, enableUserIgnoreMismatch, enableUserIgnoreUnresolved, getAllTargetProcedures, getMethodSig, getMethodSigID, getTargetType, getValues, isUserIgnoreMismatch, isUserIgnoreUnresolved, setTargetType |
| Methods inherited from class com.joanju.cg.bytecode.Endpoint |
|---|
getLongSignature, setLongSignature |
| Methods inherited from class com.joanju.cg.bytecode.Bytecode |
|---|
addSource, calcValuesAgain, compareTo, equals, fetchBytesFromDB, fetchInCu, generateDataForDB, getAddress, getCuID, getNodeNum, getSources, getValuesCalcLocal, getWhereUsed, getXrefs, hashCode, initData, isDataModified, isFromDB, setAddress, setCuID, setDataBytesFromDB, setDataModified, setFromDB, setInstructionSet, setNodeNum, shouldLoadData, sourcesForXrefTarget, storeIfModified, toString, toStringFromName, toStringFromSet |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected int nameRVal
protected int fileID
protected int line
protected int column
protected int bitfield2
protected static final int RUN_SET
| Constructor Detail |
|---|
public CallInstr()
public CallInstr(int cuid,
int address)
| Method Detail |
|---|
protected void calcValueSets2()
throws java.sql.SQLException,
java.io.IOException
calcValueSets2 in class AbstractCalljava.sql.SQLException
java.io.IOException
public int getColumn()
throws java.sql.SQLException,
java.io.IOException
getColumn in class AbstractCalljava.sql.SQLException
java.io.IOException
public int getFileID()
throws java.sql.SQLException,
java.io.IOException
getFileID in class AbstractCalljava.sql.SQLException
java.io.IOException
public int getLine()
throws java.sql.SQLException,
java.io.IOException
getLine in class AbstractCalljava.sql.SQLException
java.io.IOException
public java.util.HashSet<java.lang.Integer> getLocalTargets()
throws java.sql.SQLException,
java.io.IOException
getLocalTargets in class AbstractCalljava.sql.SQLException
java.io.IOException
public int getNameRVal()
throws java.sql.SQLException,
java.io.IOException
java.sql.SQLException
java.io.IOExceptionpublic Opcode getOpcode()
getOpcode in class Bytecode
public boolean hasLocalTarget(int procAddress)
throws java.sql.SQLException,
java.io.IOException
hasLocalTarget in class AbstractCalljava.sql.SQLException
java.io.IOException
public boolean isRunSet()
throws java.sql.SQLException,
java.io.IOException
java.sql.SQLException
java.io.IOExceptionpublic void setFileID(int fileID)
public void setLine(int line)
public void setColumn(int column)
public void setMethodSigID(int methodSigID)
public void setNameRVal(int nameRVal)
public void setRunSet()
protected void setValuesFromByteStream(java.io.DataInputStream in)
throws java.io.IOException
setValuesFromByteStream in class Bytecodejava.io.IOException
public java.lang.String toStringFromComments(InstructionSet instrs)
throws java.sql.SQLException
Bytecode
toStringFromComments in class Bytecodejava.sql.SQLExceptionpublic java.lang.String toStringFromData()
toStringFromData in class Bytecode
protected void writeValuesToByteStream(java.io.DataOutputStream out)
throws java.io.IOException
writeValuesToByteStream in class Bytecodejava.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||