ClassWriter
Writes a ClassInfo object to a buffer and verifies that its attributes are valid.
Constructor Summary
Public Constructor | ||
public |
constructor(cls: ClassInfo, buffer: NiceBuffer) |
Member Summary
Public Members | ||
public |
|
|
public |
|
|
public |
|
Method Summary
Public Methods | ||
public |
Verifies the contents of ClassInfo.cls is correct. |
|
public |
write() Verifies and writes the ClassInfo object to the buffer. |
|
public |
Writes the JVM class file magic number. |
|
public |
Writes the Java SE runtime this class file was targeted for. |
Public Constructors
public constructor(cls: ClassInfo, buffer: NiceBuffer) source
Params:
Name | Type | Attribute | Description |
cls | ClassInfo | ClassInfo object to write |
|
buffer | NiceBuffer | buffer to write to |