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

6
LINES

< > BotCompany Repo | #1031243 // nuStubInnerObject_findConstructor

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

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

static <A> Constructor nuStubInnerObject_findConstructor(Class<A> c, O classFinder default null) ctex {
  Class outerType = getOuterClass(c, classFinder);
  Constructor m = c.getDeclaredConstructor(outerType);
  makeAccessible(m);
  return m;
}

Author comment

Began life as a copy of #1004785

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1031243
Snippet name: nuStubInnerObject_findConstructor
Eternal ID of this version: #1031243/1
Text MD5: fb8154a065ab07d47191d753bdca6903
Transpilation MD5: a2e68abf45517c31c1589a9dcffffd9b
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:15:45
Source code size: 249 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 162 / 240
Referenced in: [show references]