com.joanju.cg.bytecode
Class PublishInstr
java.lang.Object
com.joanju.cg.bytecode.Bytecode
com.joanju.cg.bytecode.PublishInstr
public class PublishInstr
- extends Bytecode
Not yet implemented.
Methods inherited from class com.joanju.cg.bytecode.Bytecode |
addSource, addWhereUsed, beforeWrite, calcValuesAgain, compareTo, equals, fetchBytesFromDB, fetchInCu, generateDataForDB, getAddress, getCuID, getNodeNum, getSources, getValues, getValuesCalcLocal, getWhereUsed, getXrefs, hashCode, initData, isDataModified, isFromDB, setAddress, setCuID, setDataBytesFromDB, setDataModified, setFromDB, setInstructionSet, setNodeNum, shouldLoadData, sourcesForXrefTarget, storeIfModified, toString, toStringFromComments, toStringFromData, toStringFromName, toStringFromSet |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
PublishInstr
public PublishInstr()
PublishInstr
public PublishInstr(int cuid,
int address)
calcValueSets
public void calcValueSets()
throws java.sql.SQLException,
java.io.IOException
- Description copied from class:
Bytecode
- Calculate the value sets for the instruction.
Called during build, build-recalc, checkvals, and checkvals-recalc.
Implementations should only build from external values once.
Calculates which xref records are needed as well.
IMPORTANT: Should only ever be called for instructions belonging to an InstructionSet.
- Specified by:
calcValueSets
in class Bytecode
- Throws:
java.sql.SQLException
java.io.IOException
getFileID
public int getFileID()
throws java.sql.SQLException,
java.io.IOException
- Throws:
java.sql.SQLException
java.io.IOException
getLine
public int getLine()
throws java.sql.SQLException,
java.io.IOException
- Throws:
java.sql.SQLException
java.io.IOException
getMethodSigID
public int getMethodSigID()
throws java.sql.SQLException,
java.io.IOException
- Throws:
java.sql.SQLException
java.io.IOException
getNameRVal
public int getNameRVal()
throws java.sql.SQLException,
java.io.IOException
- Throws:
java.sql.SQLException
java.io.IOException
getOpcode
public Opcode getOpcode()
- Specified by:
getOpcode
in class Bytecode
setFileID
public void setFileID(int fileID)
setLine
public void setLine(int line)
setMethodSigID
public void setMethodSigID(int methodSigID)
setNameRVal
public void setNameRVal(int nameRVal)
setValuesFromByteStream
protected void setValuesFromByteStream(java.io.DataInputStream in)
throws java.io.IOException
- Specified by:
setValuesFromByteStream
in class Bytecode
- Throws:
java.io.IOException
writeValuesToByteStream
protected void writeValuesToByteStream(java.io.DataOutputStream out)
throws java.io.IOException
- Specified by:
writeValuesToByteStream
in class Bytecode
- Throws:
java.io.IOException
Copyright © 2008 Joanju Software. All Rights Reserved.