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

6
LINES

< > BotCompany Repo | #1036316 // shortClassName2

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

Libraryless. Click here for Pure Java version (249L/2K).

1  
sS shortClassName2(O o) {
2  
  if (o == null) ret null;
3  
  Class c = o.getClass();
4  
  S name = c.getName();
5  
  ret shortenClassName(name);
6  
}

Author comment

Began life as a copy of #1004815

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1036316
Snippet name: shortClassName2
Eternal ID of this version: #1036316/1
Text MD5: 3ec438544a784aaebe3dad226d7ff32c
Transpilation MD5: 8c8bfb1f716eea95b1e03fe19f44aae7
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-11-15 21:01:04
Source code size: 139 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 156 / 230
Referenced in: [show references]