Annotation Type Debug.Renderer


  • @Target(TYPE)
    @Retention(CLASS)
    public static @interface Debug.Renderer
    Allows to change the presentation of an object in debuggers
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String childrenArray
      Expression 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
      java.lang.String hasChildren
      Expression to be evaluated to check if the object has any children at all.
      This should work faster than childrenArray() and return boolean.
      this refers to the class instance being presented
      java.lang.String text
      Expression to be evaluated and used as the textual representation of the object.
      this refers to the class instance being presented
    • Element Detail

      • text

        @NonNls
        java.lang.String text
        Expression to be evaluated and used as the textual representation of the object.
        this refers to the class instance being presented
        Default:
        ""
      • childrenArray

        @NonNls
        java.lang.String childrenArray
        Expression 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

        @NonNls
        java.lang.String hasChildren
        Expression to be evaluated to check if the object has any children at all.
        This should work faster than childrenArray() and return boolean.
        this refers to the class instance being presented
        Default:
        ""