Libraryless. Click here for Pure Java version (10180L/56K).
static Field findFieldInInterfaces(Class c, S field) { if (c == null) null; for (intf : allInterfacesImplementedBy(c)) try object getField(intf, field); null; }
Began life as a copy of #1006561
download show line numbers debug dex old transpilations
Travelled to 2 computer(s): mqqgnosmbjvj, wnsclhtenguj
No comments. add comment
Snippet ID: | #1036539 |
Snippet name: | findFieldInInterfaces - get a Field from implemented interfaces |
Eternal ID of this version: | #1036539/1 |
Text MD5: | 47ec2b153b9e16c10c0685538ee743e2 |
Transpilation MD5: | 2fc4d5be327e94f3c2740783232be1c6 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2023-01-31 21:14:26 |
Source code size: | 175 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 141 / 180 |
Referenced in: | [show references] |