You can edit almost every page by Creating an account and confirming your email.

Byte Code Engineering Library: Difference between revisions

From EverybodyWiki Bios & Wiki
WikiMasterBot2 (talk | contribs)
Moved page from wikipedia:en:Byte Code Engineering Library ([[Edithistory:|history]])
 
WikiMasterBot2 (talk | contribs)
m automatic correction by IA
 
Line 23: Line 23:
| website = {{Official URL}}
| website = {{Official URL}}
}}
}}
The '''Byte Code Engineering Library''' ('''BCEL''') is a project sponsored by the [[Apache Foundation]] previously under their [[Jakarta Project|Jakarta]] charter to provide a simple API for decomposing, modifying, and recomposing binary [[Java (programming language)|Java]] classes (I.e. [[bytecode]]). The project was conceived and developed by Markus Dahm prior to officially being donated to the Apache Jakarta foundation on 27 October 2001. It is a part of [[Apache Commons]].
The '''Byte Code Engineering Library''' ('''BCEL''') is a project sponsored by the [[Apache Foundation]] previously under their [[Jakarta Project|Jakarta]] charter to provide a simple API for decomposing, modifying, and recomposing binary [[Java (programming language)|Java]] classes (i.e. [[bytecode]]). The project was conceived and developed by Markus Dahm prior to officially being donated to the Apache Jakarta foundation on 27 October 2001. It is a part of [[Apache Commons]].


==Uses==
==Uses==
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:
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
*Java Bytecode Decompiling, Obfuscation, and Refactoring
*Performance and Profiling
*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.)
: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 programming|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]])
*Implementation of New Language Semantics
:For example, [[Aspect oriented programming|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]])
*[[Static code analysis]]
*[[Static code analysis]]
:[[FindBugs]] uses BCEL to analyze Java bytecode for code idioms which indicate bugs.
:[[FindBugs]] uses BCEL to analyze Java bytecode for code idioms which indicate bugs.
Line 44: Line 42:
==External links==
==External links==
*{{official website}}
*{{official website}}
**[https://commons.apache.org/proper/commons-bcel/projects.html BCEL-Based Project Listing] - A listing of projects that make use of the BCEL Library.
**[https://commons.apache.org/proper/commons-bcel/projects.html BCEL-Based Project Listing]** - A listing of projects that make use of the BCEL Library.
*[https://jakarta.apache.org/ Apache Jakarta Home] - The Apache Jakarta Home Page.
*[https://jakarta.apache.org/ Apache Jakarta Home] - The Apache Jakarta Home Page.
*[https://www.eclipse.org/aspectj/ AspectJ] - The AspectJ Project Home Page. (One of the high-visibility projects that makes use of BCEL.)
*[https://www.eclipse.org/aspectj/ AspectJ] - The AspectJ Project Home Page. (One of the high-visibility projects that makes use of BCEL.)

Latest revision as of 19:58, 29 April 2026


Apache Commons BCEL
Developer(s)Apache Software Foundation
Stable release
6.8.1 / January 11, 2024; 2 years ago (2024-01-11)
Written inJava
Engine
    Operating systemCross-platform
    TypeBytecode Engineering Library
    LicenseApache License 2.0
    Website{{URL|example.com|optional display text}}

    Search Byte Code Engineering Library on Amazon.

    The Byte Code Engineering Library (BCEL) is a project sponsored by the Apache Foundation previously under their Jakarta charter to provide a simple API for decomposing, modifying, and recomposing binary Java classes (i.e. bytecode). The project was conceived and developed by Markus Dahm prior to officially being donated to the Apache Jakarta foundation on 27 October 2001. It is a part of Apache Commons.

    Uses

    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)
    • Static code analysis
    FindBugs uses BCEL to analyze Java bytecode for code idioms which indicate bugs.

    See also

    References

    External links

    • Lua error in Module:Official_website at line 90: attempt to index field 'wikibase' (a nil value).
    • Apache Jakarta Home - The Apache Jakarta Home Page.
    • AspectJ - The AspectJ Project Home Page. (One of the high-visibility projects that makes use of BCEL.)


    This article "Byte Code Engineering Library" is from Wikipedia. The list of its authors can be seen in its historical and/or the page Edithistory:Byte Code Engineering Library. Articles copied from Draft Namespace on Wikipedia could be seen on the Draft Namespace of Wikipedia and not main one.