public class MethodHandleConstant extends AbstractConstant
data, index, typeTYPE_CLASS, TYPE_DOUBLE, TYPE_FIELD, TYPE_FLOAT, TYPE_INT, TYPE_INTERFACE_METHOD, TYPE_INVOKE_DYNAMIC, TYPE_LONG, TYPE_METHOD, TYPE_METHOD_HANDLE, TYPE_METHOD_TYPE, TYPE_NAME_AND_TYPE, TYPE_STRING, TYPE_UTF| 构造器和说明 |
|---|
MethodHandleConstant() |
MethodHandleConstant(int referenceKind,
int referenceIndex) |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getReferenceIndex() |
int |
getReferenceKind() |
void |
setReferenceIndex(int referenceIndex) |
void |
setReferenceKind(int referenceKind) |
MethodHandleConstant |
toMethodHandleConstant()
转换为 MethodHandleConstant
|
getData, getIndex, getType, setData, setIndex, setType, toClassConstant, toFieldConstant, toInvokeDynamicConstant, toMethodConstant, toMethodTypeConstant, toNameAndTypeConstant, toUTFConstantpublic MethodHandleConstant()
public MethodHandleConstant(int referenceKind,
int referenceIndex)
public int getReferenceKind()
public void setReferenceKind(int referenceKind)
public int getReferenceIndex()
public void setReferenceIndex(int referenceIndex)
public MethodHandleConstant toMethodHandleConstant()
IConstanttoMethodHandleConstant 在接口中 IConstanttoMethodHandleConstant 在类中 AbstractConstantCopyright © 2020. All Rights Reserved.