# Package org.apache.bcel.util

package org.apache.bcel.util
Utility classes for the Apache Byte Code Engineering Library (BCEL), 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

- Related Packages
  Package
  Description
  org.apache.bcel
  Basic classes for the Apache Byte Code Engineering Library (BCEL) and constants defined by the JVM specification.
  org.apache.bcel.classfile
  Classes that describe the structure of a Java class file and a class file parser.
  org.apache.bcel.generic
  Generic part of the Apache Byte Code Engineering Library (BCEL), classes to dynamically modify class objects and byte code instructions.
  org.apache.bcel.verifier
  BCEL's verifier JustIce is there to help you dump correct Java class files created or modified with BCEL.
- Class
  Description
  Args
  Argument validation.
  BCELComparator<T>
  Used for BCEL comparison strategy.
  BCELifier
  This class takes a given JavaClass object and converts it to a Java program that creates that very class using BCEL.
  BCELifier.FLAGS
  Enum corresponding to flag source.
  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.
  ClassPath.ClassFile
  Contains information about file/ZIP entry of the Java class.
  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, that is, match sequences of instructions in an instruction list via regular expressions.
  InstructionFinder.CodeConstraint
  Code patterns found may be checked using an additional user-defined constraint object whether they really match the needed criterion.
  JavaWrapper
  Java interpreter replacement, that is, 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.
  Repository
  Abstract definition of a class repository.
  SyntheticRepository
  This repository is used in situations where a Class is created outside the realm of a ClassLoader.