Manages the literals of a Compilation.
Implements ObjectOutput, because we use externalization to determine
how literals get compiled into code that re-creates the literal.
emit
public void emit()
throws IOException
findLiteral
public Literal findLiteral(Object value)
write
public void write(byte[] b)
throws IOException
write
public void write(byte[] b,
int off,
int len)
throws IOException
write
public void write(int b)
throws IOException
writeBoolean
public void writeBoolean(boolean v)
writeByte
public void writeByte(int v)
writeBytes
public void writeBytes(String s)
throws IOException
writeChar
public void writeChar(int v)
writeChars
public void writeChars(String v)
writeDouble
public void writeDouble(double v)
writeFloat
public void writeFloat(float v)
writeInt
public void writeInt(int v)
writeLong
public void writeLong(long v)
writeObject
public void writeObject(Object obj)
throws IOException
writeShort
public void writeShort(int v)
writeUTF
public void writeUTF(String v)