org.apache.bcel.util |
This package contains utility classes for the
Byte Code Engineering
Library, namely:
- Collection classes for JavaClass objects
- A converter for class files to HTML
- A tool to find instructions patterns via regular expressions
- A class to find classes as defined in the CLASSPATH
- A class loader that allows to create classes at run time
|
Java Source File Name | Type | Comment |
AttributeHTML.java | Class | Convert found attributes into HTML file.
version: $Id: AttributeHTML.java 386056 2006-03-15 11:31:56Z tcurdt $ author: M. |
BCELComparator.java | Interface | Used for BCEL comparison strategy
author: M. |
BCELFactory.java | Class | Factory creates il.append() statements, and sets instruction targets.
A helper class for BCELifier.
See Also: BCELifier version: $Id: BCELFactory.java 410087 2006-05-29 12:12:19Z tcurdt $ author: M. |
BCELifier.java | Class | This class takes a given JavaClass object and converts it to a
Java program that creates that very class using BCEL. |
ByteSequence.java | Class | Utility class that implements a sequence of bytes which can be read
via the `readByte()' method. |
Class2HTML.java | Class | Read class file(s) and convert them into HTML files.
Given a JavaClass object "class" that is in package "package" five files
will be created in the specified directory.
- "package"."class".html as the main file which defines the frames for
the following subfiles.
- "package"."class"_attributes.html contains all (known) attributes found in the file
- "package"."class"_cp.html contains the constant pool
- "package"."class"_code.html contains the byte code
- "package"."class"_methods.html contains references to all methods and fields of the class
All subfiles reference each other appropiately, e.g. |
ClassLoader.java | Class | Drop in replacement for the standard class loader of the JVM. |
ClassLoaderRepository.java | Class | The repository maintains information about which classes have
been loaded.
It loads its data from the ClassLoader implementation
passed into its constructor.
See Also: org.apache.bcel.Repository version: $Id: ClassLoaderRepository.java 386056 2006-03-15 11:31:56Z tcurdt $ author: M. |
ClassPath.java | Class | Responsible for loading (class) files from the CLASSPATH. |
ClassQueue.java | Class | Utility class implementing a (typesafe) queue of JavaClass
objects.
version: $Id: ClassQueue.java 386056 2006-03-15 11:31:56Z tcurdt $ author: M. |
ClassSet.java | Class | Utility class implementing a (typesafe) set of JavaClass objects.
Since JavaClass has no equals() method, the name of the class is
used for comparison.
version: $Id: ClassSet.java 386056 2006-03-15 11:31:56Z tcurdt $ author: M. |
ClassStack.java | Class | Utility class implementing a (typesafe) stack of JavaClass objects.
version: $Id: ClassStack.java 386056 2006-03-15 11:31:56Z tcurdt $ author: M. |
ClassVector.java | Class | Utility class implementing a (typesafe) collection of JavaClass
objects. |
CodeHTML.java | Class | Convert code into HTML file.
version: $Id: CodeHTML.java 386056 2006-03-15 11:31:56Z tcurdt $ author: M. |
ConstantHTML.java | Class | Convert constant pool into HTML file.
version: $Id: ConstantHTML.java 386056 2006-03-15 11:31:56Z tcurdt $ author: M. |
InstructionFinder.java | Class | InstructionFinder is a tool to search for given instructions patterns, i.e.,
match sequences of instructions in an instruction list via regular
expressions. |
JavaWrapper.java | Class | Java interpreter replacement, i.e., wrapper that uses its own ClassLoader
to modify/generate classes as they're requested. |
MethodHTML.java | Class | Convert methods and fields into HTML file.
version: $Id: MethodHTML.java 386056 2006-03-15 11:31:56Z tcurdt $ author: M. |
Repository.java | Interface | Abstract definition of a class repository. |
SyntheticRepository.java | Class | This repository is used in situations where a Class is created
outside the realm of a ClassLoader. |