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

3
LINES

< > BotCompany Repo | #1030327 - safeUnstructMapAllowingClasses - safe-unstructure, but allowing a few main$ classes, takes Class references, so "safe code"-safe (haha)

JavaX fragment (include)

static Map safeUnstructMapAllowingClasses(S s, Class... allowedClasses) {
  ret (Map) safeUnstructureAllowingClasses(s, allowedClasses);
}

Author comment

Began life as a copy of #1030120

download  show line numbers  debug dex   

Travelled to 3 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx

No comments. add comment

Snippet ID: #1030327
Snippet name: safeUnstructMapAllowingClasses - safe-unstructure, but allowing a few main$ classes, takes Class references, so "safe code"-safe (haha)
Eternal ID of this version: #1030327/1
Text MD5: d96fcd7505630396453b5dc6dc2d4ff1
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-12-02 23:30:33
Source code size: 140 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 9 / 13
Referenced in: [show references]

Formerly at http://tinybrain.de/1030327 & http://1030327.tinybrain.de