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

7
LINES

< > BotCompany Repo | #1027457 // dynShortName_gen

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

Libraryless. Click here for Pure Java version (2211L/14K).

1  
sS dynShortName_gen(O o) {
2  
  if (eq(shortClassName(o), "DynamicObject")) {
3  
    O className = getOpt className(o);
4  
    if (className cast S) ret className;
5  
  }
6  
  ret shortClassName(o);
7  
}

Author comment

Began life as a copy of #1005244

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1027457
Snippet name: dynShortName_gen
Eternal ID of this version: #1027457/1
Text MD5: beeddd0b12f337819d20f95b9e3391a9
Transpilation MD5: cc8e2802d1b79bcd2fcd4bc6597f5a1d
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-03-22 12:08:39
Source code size: 191 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 169 / 239
Referenced in: [show references]