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

4
LINES

< > BotCompany Repo | #1024192 // tok_fixBadTypeParameterOrder

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

Libraryless. Click here for Pure Java version (2344L/15K).

svoid tok_fixBadTypeParameterOrder(LS tok) {
  // e.g. void <A> bla() => <A> void bla()
  jreplace(tok, "void <<id>>", "<$3> void");
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1024192
Snippet name: tok_fixBadTypeParameterOrder
Eternal ID of this version: #1024192/2
Text MD5: 87c38c290db1215ea1736b00cb6251e7
Transpilation MD5: 36c03c5bed40297d84087272a9bed112
Author: stefan
Category: javax / transpiling
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-07-24 20:46:49
Source code size: 137 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 244 / 335
Version history: 1 change(s)
Referenced in: [show references]