|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.wala.shrikeCT.ClassWriter.Element
public abstract static class ClassWriter.Element
An Element is an object that can be serialized into a byte buffer. Serialization via 'copyInto' is performed when the user calls makeBytes() on the ClassWriter. At this time no new constant pool items can be allocated, so any item indices that need to be emitted must be allocated earlier.
| Constructor Summary | |
|---|---|
ClassWriter.Element()
|
|
| Method Summary | |
|---|---|
abstract int |
copyInto(byte[] buf,
int offset)
Copy the bytes into 'buf' at offset 'offset'. |
abstract int |
getSize()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClassWriter.Element()
| Method Detail |
|---|
public abstract int getSize()
public abstract int copyInto(byte[] buf,
int offset)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||