public class ClassLoadingUtils
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
defineClass(java.lang.String name,
byte[] bytes,
EvaluationContext context,
DebugProcess process,
com.sun.jdi.ClassLoaderReference classLoader) |
static com.sun.jdi.ClassLoaderReference |
getClassLoader(EvaluationContext context,
DebugProcess process) |
static com.sun.jdi.ClassType |
getHelperClass(java.lang.Class<?> cls,
EvaluationContext evaluationContext)
Finds and if necessary defines helper class
May modify class loader in evaluationContext
|
public static com.sun.jdi.ClassLoaderReference getClassLoader(EvaluationContext context, DebugProcess process) throws EvaluateException
EvaluateException
public static void defineClass(java.lang.String name, byte[] bytes, EvaluationContext context, DebugProcess process, com.sun.jdi.ClassLoaderReference classLoader) throws EvaluateException
EvaluateException
public static com.sun.jdi.ClassType getHelperClass(java.lang.Class<?> cls, EvaluationContext evaluationContext) throws EvaluateException
EvaluateException