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

14
LINES

< > BotCompany Repo | #1012234 // Test classToBCEL (OK)

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.jar

Download Jar. Uses 1311K of libraries. Click here for Pure Java version (1160L/8K).

1  
!7
2  
3  
p {
4  
  JavaClass c = classToBCEL(mc());
5  
  
6  
  pnl(c.getMethods();
7  
  /*for (int i = 0; i < c.getConstantPool().getLength(); i++)
8  
    print((i+1) + ". " + c.getConstantPool().getConstant(i));*/
9  
  
10  
  print();
11  
  print("Constant pool size: " + c.getConstantPool().getLength());
12  
  print("Fields: " + l(c.getFields()));
13  
  print("Methods: " + l(c.getMethods()));
14  
}

Author comment

Began life as a copy of #1012227

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1012234
Snippet name: Test classToBCEL (OK)
Eternal ID of this version: #1012234/4
Text MD5: 5c245517ad88f6bba91759f5ee048a60
Transpilation MD5: 730fd30263bd81f4e5a4a276e94b894d
Author: stefan
Category: javax / byte code
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-11-24 13:51:16
Source code size: 371 bytes / 14 lines
Pitched / IR pitched: No / No
Views / Downloads: 547 / 1175
Version history: 3 change(s)
Referenced in: [show references]