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

6
LINES

< > BotCompany Repo | #1034829 // findSingleInterfaceMethodOrFail

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

Libraryless. Click here for Pure Java version (5284L/29K).

static Method findSingleInterfaceMethodOrFail(Class intrface) {
  Method m = findSingleInterfaceMethod(intrface);
  if (m == null)
    fail(intrface + " is not a single method interface");
  ret m;
}

Author comment

Began life as a copy of #1034767

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1034829
Snippet name: findSingleInterfaceMethodOrFail
Eternal ID of this version: #1034829/1
Text MD5: 3a443d6908280d3f4692b9c097a16ff6
Transpilation MD5: 62c40a7684f87f81d7f4cf89879e27fd
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-03-11 02:06:04
Source code size: 204 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 129 / 183
Referenced in: [show references]