private void renderMethodRef(JavaBytecodeSyntaxDrawer sd, Imports ia, RefInfo ri, int index) {
		ConstantPoolTranslationMode mode = EditorFacade.getInstance().getConstantPoolTranslationMode();
		sd.drawDefault(" ");
		if (mode == ConstantPoolTranslationMode.OFF || mode == ConstantPoolTranslationMode.HYBRID) {
			sd.drawDefault("#" + index + ";");
		}

		if (mode == ConstantPoolTranslationMode.HYBRID) {
			sd.drawComment(" //");
		}
		
		if (mode == ConstantPoolTranslationMode.TRANSLATION || mode == ConstantPoolTranslationMode.HYBRID) {
			Descriptor desc = ri.getDescriptor();
			JavaType ret = desc.getReturn();
			if (ret.isPrimitive()) {
				sd.drawKeyword(ret.getType());
			} else {
				sd.drawDefault(ia.getShortName(ret.getType()));
			}
			sd.drawDefault(ret.getDimensions() + " " +
		               ia.getShortName(ri.getClassName()) + "." +
		               ri.getTargetName());
			sd.drawDefault("(");
			List al = desc.getParamList();
			for (int j = 0; j < al.size(); j++) {
				JavaType item = (JavaType) al.get(j);
				if (j > 0) {
					sd.drawDefault(", ");
				}
				if (item.isPrimitive()) {
					sd.drawKeyword(item.getType());
				} else {
					sd.drawDefault(ia.getShortName(item.getType()));
				}
				sd.drawDefault(item.getDimensions());
			}
			sd.drawDefault(")");
		}
	}