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

5
LINES

< > BotCompany Repo | #1033985 // classForNameOpt_noCache - null if not found

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

Libraryless. Click here for Pure Java version (4564L/25K).

static Class classForNameOpt_noCache(S name) ctex {
  try {
    ret Class.forName(name);
  } catch (ClassNotFoundException e) { null; }
}

Author comment

Began life as a copy of #1015400

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1033985
Snippet name: classForNameOpt_noCache - null if not found
Eternal ID of this version: #1033985/1
Text MD5: 70c9151b56872ddb57a756c662c2313d
Transpilation MD5: 55c050d906140ef7335228d2a8093a6f
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-01-15 06:10:52
Source code size: 141 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 157 / 242
Referenced in: [show references]