APIdia Launch Partner
Top Description Methods
com.sun.jdi.event

public Interface ClassUnloadEvent

extends Event
Known Direct Implementers
com.sun.tools.jdi.EventSetImpl.ClassUnloadEventImpl
Imports
com.sun.jdi.VirtualMachine

Notification of a class unload in the target VM.

There are severe constraints on the debugger back-end during garbage collection, so unload information is greatly limited.

Author
Robert Field
Since
1.3
See Also
EventQueue, VirtualMachine

Method Summary

Modifier and TypeMethod and Description
public String
className()

Returns the name of the class that has been unloaded.

public String
classSignature()

Returns the type signature of the class that has been unloaded.

Inherited from com.sun.jdi.event.Event:
request

Method Detail

classNameback to summary
public String className()

Returns the name of the class that has been unloaded. The returned string may not be a binary name.

See Also
Class#getName()
classSignatureback to summary
public String classSignature()

Returns the type signature of the class that has been unloaded. The result is of the same form as the string returned by Class#descriptorString(). If this class can be described nominally, the returned string is a type descriptor conforming to JVMS 4.3.2; otherwise, the returned string is not a type descriptor.