|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kohsuke.youdebug.JDICategory
public class JDICategory
Method augmentation on top of JDI for Groovy
Constructor Summary | |
---|---|
JDICategory()
|
Method Summary | |
---|---|
static Set |
allInterfaces(com.sun.jdi.InterfaceType it)
|
static void |
delete(com.sun.jdi.request.EventRequest req)
Deletes this event request. |
static void |
dumpStackTrace(com.sun.jdi.ObjectReference exp,
Object out)
Dumps the stack trace of an exception. |
static void |
dumpThread(com.sun.jdi.ThreadReference tr,
Object out)
Dumps the current thread stack |
static com.sun.jdi.Value |
getAt(com.sun.jdi.ArrayReference a,
int index)
Index access to array. |
groovy.lang.MetaClass |
getMetaClass()
|
Object |
getProperty(String name)
|
static String |
getStatusMessage(com.sun.jdi.ThreadReference tr)
|
Object |
invokeMethod(String name,
Object args)
|
static boolean |
isAssignableFrom(com.sun.jdi.Type type,
com.sun.jdi.Type subtype)
Is the given value an instance of the given type? |
static Object |
methodMissing(com.sun.jdi.ClassType c,
String name,
Object args)
Static method invocation from ClassType . |
static Object |
methodMissing(com.sun.jdi.ObjectReference ref,
String name,
Object args)
Allow method invocation directly on the ObjectReference instance. |
static Object |
propertyMissing(com.sun.jdi.ClassType c,
String name)
Static field retrieval. |
static void |
propertyMissing(com.sun.jdi.ClassType c,
String name,
Object value)
Static field assignment. |
static Object |
propertyMissing(com.sun.jdi.ObjectReference ref,
String name)
Instance field retrieval. |
static void |
propertyMissing(com.sun.jdi.ObjectReference ref,
String name,
Object value)
Instance field assignment. |
static Object |
propertyMissing(com.sun.jdi.StackFrame frame,
String name)
Read variables visible from the stack frame |
static void |
propertyMissing(com.sun.jdi.StackFrame frame,
String name,
Object value)
Set variables visible from the stack trace |
void |
setMetaClass(groovy.lang.MetaClass metaClass)
|
void |
setProperty(String name,
Object value)
|
static String |
toString(com.sun.jdi.ObjectReference ref)
Override the default behavior of Mirror.toString() and instead call the remote
Object.toString() method. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JDICategory()
Method Detail |
---|
public static void delete(com.sun.jdi.request.EventRequest req)
public static com.sun.jdi.Value getAt(com.sun.jdi.ArrayReference a, int index)
public static void dumpStackTrace(com.sun.jdi.ObjectReference exp, Object out)
out
- Either PrintWriter
or PrintStream
.public static Object methodMissing(com.sun.jdi.ObjectReference ref, String name, Object args) throws com.sun.jdi.InvocationException, com.sun.jdi.InvalidTypeException, com.sun.jdi.ClassNotLoadedException, com.sun.jdi.IncompatibleThreadStateException
ObjectReference
instance.
com.sun.jdi.InvocationException
com.sun.jdi.InvalidTypeException
com.sun.jdi.ClassNotLoadedException
com.sun.jdi.IncompatibleThreadStateException
public static Object propertyMissing(com.sun.jdi.ObjectReference ref, String name) throws com.sun.jdi.InvocationException, com.sun.jdi.InvalidTypeException, com.sun.jdi.ClassNotLoadedException, com.sun.jdi.IncompatibleThreadStateException
com.sun.jdi.InvocationException
com.sun.jdi.InvalidTypeException
com.sun.jdi.ClassNotLoadedException
com.sun.jdi.IncompatibleThreadStateException
public static void propertyMissing(com.sun.jdi.ObjectReference ref, String name, Object value) throws com.sun.jdi.InvocationException, com.sun.jdi.InvalidTypeException, com.sun.jdi.ClassNotLoadedException, com.sun.jdi.IncompatibleThreadStateException
com.sun.jdi.InvocationException
com.sun.jdi.InvalidTypeException
com.sun.jdi.ClassNotLoadedException
com.sun.jdi.IncompatibleThreadStateException
public static boolean isAssignableFrom(com.sun.jdi.Type type, com.sun.jdi.Type subtype) throws com.sun.jdi.ClassNotLoadedException
com.sun.jdi.ClassNotLoadedException
public static Set allInterfaces(com.sun.jdi.InterfaceType it)
public static Object propertyMissing(com.sun.jdi.StackFrame frame, String name)
public static void propertyMissing(com.sun.jdi.StackFrame frame, String name, Object value)
public static Object methodMissing(com.sun.jdi.ClassType c, String name, Object args) throws com.sun.jdi.InvocationException, com.sun.jdi.InvalidTypeException, com.sun.jdi.ClassNotLoadedException, com.sun.jdi.IncompatibleThreadStateException
ClassType
.
com.sun.jdi.InvocationException
com.sun.jdi.InvalidTypeException
com.sun.jdi.ClassNotLoadedException
com.sun.jdi.IncompatibleThreadStateException
public static Object propertyMissing(com.sun.jdi.ClassType c, String name) throws com.sun.jdi.InvocationException, com.sun.jdi.InvalidTypeException, com.sun.jdi.ClassNotLoadedException, com.sun.jdi.IncompatibleThreadStateException
com.sun.jdi.InvocationException
com.sun.jdi.InvalidTypeException
com.sun.jdi.ClassNotLoadedException
com.sun.jdi.IncompatibleThreadStateException
public static void propertyMissing(com.sun.jdi.ClassType c, String name, Object value) throws com.sun.jdi.InvocationException, com.sun.jdi.InvalidTypeException, com.sun.jdi.ClassNotLoadedException, com.sun.jdi.IncompatibleThreadStateException
com.sun.jdi.InvocationException
com.sun.jdi.InvalidTypeException
com.sun.jdi.ClassNotLoadedException
com.sun.jdi.IncompatibleThreadStateException
public static String toString(com.sun.jdi.ObjectReference ref) throws com.sun.jdi.InvocationException, com.sun.jdi.InvalidTypeException, com.sun.jdi.ClassNotLoadedException, com.sun.jdi.IncompatibleThreadStateException
Mirror.toString()
and instead call the remote
Object.toString()
method.
com.sun.jdi.InvocationException
com.sun.jdi.InvalidTypeException
com.sun.jdi.ClassNotLoadedException
com.sun.jdi.IncompatibleThreadStateException
public static String getStatusMessage(com.sun.jdi.ThreadReference tr)
public static void dumpThread(com.sun.jdi.ThreadReference tr, Object out) throws com.sun.jdi.IncompatibleThreadStateException
com.sun.jdi.IncompatibleThreadStateException
public groovy.lang.MetaClass getMetaClass()
getMetaClass
in interface groovy.lang.GroovyObject
public void setMetaClass(groovy.lang.MetaClass metaClass)
setMetaClass
in interface groovy.lang.GroovyObject
public Object invokeMethod(String name, Object args)
invokeMethod
in interface groovy.lang.GroovyObject
public Object getProperty(String name)
getProperty
in interface groovy.lang.GroovyObject
public void setProperty(String name, Object value)
setProperty
in interface groovy.lang.GroovyObject
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |