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

- Packages that use MethodGen
  Package | Description
  --- | ---
  org.apache.bcel.generic | This package contains the "generic" part of the Byte Code Engineering Library, i.e., classes to dynamically modify class objects and byte code instructions.
  org.apache.bcel.verifier.structurals | Provides a PassVerifier class mostly used internally by JustIce, yielding a control flow graph for public use as a nice side effect.

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

    Methods in org.apache.bcel.generic that return MethodGen
    Modifier and Type | Method and Description
    --- | ---
    `MethodGen` | MethodGen.`copy(String className, ConstantPoolGen cp)`

    Methods in org.apache.bcel.generic with parameters of type MethodGen
    Modifier and Type | Method and Description
    --- | ---
    `int` | ConstantPoolGen.`addInterfaceMethodref(MethodGen method)`
    `int` | ConstantPoolGen.`addMethodref(MethodGen method)`
    `int` | ConstantPoolGen.`lookupInterfaceMethodref(MethodGen method)`
    `int` | ConstantPoolGen.`lookupMethodref(MethodGen method)`
    `void` | MethodObserver.`notify(MethodGen method)`

  - ### Uses of MethodGen in org.apache.bcel.verifier.structurals

    Methods in org.apache.bcel.verifier.structurals with parameters of type MethodGen
    Modifier and Type | Method and Description
    --- | ---
    `void` | Pass3bVerifier.`invalidReturnTypeError(Type returnedType, MethodGen m)` Throws an exception indicating the returned type is not compatible with the return type of the given method.
    `void` | InstConstraintVisitor.`setMethodGen(MethodGen mg)` Sets the MethodGen instance needed for constraint checking prior to execution.

    Constructors in org.apache.bcel.verifier.structurals with parameters of type MethodGen
    Constructor and Description
    `ControlFlowGraph(MethodGen methodGen)` A Control Flow Graph; with additional JustIce checks
    `ControlFlowGraph(MethodGen methodGen, boolean enableJustIceCheck)` A Control Flow Graph.
    `ExceptionHandlers(MethodGen mg)` Constructor.
    `Subroutines(MethodGen mg)` Constructor.
    `Subroutines(MethodGen mg, boolean enableJustIceCheck)` Constructor.

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