public class CTUtils extends 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, IllegalArgumentException
public 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 nullCopyright © 2019. All rights reserved.