!include once #1027168 // programID variable static String getProgramID() { return nempty(programID) ? formatSnippetIDOpt(programID) : "?"; } ifndef LeanMode // TODO: ask JavaX instead static String getProgramID(Class c) { S id = (String) getOpt(c, "programID"); if (nempty(id)) ret formatSnippetID(id); ret "?"; } endifndef static String getProgramID(Object o) { ret getProgramID(getMainClass(o)); }