# Uses of Class
org.apache.bcel.generic.ClassGen

Packages that use ClassGen
Package
Description
org.apache.bcel.generic
Generic part of the Apache Byte Code Engineering Library (BCEL), classes to dynamically modify class objects and byte code instructions.

- ## Uses of ClassGen in org.apache.bcel.generic

  Fields in org.apache.bcel.generic declared as ClassGen
  Modifier and Type
  Field
  Description
  `protected ClassGen`
  InstructionFactory.`cg`
  Deprecated.
  (since 6.0) will be made private; do not access directly, use getter/setter
  Methods in org.apache.bcel.generic that return ClassGen
  Modifier and Type
  Method
  Description
  `ClassGen`
  InstructionFactory.`getClassGen()`
  Gets the class generator.
  Methods in org.apache.bcel.generic that return types with arguments of type ClassGen
  Modifier and Type
  Method
  Description
  `static BCELComparator<ClassGen>`
  ClassGen.`getComparator()`
  Gets the comparison strategy object.
  Methods in org.apache.bcel.generic with parameters of type ClassGen
  Modifier and Type
  Method
  Description
  `void`
  ClassObserver.`notify(ClassGen clazz)`
  Notifies the observer that the ClassGen object has changed.
  `void`
  InstructionFactory.`setClassGen(ClassGen c)`
  Sets the class generator.
  Method parameters in org.apache.bcel.generic with type arguments of type ClassGen
  Modifier and Type
  Method
  Description
  `static void`
  ClassGen.`setComparator(BCELComparator<ClassGen> comparator)`
  Sets the comparison strategy object.
  Constructors in org.apache.bcel.generic with parameters of type ClassGen
  Modifier
  Constructor
  Description
  ``
  `InstructionFactory(ClassGen cg)`
  Initialize with ClassGen object.
  ``
  `InstructionFactory(ClassGen cg, ConstantPoolGen cp)`
  Constructs an InstructionFactory.