Libraryless. Click here for Pure Java version (15071L/97K).
concept BEAObject > ConceptWithGlobalID { toString { S type = type(); ret nempty(type) ? "[\*id*/] " + type : super.toString(); } S type() { ret getStringOpt type(this); } S typeFromClassName() { if (getClass() == BEAObject) null; ret dropPrefixOrNull("B", shortClassName(this)); } bool typeIs(S name) { ret eqic(type(), name) || eqic(typeFromClassName(), name); } }
download show line numbers debug dex old transpilations
Travelled to 5 computer(s): bhatertpkbcr, ekrmjmnbrukm, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
Snippet ID: | #1030666 |
Snippet name: | BEAObject |
Eternal ID of this version: | #1030666/7 |
Text MD5: | ddc561f5dc75ee1da9cf470e4d906203 |
Transpilation MD5: | 31f9833d840087537b80f7022f71e221 |
Author: | stefan |
Category: | javax / Gazelle BEA |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-03-19 16:20:16 |
Source code size: | 433 bytes / 19 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 254 / 492 |
Version history: | 6 change(s) |
Referenced in: | #1034167 - Standard Classes + Interfaces (LIVE, continuation of #1003674) |