/** * Get the current {@link Code}. COuld be null. * @return the {@link Code} */ public Code getCurrentCode() { return peekMostRecentCode(); }
/** * append to the current {@link Code}'s outerData * @param outerData the outerData to append */ public void appendCodeOuterData(String outerData) { Code c = peekMostRecentCode(); if (c != null) { c.appendOuterData(outerData); } }
/** * append to the current {@link Code}'s data * @param data the data to append */ public void appendCodeData(String data) { Code c = peekMostRecentCode(); if (c != null) { c.append(data); } }
Code c = peekMostRecentCode(); if (c != null) { c.setData(""); Code code = peekMostRecentCode(); if (!textPlaceholdersOnly) { if (code != null) {