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

10
LINES

< > BotCompany Repo | #1012233 // classToBCEL - analyze a loaded class with BCEL

JavaX fragment (include) [tags: use-pretranspiled]

Uses 1311K of libraries. Click here for Pure Java version (2573L/16K).

!include once #1019934 // BCEL

static JavaClass classToBCEL(Class c) ctex {
  temp InputStream in = inputStreamForClass(c);
  ret in == null ? null : new ClassParser(in, c.getName() + ".class").parse();
}

static JavaClass classToBCEL(O o) {
  ret classToBCEL(_getClass(o));
}

Author comment

Began life as a copy of #1012227

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1012233
Snippet name: classToBCEL - analyze a loaded class with BCEL
Eternal ID of this version: #1012233/6
Text MD5: 467a6de2cd7b8116ec4ca3c531bc5fee
Transpilation MD5: b34d5c123e091944f79c06cdcf07b9f3
Author: stefan
Category: javax / byte code
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-11-27 16:13:12
Source code size: 286 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 481 / 570
Version history: 5 change(s)
Referenced in: [show references]