Package com.ibm.wala.shrikeBT.shrikeCT
Class CTUtils
- java.lang.Object
-
- com.ibm.wala.shrikeBT.shrikeCT.CTUtils
-
public class CTUtils extends Object
This is a dumping ground for useful functions that manipulate class info.
-
-
Constructor Summary
Constructors Constructor Description CTUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
addClassToHierarchy(ClassHierarchyStore store, ClassReader cr)
static void
compileAndAddMethodToClassWriter(MethodData md, ClassWriter classWriter, ClassWriter.Element rawLines)
Compile and add a method to aClassWriter
.
-
-
-
Method Detail
-
addClassToHierarchy
public static void addClassToHierarchy(ClassHierarchyStore store, ClassReader cr) throws InvalidClassFileException, IllegalArgumentException
-
compileAndAddMethodToClassWriter
public static void compileAndAddMethodToClassWriter(MethodData md, ClassWriter classWriter, ClassWriter.Element rawLines)
Compile and add a method to aClassWriter
.- Parameters:
md
- the method dataclassWriter
- the target class writerrawLines
- line number information if available, otherwisenull
-
-