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

6
LINES

< > BotCompany Repo | #1030970 // getStandardFunctionHolder - compile or find in main class

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

Libraryless. Click here for Pure Java version (11780L/79K).

sO getStandardFunctionHolder(S functionName) {
  for (O o : mcAndUtils())
    if (hasMethodNamed(o, functionName))
      ret o;
  ret loadFunction_cached(functionName);
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1030970
Snippet name: getStandardFunctionHolder - compile or find in main class
Eternal ID of this version: #1030970/1
Text MD5: fa7e9e8d6e0bb87a60a88ed1fafb6c8a
Transpilation MD5: 5ee833c4e85a87c33a073105a8254a48
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-04-17 13:56:01
Source code size: 175 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 85 / 133
Referenced in: [show references]