org.eclipse.xtext.smap
Class SDEInstaller
java.lang.Object
org.eclipse.xtext.smap.SDEInstaller
public class SDEInstaller
- extends java.lang.Object
Constructor Summary |
SDEInstaller(byte[] original,
byte[] sdeAttr)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SDEInstaller
public SDEInstaller(byte[] original,
byte[] sdeAttr)
throws java.io.IOException
- Throws:
java.io.IOException
getUpdatedByteCode
public byte[] getUpdatedByteCode()
addSDE
protected void addSDE()
throws java.io.UnsupportedEncodingException,
java.io.IOException
- Throws:
java.io.UnsupportedEncodingException
java.io.IOException
copyMembers
protected void copyMembers()
copyAttrs
protected boolean copyAttrs(int attrCount)
writeAttrForSDE
protected void writeAttrForSDE(int index)
randomAccessWriteU2
protected void randomAccessWriteU2(int pos,
int val)
readU1
protected int readU1()
readU2
protected int readU2()
readU4
protected int readU4()
writeU1
protected void writeU1(int val)
writeU2
protected void writeU2(int val)
writeU4
protected void writeU4(int val)
copy
protected void copy(int count)
readBytes
protected byte[] readBytes(int count)
writeBytes
protected void writeBytes(byte[] bytes)
copyConstantPool
protected int copyConstantPool(int constantPoolCount)
throws java.io.UnsupportedEncodingException,
java.io.IOException
- Throws:
java.io.UnsupportedEncodingException
java.io.IOException
writeUtf8ForSDE
protected void writeUtf8ForSDE()