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

4
LINES

< > BotCompany Repo | #1030141 // implementsCustomToString

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

Libraryless. Click here for Pure Java version (2528L/16K).

sbool implementsCustomToString(O o) {
  Method m = findMethod(o, "toString");
  ret m != null && m.getDeclaringClass() != O.class;
}

Author comment

Began life as a copy of #1002796

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1030141
Snippet name: implementsCustomToString
Eternal ID of this version: #1030141/5
Text MD5: 29ad49fa846e877804879e826b232bc2
Transpilation MD5: d7c08fa6e0265ee990585ec4dd3096f7
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-11-16 22:28:03
Source code size: 135 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 215 / 290
Version history: 4 change(s)
Referenced in: [show references]