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).

!7

p {
  JavaClass c = classToBCEL(mc());
  
  pnl(c.getMethods();
  /*for (int i = 0; i < c.getConstantPool().getLength(); i++)
    print((i+1) + ". " + c.getConstantPool().getConstant(i));*/
  
  print();
  print("Constant pool size: " + c.getConstantPool().getLength());
  print("Fields: " + l(c.getFields()));
  print("Methods: " + l(c.getMethods()));
}

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: 416 / 888
Version history: 3 change(s)
Referenced in: [show references]