java.lang.Object | |
↳ | sun.tools.asm.Assembler |
This class is used to assemble the bytecode instructions for a method. WARNING: The contents of this source file are not part of any supported API. Code that depends on them does so at its own risk: they are subject to change or removal without notice.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Add an instruction
| |||||||||||
Collect all constants into the constant table
| |||||||||||
Return true if empty
| |||||||||||
Print the byte codes
| |||||||||||
Optimize the byte codes
| |||||||||||
Generate code
| |||||||||||
Write the coverage table
| |||||||||||
Write the linenumber table
| |||||||||||
Write the local variable table.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Collect all constants into the constant table
Return true if empty
Generate code
IOException |
---|
Write the coverage table
IOException |
---|
Write the linenumber table
IOException |
---|
Write the local variable table. The necessary constants have already been added to the constant table by the collect() method. The flowFields method is used to determine which variables are alive at each pc.
IOException |
---|