jrunx.compiler
Class SMAPAttributeWriter
java.lang.Object
|
+--jrunx.compiler.SMAPAttributeWriter
- public class SMAPAttributeWriter
- extends java.lang.Object
Utility writer for augmenting a raw class file with the SourceDebugExtension
attribute. This attribute is defined by JSR-045: Debugging Support for Other Languages.
See the JSR for complete details (http://jcp.org/jsr/detail/45.jsp)
|
Method Summary |
static void |
main(java.lang.String[] args)
|
protected void |
pipeAttributes(java.io.DataInputStream in,
java.io.DataOutputStream out)
|
protected byte |
pipeByte(java.io.DataInputStream in,
java.io.DataOutputStream out)
|
protected void |
pipeData(java.io.DataInputStream in,
java.io.DataOutputStream out,
int len)
|
protected void |
pipeFields(java.io.DataInputStream in,
java.io.DataOutputStream out)
|
protected int |
pipeInt(java.io.DataInputStream in,
java.io.DataOutputStream out)
|
protected void |
pipeInterfaces(java.io.DataInputStream in,
java.io.DataOutputStream out)
|
protected void |
pipeMethods(java.io.DataInputStream in,
java.io.DataOutputStream out)
|
protected short |
pipeShort(java.io.DataInputStream in,
java.io.DataOutputStream out)
|
protected java.lang.String |
pipeUtf8(java.io.DataInputStream in,
java.io.DataOutputStream out)
|
protected void |
updateAttributes(java.io.DataInputStream in,
java.io.DataOutputStream out,
int index,
byte[] attr)
|
protected int |
updateConstantPool(java.io.DataInputStream in,
java.io.DataOutputStream out)
|
void |
writeSMAP(byte[] smapTable)
|
protected byte[] |
writeSMAP(java.io.DataInputStream in,
byte[] smapTable)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ATTRIBUTE_NAME
public static final java.lang.String ATTRIBUTE_NAME
classFilename
protected java.lang.String classFilename
databuf
protected byte[] databuf
SMAPAttributeWriter
public SMAPAttributeWriter(java.lang.String classFilename)
writeSMAP
public void writeSMAP(byte[] smapTable)
throws java.io.IOException
writeSMAP
protected byte[] writeSMAP(java.io.DataInputStream in,
byte[] smapTable)
throws java.io.IOException
updateConstantPool
protected int updateConstantPool(java.io.DataInputStream in,
java.io.DataOutputStream out)
throws java.io.IOException
pipeInterfaces
protected void pipeInterfaces(java.io.DataInputStream in,
java.io.DataOutputStream out)
throws java.io.IOException
pipeFields
protected void pipeFields(java.io.DataInputStream in,
java.io.DataOutputStream out)
throws java.io.IOException
pipeAttributes
protected void pipeAttributes(java.io.DataInputStream in,
java.io.DataOutputStream out)
throws java.io.IOException
pipeMethods
protected void pipeMethods(java.io.DataInputStream in,
java.io.DataOutputStream out)
throws java.io.IOException
updateAttributes
protected void updateAttributes(java.io.DataInputStream in,
java.io.DataOutputStream out,
int index,
byte[] attr)
throws java.io.IOException
pipeByte
protected byte pipeByte(java.io.DataInputStream in,
java.io.DataOutputStream out)
throws java.io.IOException
pipeShort
protected short pipeShort(java.io.DataInputStream in,
java.io.DataOutputStream out)
throws java.io.IOException
pipeInt
protected int pipeInt(java.io.DataInputStream in,
java.io.DataOutputStream out)
throws java.io.IOException
pipeUtf8
protected java.lang.String pipeUtf8(java.io.DataInputStream in,
java.io.DataOutputStream out)
throws java.io.IOException
pipeData
protected void pipeData(java.io.DataInputStream in,
java.io.DataOutputStream out,
int len)
throws java.io.IOException
main
public static void main(java.lang.String[] args)
Copyright � 2002 Macromedia Corporation. All Rights Reserved.