Transpiled version (4591L) is out of date.
1 | // keeps package names for dynamic code (package dyn.*) |
2 | sS shortDynClassNameForStructure(O o) { |
3 | if (o instanceof DynamicObject && ((DynamicObject) o).className != null) |
4 | ret ((DynamicObject) o).className; |
5 | if (o == null) null; |
6 | Class c = o instanceof Class ? (Class) o : o.getClass(); |
7 | S name = c.getName(); |
8 | ret name.startsWith("dyn.") ? classNameToVM(name) : shortenClassName(name); |
9 | } |
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
Snippet ID: | #1031392 |
Snippet name: | shortDynClassNameForStructure |
Eternal ID of this version: | #1031392/4 |
Text MD5: | 496f531a63b285bd28faadc4387f8ba2 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-10-23 05:50:36 |
Source code size: | 404 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 283 / 348 |
Version history: | 3 change(s) |
Referenced in: | [show references] |