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

37
LINES

< > BotCompany Repo | #1031610 // Methods for BEAObject as well as GazelleBEA - put in #1031725 now

JavaX fragment (include)

1  
O beaCall(BEA c, S method, O... args) {
2  
  ret cCall(c, method, args);
3  
}
4  
5  
O beaCallOpt(BEA c, S method, O... args) {
6  
  ret cCallOpt(c, method, args);
7  
}
8  
9  
O beaPcall(BEA c, S method, O... args) {
10  
  ret cPcall(c, method, args);
11  
}
12  
13  
O beaCall(Concept.Ref ref, S method, O... args) {
14  
  ret cCall(ref, method, args);
15  
}
16  
17  
O beaPcall(Concept.Ref ref, S method, O... args) {
18  
  ret cPcall(ref, method, args);
19  
}
20  
21  
O beaCall(long id, S method, O... args) {
22  
  ret cCall(beaMod().beaGet(id), method, args);
23  
}
24  
25  
O beaPcall(long id, S method, O... args) {
26  
  ret cPcall(beaMod().beaGet(id), method, args);
27  
}
28  
29  
O beaCallOpt(long id, S method, O... args) {
30  
  ret cCallOpt(beaMod().beaGet(id), method, args);
31  
}
32  
33  
<A extends BEA> A beaGet(Class<A> c, S key, GazelleBEA.Req req) {
34  
  ret optCast(c, beaGet(key, req));
35  
}
36  
37  
!include #1031725 // Additions of ExtendedBEAObject 

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, ekrmjmnbrukm, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1031610
Snippet name: Methods for BEAObject as well as GazelleBEA - put in #1031725 now
Eternal ID of this version: #1031610/9
Text MD5: f198c48121fcb4639dfd58b89354b24f
Author: stefan
Category: javax / gazelle bea
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-07-23 18:42:45
Source code size: 879 bytes / 37 lines
Pitched / IR pitched: No / No
Views / Downloads: 189 / 1517
Version history: 8 change(s)
Referenced in: [show references]