public class InitializationUtil
extends java.lang.Object
Constructor and Description |
---|
InitializationUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
initialize(ClassPool programClassPool,
ClassPool libraryClassPool)
Initializes the cached cross-references of the classes in the given class pools.
|
static void |
initialize(ClassPool programClassPool,
ClassPool libraryClassPool,
WarningPrinter warningPrinter)
Initializes the cached cross-references of the classes in the given class pools.
|
public static void initialize(ClassPool programClassPool, ClassPool libraryClassPool)
Note: no warnings are given when classes are missing: if you require warnings about missing
classes use initialize(ClassPool, ClassPool, WarningPrinter)
instead.
programClassPool
- the program class pool, typically with processed classes.libraryClassPool
- the library class pool, typically with run-time classes.public static void initialize(ClassPool programClassPool, ClassPool libraryClassPool, WarningPrinter warningPrinter)
programClassPool
- the program class pool, typically with processed classes.libraryClassPool
- the library class pool, typically with run-time classes.warningPrinter
- the WarningPrinter
to use for printing warnings about missing
classes.