public class MethodConstant extends AbstractConstant
data, index, typeTYPE_CLASS, TYPE_DOUBLE, TYPE_FIELD, TYPE_FLOAT, TYPE_INT, TYPE_INTERFACE_METHOD, TYPE_LONG, TYPE_METHOD, TYPE_NAME_AND_TYPE, TYPE_STRING, TYPE_UTF| 构造器和说明 |
|---|
MethodConstant() |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getClassIndex() |
int |
getNameAndTypeIndex() |
void |
setClassIndex(int classIndex) |
void |
setNameAndTypeIndex(int nameAndTypeIndex) |
MethodConstant |
toMethodConstant() |
getData, getIndex, getType, setData, setIndex, setType, toClassConstant, toFieldConstant, toNameAndTypeConstant, toUTFConstantpublic int getClassIndex()
public void setClassIndex(int classIndex)
public int getNameAndTypeIndex()
public void setNameAndTypeIndex(int nameAndTypeIndex)
public MethodConstant toMethodConstant()
toMethodConstant 在接口中 IConstanttoMethodConstant 在类中 AbstractConstantCopyright © 2018. All Rights Reserved.