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

4
LINES

< > BotCompany Repo | #1036516 // classHasMethodNamed - finds static and non-static methods

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

Libraryless. Click here for Pure Java version (10038L/55K).

sbool classHasMethodNamed(Class c, String method) {
  if (c == null) false;
  ret getMethodCache(c).cache.containsKey(method);
}

Author comment

Began life as a copy of #1002180

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): mqqgnosmbjvj, wnsclhtenguj

No comments. add comment

Snippet ID: #1036516
Snippet name: classHasMethodNamed - finds static and non-static methods
Eternal ID of this version: #1036516/1
Text MD5: 3110d6844d855444c2f10c0c4c1f0ca8
Transpilation MD5: 660321a5eb436b9e3adfb17ea390cc0b
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2023-01-21 22:12:22
Source code size: 131 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 60 / 84
Referenced in: [show references]