„Byte Code Engineering Library” változatai közötti eltérés
Új oldal, tartalma: „{{ Szoftver infobox | név = Commons BCEL | logo = | screenshot = | caption = | fejlesztő …” |
(Nincs különbség)
|
A lap 2012. február 26., 21:17-kori változata
Commons BCEL | |
Fejlesztő | Apache Software Foundation |
Legfrissebb stabil kiadás | 6.4.1 (stabil verzió, 2019. október 2.)[1] |
Programozási nyelv | Java |
Operációs rendszer | platformfüggetlen |
Kategória | bytecode Engineering Library |
Licenc | Apache Licenc 2.0 |
A Commons BCEL weboldala |
Ez a szócikk/szakasz most épül, még dolgoznak az első verzión! |
A Byte Code Engineering Library (BCEL) egy projekt, melyet az Apache Software Foundation szponzorál a Commons projekt részeként, hogy biztosítson egy egyszerű API-t kibontásához, módosításhoz, majd újra csomagolásához bináris Java osztályok kezeléséhez (I.e. bytecode). A projektet eredetileg Markus Dahm fejlesztette mielőtt hivatalosan az Apache Jakarta alapítványnak adományozta 2001. október 27-én. BCEL java-központú jelenleg, és jelenleg nem támogat más bájtkód megvalósítást (pl. .NET bytecode, Python bájtkód).
2011. júliusában került át az Apache Commons alá.[2]
Használat
BCEL provides a simple library that exposes the internal aggregate components of a given Java class through its API as object constructs (as opposed to the disassembly of the lower-level opcodes). These objects also expose operations for modifying the binary bytecode, as well as generating new bytecode (via injection of new code into the existing code, or through generation of new classes altogether.) The BCEL library has been used in several diverse applications, such as:
- Java Bytecode Decompiling, Obfuscation, and Refactoring
- Performance and Profiling
- Instrumentation calls that capture performance metrics can be injected into Java class binaries to examine memory/coverage data. (For example, injecting instrumentation at entry/exit points.)
- Implementation of New Language Semantics
- For example, Aspect-Oriented additions to the Java language have been implemented by using BCEL to decompose class structures for point-cut identification, and then again when reconstituting the class by injecting aspect-related code back into the binary. (See: AspectJ)
- FindBugs uses BCEL to analyze Java bytecode for code idioms which indicate bugs.
Lásd még
Külső hivatkozások
- Jakarta ByteCode Engineering Library - The BCEL projekt hivatalos honlapja.
- BCEL-Based Project Listing - A listing of projects that make use of the BCEL Library.
- Apache Commons Home - az Apache Commons honlapja.
- AspectJ - az AspectJ Projekt honlapja. (One of the high-visibility projects that makes use of BCEL.)