25
26 package com.sun.jdi.event;
27
28 import com.sun.jdi.VirtualMachine;
29
30 /**
31 * Notification of a class unload in the target VM.
32 * <p>
33 * There are severe constraints on the debugger back-end during
34 * garbage collection, so unload information is greatly limited.
35 *
36 * @see EventQueue
37 * @see VirtualMachine
38 *
39 * @author Robert Field
40 * @since 1.3
41 */
42 public interface ClassUnloadEvent extends Event {
43
44 /**
45 * Returns the name of the class that has been unloaded.
46 */
47 public String className();
48
49 /**
50 * Returns the JNI-style signature of the class that has been unloaded.
51 */
52 public String classSignature();
53 }
|
25
26 package com.sun.jdi.event;
27
28 import com.sun.jdi.VirtualMachine;
29
30 /**
31 * Notification of a class unload in the target VM.
32 * <p>
33 * There are severe constraints on the debugger back-end during
34 * garbage collection, so unload information is greatly limited.
35 *
36 * @see EventQueue
37 * @see VirtualMachine
38 *
39 * @author Robert Field
40 * @since 1.3
41 */
42 public interface ClassUnloadEvent extends Event {
43
44 /**
45 * Returns the {@linkplain com.sun.jdi.Type#name() name of the class} that has been unloaded.
46 * The returned string may not be a binary name.
47 *
48 * @see Class#getName()
49 */
50 public String className();
51
52 /**
53 * Returns the {@linkplain com.sun.jdi.Type#signature() type signature of the class} that has been unloaded.
54 * The returned string may not be a valid type descriptor.
55 *
56 * @see java.lang.invoke.TypeDescriptor#descriptorString()
57 */
58 public String classSignature();
59 }
|