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

11
LINES

< > BotCompany Repo | #1027588 // ClassOrName

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

Transpiled version (2209L) is out of date.

1  
sclass ClassOrName<A> {
2  
  Class<A> c;
3  
  S name;
4  
  
5  
  *() {}
6  
  *(Class<A> *c) {}
7  
  *(S *name) {}
8  
  
9  
  Class asClass() { ret assertNotNull(c); }
10  
  Class asClassOpt() { ret c; }
11  
}

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: #1027588
Snippet name: ClassOrName
Eternal ID of this version: #1027588/4
Text MD5: 79533a0b99f52bb11a57999430c6a3f8
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-03-25 13:19:15
Source code size: 186 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 199 / 505
Version history: 3 change(s)
Referenced in: [show references]