Libraryless. Click here for Pure Java version (3791L/22K).
1 | sinterface IJavaXCodeSafetyChecker { |
2 | // override one of these |
3 | |
4 | default bool isCompletelySafe(S code) { |
5 | ret eq(joinWithComma(getSafetyClasses(code)), "safe"); |
6 | } |
7 | |
8 | default Cl<S> getSafetyClasses aka get aka check(S code) { null; } |
9 | } |
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1033173 |
Snippet name: | IJavaXCodeSafetyChecker |
Eternal ID of this version: | #1033173/5 |
Text MD5: | 35af7fd82e5b2e1d75cd74be10bd12f4 |
Transpilation MD5: | 60b3f3b45e39d848b0d79c85c4061193 |
Author: | stefan |
Category: | javax / code analysis |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-10-15 22:19:11 |
Source code size: | 253 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 171 / 270 |
Version history: | 4 change(s) |
Referenced in: | [show references] |