# Package org.apache.bcel.util

This package contains utility classes for the Byte Code Engineering Library, namely:

See: Description

- Interface Summary
  Interface | Description
  --- | ---
  BCELComparator | Used for BCEL comparison strategy
  ClassPath.ClassFile | Contains information about file/ZIP entry of the Java class.
  InstructionFinder.CodeConstraint | Code patterns found may be checked using an additional user-defined constraint object whether they really match the needed criterion.
  Repository | Abstract definition of a class repository.

- Class Summary
  Class | Description
  --- | ---
  BCELifier | This class takes a given JavaClass object and converts it to a Java program that creates that very class using BCEL.
  ByteSequence | Utility class that implements a sequence of bytes which can be read via the `readByte()' method.
  Class2HTML | Read class file(s) and convert them into HTML files.
  ClassLoader | Deprecated 6.0 Do not use - does not work
  ClassLoaderRepository | The repository maintains information about which classes have been loaded.
  ClassPath | Loads class files from the CLASSPATH.
  ClassPathRepository | This repository is used in situations where a Class is created outside the realm of a ClassLoader.
  ClassQueue | Utility class implementing a (typesafe) queue of JavaClass objects.
  ClassSet | Utility class implementing a (type-safe) set of JavaClass objects.
  ClassStack | Utility class implementing a (typesafe) stack of JavaClass objects.
  ClassVector | Deprecated as of 5.1.1 - 7/17/2005
  InstructionFinder | 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 interpreter replacement, i.e., wrapper that uses its own ClassLoader to modify/generate classes as they're requested.
  LruCacheClassPathRepository | Maintains a least-recently-used (LRU) cache of `JavaClass` with maximum size `cacheSize`.
  MemorySensitiveClassPathRepository | This repository is used in situations where a Class is created outside the realm of a ClassLoader.
  ModularRuntimeImage | Wraps a Java 9 JEP 220 modular runtime image.
  SyntheticRepository | This repository is used in situations where a Class is created outside the realm of a ClassLoader.

- Enum Summary
  Enum | Description
  --- | ---
  BCELifier.FLAGS | Enum corresponding to flag source.

## Package org.apache.bcel.util Description

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

Copyright © 2004–2022 The Apache Software Foundation. All rights reserved.