org.aspectj.apache.bcel.classfile
Class ConstantInteger
java.lang.Object
org.aspectj.apache.bcel.classfile.Constant
org.aspectj.apache.bcel.classfile.ConstantInteger
- All Implemented Interfaces:
- java.lang.Cloneable, Node, SimpleConstant
public final class ConstantInteger
- extends Constant
- implements SimpleConstant
This class is derived from the abstract Constant class and
represents a reference to an int object.
- See Also:
Constant
Fields inherited from class org.aspectj.apache.bcel.classfile.Constant |
tag |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ConstantInteger
public ConstantInteger(int intValue)
accept
public void accept(ClassVisitor v)
- Specified by:
accept
in interface Node
- Specified by:
accept
in class Constant
dump
public final void dump(java.io.DataOutputStream file)
throws java.io.IOException
- Specified by:
dump
in class Constant
- Throws:
java.io.IOException
toString
public final java.lang.String toString()
- Overrides:
toString
in class Constant
getValue
public java.lang.Integer getValue()
- Specified by:
getValue
in class Constant
getIntValue
public int getIntValue()
getStringValue
public java.lang.String getStringValue()
- Specified by:
getStringValue
in interface SimpleConstant