# Uses of Class
serp.bytecode.ConstantInstruction

Packages that use ConstantInstruction
Package
Description
serp.bytecode
Bytecode Manipuation
serp.bytecode.visitor
Bytecode Visitor

## Uses of ConstantInstruction in serp.bytecode

Methods in serp.bytecode that return ConstantInstruction
Modifier and Type
Method
Description
`ConstantInstruction`
Code.`constant()`
Load some constant onto the stack.
`ConstantInstruction`
ConstantInstruction.`setNull()`
Set this constant to null.
`ConstantInstruction`
ConstantInstruction.`setValue(boolean value)`
Set the value of this constant; note that this type is converted to int.
`ConstantInstruction`
ConstantInstruction.`setValue(char value)`
Set the value of this constant; note that this type is converted to int.
`ConstantInstruction`
ConstantInstruction.`setValue(double value)`
Set the value of this constant.
`ConstantInstruction`
ConstantInstruction.`setValue(float value)`
Set the value of this constant.
`ConstantInstruction`
ConstantInstruction.`setValue(int value)`
Set the value of this constant.
`ConstantInstruction`
ConstantInstruction.`setValue(long value)`
Set the value of this constant.
`ConstantInstruction`
ConstantInstruction.`setValue(short value)`
Set the value of this constant; note that this type is converted to int.
`ConstantInstruction`
ConstantInstruction.`setValue(Class value)`
Set the value of this constant.
`ConstantInstruction`
ConstantInstruction.`setValue(Object value)`
Set the constant to the given value.
`ConstantInstruction`
ConstantInstruction.`setValue(String value)`
Set the value of this constant.
`ConstantInstruction`
ConstantInstruction.`setValue(String value, boolean clsName)`
`ConstantInstruction`
ConstantInstruction.`setValue(BCClass value)`
Set the value of this constant.

## Uses of ConstantInstruction in serp.bytecode.visitor

Methods in serp.bytecode.visitor with parameters of type ConstantInstruction
Modifier and Type
Method
Description
`void`
BCVisitor.`enterConstantInstruction(ConstantInstruction obj)`
`void`
PrettyPrintVisitor.`enterConstantInstruction(ConstantInstruction obj)`
`void`
BCVisitor.`exitConstantInstruction(ConstantInstruction obj)`