Libraryless. Click here for Pure Java version (3131L/20K).
sbool tok_hasDefaultConstructor(LS contents, S className) { LS contentsWithoutCurly = replaceCurlyBracedWith(tok_combineCurlyBrackets_keep(cloneList(contents)), ""); ret jcontains_any(contentsWithoutCurly, "\\*()", className + "()"); }
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: | #1028758 |
Snippet name: | tok_hasDefaultConstructor |
Eternal ID of this version: | #1028758/1 |
Text MD5: | 48f4fb445048d1d68054baba21c76c80 |
Transpilation MD5: | 386444071d7a38d6b8d2c7b04f37a450 |
Author: | stefan |
Category: | javax / nla |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-07-07 01:31:41 |
Source code size: | 244 bytes / 4 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 220 / 305 |
Referenced in: | [show references] |