public class IntegerConstant extends Constant
| Modifier and Type | Field and Description |
|---|---|
int |
u4value |
visitorInfo| Constructor and Description |
|---|
IntegerConstant()
Creates an uninitialized IntegerConstant.
|
IntegerConstant(int value)
Creates a new IntegerConstant with the given integer value.
|
| Modifier and Type | Method and Description |
|---|---|
void |
accept(Clazz clazz,
ConstantVisitor constantVisitor)
Accepts the given visitor.
|
int |
getTag()
Returns the constant pool info tag that specifies the entry type.
|
int |
getValue()
Returns the integer value of this IntegerConstant.
|
void |
setValue(int value)
Sets the integer value of this IntegerConstant.
|
getVisitorInfo, setVisitorInfopublic IntegerConstant()
public IntegerConstant(int value)
public int getValue()
public void setValue(int value)
public int getTag()
Constantpublic void accept(Clazz clazz, ConstantVisitor constantVisitor)
ConstantCopyright © 2015. All Rights Reserved.