public class CTUtils
extends java.lang.Object
| Constructor and Description |
|---|
CTUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addClassToHierarchy(ClassHierarchyStore store,
ClassReader cr) |
static void |
compileAndAddMethodToClassWriter(MethodData md,
ClassWriter classWriter,
ClassWriter.Element rawLines)
Compile and add a method to a
ClassWriter. |
public static void addClassToHierarchy(ClassHierarchyStore store, ClassReader cr) throws InvalidClassFileException, java.lang.IllegalArgumentException
InvalidClassFileExceptionjava.lang.IllegalArgumentExceptionpublic static void compileAndAddMethodToClassWriter(MethodData md, ClassWriter classWriter, ClassWriter.Element rawLines)
ClassWriter.md - the method dataclassWriter - the target class writerrawLines - line number information if available, otherwise null