Package org.jetbrains.annotations
Annotation Interface Debug.Renderer
- Enclosing class:
Debug
Allows changing the presentation of an object in debuggers
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionExpression to be evaluated to obtain an array of object's children.
Usually the result is an array of elements in a collection, or an array of entries in a map.
this
refers to the class instance being presentedExpression to be evaluated to check if the object has any children at all.
This should work faster thanchildrenArray()
and return boolean.
this
refers to the class instance being presentedExpression to be evaluated and used as the textual representation of the object.
this
refers to the class instance being presented
-
Element Details
-
text
@Language(value="JAVA", prefix="class Renderer{String $text(){return ", suffix=";}}") @NonNls @NonNls String textExpression to be evaluated and used as the textual representation of the object.
this
refers to the class instance being presented- Default:
""
-
childrenArray
@Language(value="JAVA", prefix="class Renderer{Object[] $childrenArray(){return ", suffix=";}}") @NonNls @NonNls String childrenArrayExpression to be evaluated to obtain an array of object's children.
Usually the result is an array of elements in a collection, or an array of entries in a map.
this
refers to the class instance being presented- Default:
""
-
hasChildren
@Language(value="JAVA", prefix="class Renderer{boolean $hasChildren(){return ", suffix=";}}") @NonNls @NonNls String hasChildrenExpression to be evaluated to check if the object has any children at all.
This should work faster thanchildrenArray()
and return boolean.
this
refers to the class instance being presented- Default:
""
-