Libraryless. Click here for Pure Java version (15872L/102K).
static BEAObject arbitraryObjectToBEAObject(O o) { if (o instanceof BEAObject || o == null) ret (BEAObject) o; new BEAObject bea; for (Field f : fieldObjects(o)) { if (hasFieldWithSameName(o, f)) failWithVars("Field name conflict", +f, +o); cset(bea, fieldGet(f, o)); } ret bea; }
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1031354 | 
| Snippet name: | arbitraryObjectToBEAObject | 
| Eternal ID of this version: | #1031354/3 | 
| Text MD5: | b70d704197a0a2a32f1c1bd9246b102f | 
| Transpilation MD5: | 80e09b6af8556cb7621681fe18a269f7 | 
| Author: | stefan | 
| Category: | javax | 
| Type: | JavaX fragment (include) | 
| Public (visible to everyone): | Yes | 
| Archived (hidden from active list): | No | 
| Created/modified: | 2021-06-07 04:07:30 | 
| Source code size: | 313 bytes / 10 lines | 
| Pitched / IR pitched: | No / No | 
| Views / Downloads: | 385 / 497 | 
| Version history: | 2 change(s) | 
| Referenced in: | [show references] |