Libraryless. Click here for Pure Java version (14904L/96K).
1 | static <A extends Concept> LPair<A, S> findBackRefsWithFieldNames(Concept c, Class<A> type) { |
2 | new LPair<A, S> l; |
3 | if (c != null && c.backRefs != null) for (Concept.Ref r : cloneList(c.backRefs)) |
4 | if (instanceOf(r.concept(), type)) |
5 | l.add(pair((A) r.concept(), fieldNameForConceptLink(r.concept(), c))); |
6 | ret l; |
7 | } |
Began life as a copy of #1007228
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
Snippet ID: | #1030923 |
Snippet name: | findBackRefsWithFieldNames |
Eternal ID of this version: | #1030923/2 |
Text MD5: | e99da9fa78acbef412c6db70fcc57ec8 |
Transpilation MD5: | f23df838fd92f066e70f6cf0e46c5a7d |
Author: | stefan |
Category: | javax / concepts |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-04-10 19:02:10 |
Source code size: | 330 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 182 / 276 |
Version history: | 1 change(s) |
Referenced in: | [show references] |