Package classycle.classfile
Class IntConstant
- java.lang.Object
-
- classycle.classfile.Constant
-
- classycle.classfile.IntConstant
-
public class IntConstant extends Constant
Constant representing a int value.- Author:
- Franz-Josef Elmer
-
-
Constructor Summary
Constructors Constructor Description IntConstant(Constant[] pool, int value)
Creates an instance for the specified int value.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getValue()
Returns the wrapped int value.java.lang.String
toString()
Returns the constant type and the int value.-
Methods inherited from class classycle.classfile.Constant
extractConstantPool, getConstant
-
-
-
-
Constructor Detail
-
IntConstant
public IntConstant(Constant[] pool, int value)
Creates an instance for the specified int value.
-
-