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

7
LINES

< > BotCompany Repo | #1032830 // getSiblingClass

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

Transpiled version (3844L) is out of date.

static Class getSiblingClass(Class c, S name, O classFinder default null) {
  ret getInnerClass(getOuterClass(c, classFinder), name, classFinder);
}

static Class getSiblingClass(O o, S name, O classFinder default null) {
  ret getSiblingClass(_getClass(o), name, classFinder);
}

Author comment

Began life as a copy of #1004786

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1032830
Snippet name: getSiblingClass
Eternal ID of this version: #1032830/2
Text MD5: a4075053fa559fc8668030aa7af1d8a4
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-06 14:52:40
Source code size: 285 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 124 / 179
Version history: 1 change(s)
Referenced in: [show references]