Libraryless. Click here for Pure Java version (3131L/20K).
1 | sbool tok_hasDefaultConstructor(LS contents, S className) { |
2 | LS contentsWithoutCurly = replaceCurlyBracedWith(tok_combineCurlyBrackets_keep(cloneList(contents)), ""); |
3 | ret jcontains_any(contentsWithoutCurly, "\\*()", className + "()"); |
4 | } |
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: | 221 / 307 |
Referenced in: | [show references] |