public static String getFullPinName(String name, byte[] subBus) {
        StringBuffer result = new StringBuffer(name);

        if (subBus != null
            && !name.equals(CompositeGateClass.TRUE_NODE_INFO.name)
            && !name.equals(CompositeGateClass.FALSE_NODE_INFO.name)) {

            result.append("[");
            result.append(subBus[0]);
            if (subBus[0] != subBus[1])
                result.append(".." + subBus[1]);
            result.append("]");
        }

        return result.toString();
    }