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

3
LINES

< > BotCompany Repo | #1004785 // nuStubInnerObject - instantiates an inner class with a null reference to outer object

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

Libraryless. Click here for Pure Java version (2759L/16K).

static <A> A nuStubInnerObject(Class<A> c, O classFinder default null) ctex {
  return (A) nuStubInnerObject_findConstructor(c, classFinder).newInstance(new O[] {null});
}

Author comment

Began life as a copy of #1001136

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1004785
Snippet name: nuStubInnerObject - instantiates an inner class with a null reference to outer object
Eternal ID of this version: #1004785/7
Text MD5: 043034750d3303fcdb6b70d0645eaee8
Transpilation MD5: cfb1a05cf763dbcbc2f8887753858ff2
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-05-24 21:19:47
Source code size: 173 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 626 / 698
Version history: 6 change(s)
Referenced in: [show references]