child = n.substring(0, i - 1);
child = n.substring(0, i);
    static java.lang.Object get_child_name(java.lang.Object p0) {                java.lang.Object child = null;        java.lang.String n = (java.lang.String) p0;                if (n != null) {                        int i = n.indexOf(".");                        if (i != -1) {                                child = n.substring(0, i - 1);                        } else {                            child = n;            }                    } else {                        LogHandler.log(LogHandler.ERROR_LOG_LEVEL, "Could not get child name. The hierarchical name is null.");        }                return child;    }