{% setvar book_path %}/reference/dokkatest/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

ViewDebug.CapturedViewProperty

{% setvar page_path %}dokkatest/platform/ViewDebug.CapturedViewProperty.html{% endsetvar %} {% setvar can_switch %}1{% endsetvar %} {% include "reference/_java_switcher2.md" %}

annotation ViewDebug.CapturedViewProperty


This annotation can be used to mark fields and methods to be dumped whenthe view is captured. Methods with this annotation must have no argumentsand must return a valid type of data.

Summary

Public methods

abstract @NonNull boolean

When retrieveReturn is true, we need to retrieve second level methodse.g., we need myView.getFirstLevelMethod().getSecondLevelMethod()we will set retrieveReturn = true on the annotation ofmyView.getFirstLevelMethod()

Public methods

retrieveReturn

@NonNull
public abstract boolean retrieveReturn()

When retrieveReturn is true, we need to retrieve second level methodse.g., we need myView.getFirstLevelMethod().getSecondLevelMethod()we will set retrieveReturn = true on the annotation ofmyView.getFirstLevelMethod()

Returns
boolean

true if we need the second level methods