Package com.ibm.wala.shrike.shrikeCT
Class SourceDebugExtensionWriter
- java.lang.Object
-
- com.ibm.wala.shrike.shrikeCT.ClassWriter.Element
-
- com.ibm.wala.shrike.shrikeCT.SourceDebugExtensionWriter
-
public class SourceDebugExtensionWriter extends ClassWriter.Element
-
-
Constructor Summary
Constructors Constructor Description SourceDebugExtensionWriter(ClassWriter w)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcopyInto(byte[] buf, int offset)Copy the bytes into 'buf' at offset 'offset'.intgetSize()voidsetDebugInfo(java.lang.String sourceDebug)voidsetRawTable(byte[] sourceDebug)
-
-
-
Constructor Detail
-
SourceDebugExtensionWriter
public SourceDebugExtensionWriter(ClassWriter w)
-
-
Method Detail
-
getSize
public int getSize()
- Specified by:
getSizein classClassWriter.Element- Returns:
- the number of bytes that will be generated.
-
copyInto
public int copyInto(byte[] buf, int offset) throws java.lang.IllegalArgumentExceptionDescription copied from class:ClassWriter.ElementCopy the bytes into 'buf' at offset 'offset'.- Specified by:
copyIntoin classClassWriter.Element- Returns:
- the number of bytes copies, which must be equal to getSize()
- Throws:
java.lang.IllegalArgumentException
-
setRawTable
public void setRawTable(byte[] sourceDebug)
-
setDebugInfo
public void setDebugInfo(java.lang.String sourceDebug)
-
-