Package org.eclipse.xtext.smap
Class SDEInstaller
- java.lang.Object
-
- org.eclipse.xtext.smap.SDEInstaller
-
public class SDEInstaller extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description SDEInstaller(byte[] original, byte[] sdeAttr)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddSDE()protected voidcopy(int count)protected booleancopyAttrs(int attrCount)protected intcopyConstantPool(int constantPoolCount)protected voidcopyMembers()byte[]getUpdatedByteCode()protected voidrandomAccessWriteU2(int pos, int val)protected byte[]readBytes(int count)protected intreadU1()protected intreadU2()protected intreadU4()protected voidwriteAttrForSDE(int index)protected voidwriteBytes(byte[] bytes)protected voidwriteU1(int val)protected voidwriteU2(int val)protected voidwriteU4(int val)protected voidwriteUtf8ForSDE()
-
-
-
Method Detail
-
getUpdatedByteCode
public byte[] getUpdatedByteCode()
-
addSDE
protected void addSDE() throws java.io.UnsupportedEncodingException, java.io.IOException- Throws:
java.io.UnsupportedEncodingExceptionjava.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.UnsupportedEncodingExceptionjava.io.IOException
-
writeUtf8ForSDE
protected void writeUtf8ForSDE()
-
-