literal

fun literal(method: MethodVisitor, any: Any)

Emit code to push the specified literal on top of the stack.

Parameters

method

The method into which the generated JVM instructions will be written.

any

The literal.


fun literal(method: MethodVisitor?, operand: L2Operand)

Throw an UnsupportedOperationException. It is never valid to treat an L2Operand as a JVM literal, so this method is marked as Deprecated to protect against code cloning and refactoring errors by a programmer.

Parameters

method

Unused.

operand

Unused.


fun literal(method: MethodVisitor?, reg: L2Register?)

Throw an UnsupportedOperationException. It is never valid to treat an L2Register as a Java literal, so this method is marked as Deprecated to protect against code cloning and refactoring errors by a programmer.

Parameters

method

Unused.

reg

Unused.