Libraryless. Click here for Pure Java version (2749L/16K).
static Class declaringClassOfMethod(O o, S name, O... args) { Method m = findMethod(o, name, args); ret m?.getDeclaringClass(); }
Began life as a copy of #1030141
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
Snippet ID: | #1031401 |
Snippet name: | declaringClassOfMethod |
Eternal ID of this version: | #1031401/1 |
Text MD5: | 1b910f9f8ffbffbfe9122857552fea13 |
Transpilation MD5: | aacce9f134627c252cfd7749e6680343 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-06-11 15:31:30 |
Source code size: | 136 bytes / 4 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 194 / 220 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |