public interface IConstant
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
TYPE_CLASS |
static int |
TYPE_DOUBLE |
static int |
TYPE_FIELD |
static int |
TYPE_FLOAT |
static int |
TYPE_INT |
static int |
TYPE_INTERFACE_METHOD |
static int |
TYPE_LONG |
static int |
TYPE_METHOD |
static int |
TYPE_NAME_AND_TYPE |
static int |
TYPE_STRING |
static int |
TYPE_UTF |
| 限定符和类型 | 方法和说明 |
|---|---|
byte[] |
getData() |
int |
getIndex() |
int |
getType() |
void |
setData(byte[] data) |
void |
setIndex(int index) |
void |
setType(int type) |
ClassConstant |
toClassConstant() |
FieldConstant |
toFieldConstant() |
MethodConstant |
toMethodConstant() |
NameAndTypeConstant |
toNameAndTypeConstant() |
UTFConstant |
toUTFConstant() |
static final int TYPE_CLASS
static final int TYPE_INT
static final int TYPE_LONG
static final int TYPE_FLOAT
static final int TYPE_DOUBLE
static final int TYPE_STRING
static final int TYPE_FIELD
static final int TYPE_METHOD
static final int TYPE_INTERFACE_METHOD
static final int TYPE_NAME_AND_TYPE
static final int TYPE_UTF
int getIndex()
void setIndex(int index)
int getType()
void setType(int type)
byte[] getData()
void setData(byte[] data)
ClassConstant toClassConstant()
UTFConstant toUTFConstant()
FieldConstant toFieldConstant()
MethodConstant toMethodConstant()
NameAndTypeConstant toNameAndTypeConstant()
Copyright © 2018. All Rights Reserved.