|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.wala.shrikeCT.ClassWriter.Element
com.ibm.wala.shrikeCT.ExceptionsWriter
public final class ExceptionsWriter
This class builds serializable Exceptions attributes.
| Constructor Summary | |
|---|---|
ExceptionsWriter(ClassWriter w)
Build an empty writer. |
|
| Method Summary | |
|---|---|
int |
copyInto(byte[] buf,
int offset)
Copy the bytes into 'buf' at offset 'offset'. |
int |
getSize()
|
void |
setRawTable(int[] exceptions)
Set the list of exceptions that can be thrown. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExceptionsWriter(ClassWriter w)
java.lang.IllegalArgumentException - if w is null| Method Detail |
|---|
public int getSize()
getSize in class ClassWriter.Element
public int copyInto(byte[] buf,
int offset)
throws java.lang.IllegalArgumentException
ClassWriter.Element
copyInto in class ClassWriter.Elementjava.lang.IllegalArgumentExceptionpublic void setRawTable(int[] exceptions)
exceptions - an array of indices to constant pool Class entries
java.lang.IllegalArgumentException - if exceptions is null
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||