Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

9
LINES

< > BotCompany Repo | #1033173 // IJavaXCodeSafetyChecker

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (3791L/22K).

sinterface IJavaXCodeSafetyChecker {
  // override one of these
  
  default bool isCompletelySafe(S code) {
    ret eq(joinWithComma(getSafetyClasses(code)), "safe");
  }
  
  default Cl<S> getSafetyClasses aka get aka check(S code) { null; }
}

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: 170 / 267
Version history: 4 change(s)
Referenced in: #1034167 - Standard Classes + Interfaces (LIVE, continuation of #1003674)