public void visitMethodHandleConstant(Clazz clazz, MethodHandleConstant methodHandleConstant) { // First add the field ref, interface method ref, or method ref // constant. clazz.constantPoolEntryAccept(methodHandleConstant.u2referenceIndex, this); // Then add the actual method handle constant. constantIndex = constantPoolEditor.addMethodHandleConstant(methodHandleConstant.getReferenceKind(), constantIndex); }
public void visitMethodHandleConstant(Clazz clazz, MethodHandleConstant methodHandleConstant) { // First add the field ref, interface method ref, or method ref // constant. clazz.constantPoolEntryAccept(methodHandleConstant.u2referenceIndex, this); // Then add the actual method handle constant. constantIndex = constantPoolEditor.addMethodHandleConstant(methodHandleConstant.getReferenceKind(), constantIndex); }
public void visitMethodHandleConstant(Clazz clazz, MethodHandleConstant methodHandleConstant) { // First add the field ref, interface method ref, or method ref // constant. clazz.constantPoolEntryAccept(methodHandleConstant.u2referenceIndex, this); // Then add the actual method handle constant. constantIndex = constantPoolEditor.addMethodHandleConstant(methodHandleConstant.getReferenceKind(), constantIndex); }