Download Jar. Uses 3874K of libraries. Click here for Pure Java version (11306L/84K).
!7 static S listName = "JavaX Identifier Safety"; static JTable table; p-exp { makeTable(); final JTextField tf = jtextfield(); Runnable save = r { S value = getTextTrim(tf); if (nempty(value)) if (ml_isChange(addToMechMap(listName, mapWithSingleValue(selectedTableRowsFirstColumn(table), value)))) makeTable() }; onEnter(tf, save); addToWindowWithMargin(table, jcenteredline( jlabel("Safety comment:"), jminwidth(250, tf), selectedRowCountTableButton(table, jbutton("Save", save)))); } svoid makeTable { S fname = 'standardBotsToRun; Set<S> identifiers = setMinus(tok_allIdentifiers(textOfStandardFunction(fname)), fname); final SS map = mechHashMap(listName); O f = func(S id) -> Map { litorderedmap("Identifier" := id, Safety := or2(map.get(id), "?")) }; sexyTable_drag = false; table = showTable(table, map(f, sortedIC(identifiers))); }
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1015747 |
Snippet name: | Check standard function for safety Spike [OK] |
Eternal ID of this version: | #1015747/25 |
Text MD5: | d10b2bf3509b76a953f86a08875bea59 |
Transpilation MD5: | 25bf120f079568d3b1e0c31cf9716b95 |
Author: | stefan |
Category: | javax / code analysis |
Type: | JavaX source code (desktop) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-05-27 00:10:56 |
Source code size: | 935 bytes / 29 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 500 / 1291 |
Version history: | 24 change(s) |
Referenced in: | [show references] |