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

10
LINES

< > BotCompany Repo | #1011791 // Test tok_typesOfParams (OK)

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.jar

Download Jar. Libraryless. Click here for Pure Java version (3180L/21K).

!7

p {
  for (S s : ll("", "S s", "S a, S b", "int a", "int[] a", "Pair<A, B> pair", "int i, long l", "A.B c, e.f.g h", "final S s, final int bla"))
    printStruct(tok_typesOfParams(print(s)));
    
  assertEqualsVerbose(ll("virtual Bla"), tok_typesOfParams("virtual Bla o"));
  assertEqualsVerbose(ll("virtual Bla<X>"), tok_typesOfParams("virtual Bla<X> o"));
  assertEqualsVerbose(ll("O[]"), tok_typesOfParams("O... _"));
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1011791
Snippet name: Test tok_typesOfParams (OK)
Eternal ID of this version: #1011791/8
Text MD5: 4e0c8961388d7c7f6a409739470b716b
Transpilation MD5: 663ef73cbc4fae724dd708668ae697da
Author: stefan
Category: javax
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-04-16 18:28:54
Source code size: 436 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 299 / 942
Version history: 7 change(s)
Referenced in: [show references]