public interface DebuggeeData extends Displayable
Modifier and Type | Interface and Description |
---|---|
static class |
DebuggeeData.DataKind
The kind of DebuggeeData
|
Modifier and Type | Method and Description |
---|---|
void |
adjustRange()
Bring up the adjust range dialog.
|
boolean |
canAdjustRange()
Determine if it's possible to adjust the range of this object
|
java.lang.String |
canGotoActualType()
Determine if it's possible to go to the source file of the actual
type of this object
|
java.lang.String |
canGotoDeclaredType()
Determine if it's possible to go to the source file of the declared
type of this object
|
java.lang.String |
canGotoField()
Determine if it's possible to go to the source location of the field
IFF this object is a field
|
boolean |
canInspect()
Determine if this object can be inspected
|
boolean |
canInspectClassLoader()
Determine if the classloader of this object can be inspected
|
boolean |
canModifyValue()
Determine if it's possible to modify any values of this object
|
boolean |
canShowObjectPreferences()
Determine if it's possible to show the ObjectPreferences dialog on
this object
|
boolean |
canToggleValue()
Determine if it's possible to toggle the value of this object
|
java.lang.String |
canViewAnnotations()
Determine if it's possible to view the annotations of this object
|
boolean |
canViewAnnotationsForClass()
Determine if it's possible to view the annotations of the class of
this object
|
boolean |
canViewWholeValue()
Determine if the whole value of this object can be shown
|
boolean |
canWatch()
Determine if this object can be watched
|
boolean |
canWatchClassLoader()
Determine if the classloader of this object can be watched
|
java.lang.String |
getActualType()
Get the runtime-type of this object.
|
java.lang.String |
getAddress()
Get the address of this object, if possible
|
java.util.List<? extends DebuggeeData> |
getChildren()
Get the display children of this object.
|
java.util.List<? extends DebuggeeData> |
getDeclaredFields()
Get a list of declared fields for an object of kind OBJECT.
|
java.lang.String |
getDeclaredType()
Get the declared type of this object.
|
DebuggeeData |
getField(java.lang.String fieldName)
Get a field by name from an object of kind OBJECT.
|
java.util.List<? extends DebuggeeData> |
getFields()
Get a list of fields for an object of kind OBJECT.
|
java.lang.String |
getFullyQualifiedActualType()
Get the fully qualified runtime-type of this object.
|
java.lang.String |
getFullyQualifiedDeclaredType()
Get the fully qualified declared type of this object.
|
java.lang.String |
getHexValue()
Get the hex representation of this object, if possible
|
DebuggeeData.DataKind |
getKind()
Get the kind of this object, if possible
|
int |
getRangeCount()
Return the item count for the range that will be
displayed for array type data items
|
int |
getRangeStart()
Return the start of the range that will be returned
for array type data items.
|
void |
gotoActualType()
Attempt to go to the source file of the actual type of this object
|
void |
gotoDeclaredType()
Attempt to go to the source file of the declared type of this object
|
void |
gotoField()
Attempt to go to the source location of the field IFF this object
is a field
|
void |
inspect()
Put up an inspector for this object
|
void |
inspectClassLoader()
Put up an inspector for the classloader of this object
|
boolean |
mayHaveChildren()
Find out if this object may have display children, which doesn't imply it
actually has children, just that it may.
|
void |
modifyValue()
Show the dialog where details of this object can be modified.
|
void |
setDisplayName(java.lang.String displayName)
Set the display name of an object, which will become the name
returned by getShortLabel().
|
boolean |
setMaximumRange()
if the data item represents an array of some description, set the range to it's
maximum size.
|
boolean |
setRange(int start,
int count)
Programmatically adjust the range (contrast to
adjustRange() which brings up a dialog).
|
void |
showObjectPreferences()
Attempt to show the ObjectPreferences dialog on this object.
|
void |
toggleValue()
Toggle the value of this object, if possible.
|
void |
viewAnnotations()
View the annotations of this object in a special dialog
|
void |
viewAnnotationsForClass()
View the annotations of the class of this object in a special dialog
|
void |
viewWholeValue()
View the whole value of this object in a special dialog
|
void |
watch()
Set a watch for this object
|
void |
watchClassLoader()
Set a watch for the classloader of this object
|
getIcon, getLongLabel, getShortLabel, getToolTipText, toString
boolean mayHaveChildren()
java.util.List<? extends DebuggeeData> getChildren()
java.lang.String getActualType()
java.lang.String getFullyQualifiedActualType()
java.lang.String getDeclaredType()
java.lang.String getFullyQualifiedDeclaredType()
java.lang.String getHexValue()
java.lang.String getAddress()
DebuggeeData.DataKind getKind()
void inspect()
boolean canInspect()
void watch()
boolean canWatch()
void inspectClassLoader()
boolean canInspectClassLoader()
void watchClassLoader()
boolean canWatchClassLoader()
void viewWholeValue()
boolean canViewWholeValue()
void gotoDeclaredType()
java.lang.String canGotoDeclaredType()
void gotoActualType()
java.lang.String canGotoActualType()
void gotoField()
java.lang.String canGotoField()
void adjustRange()
boolean setRange(int start, int count)
start
- offset at which the range will begincount
- number of elements the range will contain.adjustRange()
,
getRangeStart()
,
getRangeCount()
boolean setMaximumRange()
int getRangeStart()
int getRangeCount()
boolean canAdjustRange()
void showObjectPreferences()
boolean canShowObjectPreferences()
void toggleValue()
boolean canToggleValue()
void viewAnnotations()
java.lang.String canViewAnnotations()
void viewAnnotationsForClass()
boolean canViewAnnotationsForClass()
void modifyValue()
boolean canModifyValue()
java.util.List<? extends DebuggeeData> getFields()
java.util.List<? extends DebuggeeData> getDeclaredFields()
DebuggeeData getField(java.lang.String fieldName)
fieldName
- The name of the fieldvoid setDisplayName(java.lang.String displayName)
displayName
- The new displayName of the object