nav/editor/lint_baseline.xml (1,663 lines of code) (raw):

<?xml version="1.0" encoding="UTF-8"?> <issues format="6" by="lint 8.11.0-dev" type="baseline" client="" dependencies="true" name="" variant="all" version="8.11.0-dev"> <issue id="JbUiStored" message="Do not store `JBUI.scale` scaled results in fields; this will not work correctly on dynamic theme or font size changes" errorLine1="@SwingCoordinate private val FONT_SIZE = JBUI.scale(13)" errorLine2=" ~~~~~"> <location file="src/com/android/tools/idea/naveditor/scene/draw/DrawEmptyDesigner.kt" line="30" column="47"/> </issue> <issue id="JbUiStored" message="Do not store `JBUI.scale` scaled results in fields; this will not work correctly on dynamic theme or font size changes" errorLine1="@SwingCoordinate private val VERTICAL_OFFSET = JBUI.scale(3)" errorLine2=" ~~~~~"> <location file="src/com/android/tools/idea/naveditor/scene/draw/DrawEmptyDesigner.kt" line="31" column="53"/> </issue> <issue id="JbUiStored" message="Do not store `JBUI.scale` scaled results in fields; this will not work correctly on dynamic theme or font size changes" errorLine1="@NavCoordinate private val TEXT_PADDING = JBUI.scale(4)" errorLine2=" ~~~~~"> <location file="src/com/android/tools/idea/naveditor/scene/draw/DrawNavScreen.kt" line="36" column="48"/> </issue> <issue id="JbUiStored" message="Do not store `JBUI.scale` scaled results in fields; this will not work correctly on dynamic theme or font size changes" errorLine1="@NavCoordinate private val FONT_SIZE = JBUI.scale(14)" errorLine2=" ~~~~~"> <location file="src/com/android/tools/idea/naveditor/scene/draw/DrawNavScreen.kt" line="37" column="45"/> </issue> <issue id="JbUiStored" message="Do not store `JBUI.scale` scaled results in fields; this will not work correctly on dynamic theme or font size changes" errorLine1="@NavCoordinate private val SCREEN_LONG = JBUIScale.scale(256f)" errorLine2=" ~~~~~"> <location file="src/com/android/tools/idea/naveditor/scene/NavSceneManager.kt" line="76" column="52"/> </issue> <issue id="JbUiStored" message="Do not store `JBUI.scale` scaled results in fields; this will not work correctly on dynamic theme or font size changes" errorLine1="@NavCoordinate val SUBNAV_WIDTH = JBUIScale.scale(140)" errorLine2=" ~~~~~"> <location file="src/com/android/tools/idea/naveditor/scene/NavSceneManager.kt" line="78" column="45"/> </issue> <issue id="JbUiStored" message="Do not store `JBUI.scale` scaled results in fields; this will not work correctly on dynamic theme or font size changes" errorLine1="@NavCoordinate val SUBNAV_HEIGHT = JBUIScale.scale(38)" errorLine2=" ~~~~~"> <location file="src/com/android/tools/idea/naveditor/scene/NavSceneManager.kt" line="79" column="46"/> </issue> <issue id="JbUiStored" message="Do not store `JBUI.scale` scaled results in fields; this will not work correctly on dynamic theme or font size changes" errorLine1="@SwingCoordinate private val PAN_LIMIT = JBUIScale.scale(150)" errorLine2=" ~~~~~"> <location file="src/com/android/tools/idea/naveditor/scene/NavSceneManager.kt" line="81" column="52"/> </issue> <issue id="JbUiStored" message="Do not store `JBUI.scale` scaled results in fields; this will not work correctly on dynamic theme or font size changes" errorLine1="@NavCoordinate private val BOUNDING_BOX_PADDING = JBUIScale.scale(100)" errorLine2=" ~~~~~"> <location file="src/com/android/tools/idea/naveditor/scene/NavSceneManager.kt" line="82" column="61"/> </issue> <issue id="JbUiStored" message="Do not store `JBUI.scale` scaled results in fields; this will not work correctly on dynamic theme or font size changes" errorLine1="@SwingCoordinate private val INITIAL_OFFSET = JBUI.scale(40)" errorLine2=" ~~~~~"> <location file="src/com/android/tools/idea/naveditor/scene/layout/NewDestinationLayoutAlgorithm.kt" line="27" column="52"/> </issue> <issue id="JbUiStored" message="Do not store `JBUI.scale` scaled results in fields; this will not work correctly on dynamic theme or font size changes" errorLine1="@SwingCoordinate private val INCREMENTAL_OFFSET = JBUI.scale(30)" errorLine2=" ~~~~~"> <location file="src/com/android/tools/idea/naveditor/scene/layout/NewDestinationLayoutAlgorithm.kt" line="28" column="56"/> </issue> <issue id="JbUiStored" message="Do not store `JBUI.scale` scaled results in fields; this will not work correctly on dynamic theme or font size changes" errorLine1="@SwingCoordinate private val TOLERANCE = JBUI.scale(5)" errorLine2=" ~~~~~"> <location file="src/com/android/tools/idea/naveditor/scene/layout/NewDestinationLayoutAlgorithm.kt" line="29" column="47"/> </issue> <issue id="VisibleForTests" message="This declaration implicitly references AddActionDialogUI, which should only be accessed from tests or within private scope" errorLine1=" @VisibleForTesting val dialog = AddActionDialogUI()" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="116" column="3"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" get() = dialog.myIdTextField.text" errorLine2=" ~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="120" column="20"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" get() = dialog.myFromComboBox.selectedItem as NlComponent" errorLine2=" ~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="124" column="20"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" val item = dialog.myDestinationComboBox.selectedItem as DestinationListEntry?" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="129" column="25"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" get() = (dialog.myEnterComboBox.selectedItem as ValueWithDisplayString?)?.value" errorLine2=" ~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="135" column="21"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" get() = (dialog.myExitComboBox.selectedItem as ValueWithDisplayString?)?.value" errorLine2=" ~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="139" column="21"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" get() = (dialog.myPopToComboBox.selectedItem as? DestinationListEntry)?.component?.id" errorLine2=" ~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="143" column="21"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" get() = dialog.myInclusiveCheckBox.isSelected" errorLine2=" ~~~~~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="147" column="20"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" get() = (dialog.myPopEnterComboBox.selectedItem as ValueWithDisplayString?)?.value" errorLine2=" ~~~~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="151" column="21"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" get() = (dialog.myPopExitComboBox.selectedItem as ValueWithDisplayString?)?.value" errorLine2=" ~~~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="155" column="21"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" get() = dialog.mySingleTopCheckBox.isSelected" errorLine2=" ~~~~~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="159" column="20"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialog.myFromComboBox.addItem(parent)" errorLine2=" ~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="171" column="12"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" generatedId = dialog.myIdTextField.text" errorLine2=" ~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="178" column="28"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" if (dialog.myIdTextField.text == generatedId) {" errorLine2=" ~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="193" column="18"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialog.myIdTextField.text = generatedId" errorLine2=" ~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="195" column="16"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialog.myIdTextField.emptyText.text = &quot;&quot;" errorLine2=" ~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="197" column="16"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialog.myDestinationComboBox.addItemListener(idUpdater)" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="200" column="12"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialog.myPopToComboBox.addItemListener(idUpdater)" errorLine2=" ~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="201" column="12"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialog.myInclusiveCheckBox.addItemListener(idUpdater)" errorLine2=" ~~~~~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="202" column="12"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialog.myIdTextField.emptyText.text = &quot;generated&quot;" errorLine2=" ~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="204" column="12"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialog.myFromComboBox.addItem(sourceNav)" errorLine2=" ~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="214" column="14"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialog.myFromComboBox.selectedIndex = dialog.myFromComboBox.itemCount - 1" errorLine2=" ~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="215" column="14"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialog.myFromComboBox.selectedIndex = dialog.myFromComboBox.itemCount - 1" errorLine2=" ~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="215" column="52"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialog.myFromComboBox.selectedIndex = dialog.myFromComboBox.itemCount - 1" errorLine2=" ~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="215" column="52"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" selectItem(dialog.myDestinationComboBox, { it.component }, parent)" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="216" column="25"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" selectItem(dialog.myPopToComboBox, { it.component }, parent)" errorLine2=" ~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="218" column="25"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialog.myInclusiveCheckBox.isSelected = true" errorLine2=" ~~~~~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="219" column="14"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" selectItem(dialog.myDestinationComboBox, { entry -> entry.isReturnToSource }, true)" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="220" column="25"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialog.myIdTextField.text = generateActionId(source, destination?.id, popTo, isInclusive)" errorLine2=" ~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="222" column="12"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialog.myDestinationComboBox.addItem(null)" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="228" column="12"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialog.myDestinationComboBox.addItem(RETURN_TO_SOURCE)" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="229" column="12"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialog.myDestinationComboBox.addItem(SEPARATOR)" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="230" column="12"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" populateComboBox(dialog.myDestinationComboBox, { true })" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="232" column="29"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialog.myPopToComboBox.addItem(null)" errorLine2=" ~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="236" column="12"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" populateComboBox(dialog.myPopToComboBox, { it.isFragment || it.isNavigation })" errorLine2=" ~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="238" column="29"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialog.myEnterComboBox.isEnabled = enable" errorLine2=" ~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="242" column="12"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialog.myExitComboBox.isEnabled = enable" errorLine2=" ~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="243" column="12"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialog.myPopEnterComboBox.isEnabled = enable" errorLine2=" ~~~~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="244" column="12"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialog.myPopExitComboBox.isEnabled = enable" errorLine2=" ~~~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="245" column="12"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialog.myFromComboBox.addItem(existingAction.parent)" errorLine2=" ~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="270" column="12"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialog.myFromComboBox.addItem(existingAction.parent)" errorLine2=" ~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="273" column="14"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" selectItem(dialog.myDestinationComboBox, { it.isReturnToSource }, true)" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="281" column="25"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialog.myDestinationComboBox," errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="284" column="16"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialog.myPopToComboBox," errorLine2=" ~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="293" column="14"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialog.myInclusiveCheckBox.isSelected = existingAction.inclusive == true" errorLine2=" ~~~~~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="299" column="12"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" selectItem(dialog.myEnterComboBox, { it.value }, ATTR_ENTER_ANIM, AUTO_URI, existingAction)" errorLine2=" ~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="300" column="23"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" selectItem(dialog.myExitComboBox, { it.value }, ATTR_EXIT_ANIM, AUTO_URI, existingAction)" errorLine2=" ~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="301" column="23"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialog.myPopEnterComboBox," errorLine2=" ~~~~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="303" column="14"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" selectItem(dialog.myPopExitComboBox, { it.value }, ATTR_POP_EXIT_ANIM, AUTO_URI, existingAction)" errorLine2=" ~~~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="309" column="23"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" (dialog.myDestinationComboBox.selectedItem as? DestinationListEntry)?.component" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="312" column="15"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" ?: (dialog.myPopToComboBox.selectedItem as? DestinationListEntry)?.component" errorLine2=" ~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="313" column="20"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialog.mySingleTopCheckBox.isSelected = existingAction.singleTop == true" errorLine2=" ~~~~~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="317" column="12"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialog.myIdTextField.text = existingAction.id" errorLine2=" ~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="318" column="12"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialog.myIdTextField.isEnabled = false" errorLine2=" ~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="319" column="12"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialog.myFromComboBox.renderer = sourceRenderer" errorLine2=" ~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="381" column="12"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialog.myFromComboBox.isEnabled = false" errorLine2=" ~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="382" column="12"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialog.myDestinationComboBox.renderer = destinationRenderer" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="414" column="12"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialog.myEnterComboBox.removeAllItems()" errorLine2=" ~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="418" column="14"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialog.myExitComboBox.removeAllItems()" errorLine2=" ~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="419" column="14"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialog.myEnterComboBox.addItem(ValueWithDisplayString(&quot;None&quot;, null))" errorLine2=" ~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="420" column="14"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialog.myExitComboBox.addItem(ValueWithDisplayString(&quot;None&quot;, null))" errorLine2=" ~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="421" column="14"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialog.myPopEnterComboBox.removeAllItems()" errorLine2=" ~~~~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="423" column="14"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialog.myPopExitComboBox.removeAllItems()" errorLine2=" ~~~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="424" column="14"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialog.myPopEnterComboBox.addItem(ValueWithDisplayString(&quot;None&quot;, null))" errorLine2=" ~~~~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="425" column="14"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialog.myPopExitComboBox.addItem(ValueWithDisplayString(&quot;None&quot;, null))" errorLine2=" ~~~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="426" column="14"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" (dialog.myDestinationComboBox.selectedItem as? DestinationListEntry)?.component" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="429" column="17"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" ?: (dialog.myPopToComboBox.selectedItem as? DestinationListEntry)?.component" errorLine2=" ~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="430" column="22"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialog.myEnterComboBox.addItem(item)" errorLine2=" ~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="438" column="18"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialog.myExitComboBox.addItem(item)" errorLine2=" ~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="439" column="18"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialog.myPopEnterComboBox.addItem(item)" errorLine2=" ~~~~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="440" column="18"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialog.myPopExitComboBox.addItem(item)" errorLine2=" ~~~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="441" column="18"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialog.myDestinationComboBox.addActionListener(destinationListener)" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="446" column="12"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialog.myPopToComboBox.addActionListener(destinationListener)" errorLine2=" ~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="447" column="12"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialog.myDestinationComboBox.addActionListener {" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="449" column="12"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" val item = dialog.myDestinationComboBox.selectedItem as? DestinationListEntry" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="450" column="25"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" previousPopTo = dialog.myPopToComboBox.selectedItem as DestinationListEntry?" errorLine2=" ~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="452" column="32"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" previousInclusive = dialog.myInclusiveCheckBox.isSelected" errorLine2=" ~~~~~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="453" column="36"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" selectItem(dialog.myPopToComboBox, { it.component }, parent)" errorLine2=" ~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="454" column="27"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialog.myPopToComboBox.isEnabled = false" errorLine2=" ~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="455" column="16"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialog.myInclusiveCheckBox.isSelected = true" errorLine2=" ~~~~~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="456" column="16"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialog.myInclusiveCheckBox.isEnabled = false" errorLine2=" ~~~~~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="457" column="16"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" if (!dialog.myPopToComboBox.isEnabled) {" errorLine2=" ~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="459" column="21"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" selectItem(dialog.myPopToComboBox, { it }, previousPopTo)" errorLine2=" ~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="460" column="29"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialog.myPopToComboBox.selectedItem = previousPopTo" errorLine2=" ~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="461" column="18"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialog.myInclusiveCheckBox.isSelected = previousInclusive" errorLine2=" ~~~~~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="462" column="18"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialog.myPopToComboBox.isEnabled = true" errorLine2=" ~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="463" column="18"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialog.myInclusiveCheckBox.isEnabled = true" errorLine2=" ~~~~~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="464" column="18"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialog.myPopToComboBox.addActionListener {" errorLine2=" ~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="469" column="12"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" val popUpTo = dialog.myPopToComboBox.selectedItem" errorLine2=" ~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="470" column="28"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" val destination = dialog.myDestinationComboBox.selectedItem as? DestinationListEntry" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="471" column="32"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialog.myInclusiveCheckBox.isEnabled =" errorLine2=" ~~~~~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="473" column="14"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialog.myInclusiveCheckBox.isSelected = false" errorLine2=" ~~~~~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="476" column="16"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialog.myEnterComboBox.addItem(ValueWithDisplayString(&quot;None&quot;, null))" errorLine2=" ~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="480" column="12"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialog.myExitComboBox.addItem(ValueWithDisplayString(&quot;None&quot;, null))" errorLine2=" ~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="481" column="12"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialog.myPopEnterComboBox.addItem(ValueWithDisplayString(&quot;None&quot;, null))" errorLine2=" ~~~~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="482" column="12"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialog.myPopExitComboBox.addItem(ValueWithDisplayString(&quot;None&quot;, null))" errorLine2=" ~~~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="483" column="12"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialog.myPopToComboBox.renderer = destinationRenderer" errorLine2=" ~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="486" column="12"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" ValidationInfo(&quot;Destination must be set!&quot;, dialog.myDestinationComboBox)" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="491" column="57"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" ValidationInfo(&quot;ID must be set!&quot;, dialog.myIdTextField)" errorLine2=" ~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="493" column="48"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" ValidationInfo(&quot;Destination has no ID&quot;, dialog.myDestinationComboBox)" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="495" column="54"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" } else if (dialog.myPopToComboBox.selectedItem != null &amp;&amp; popTo == null) {" errorLine2=" ~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="496" column="23"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" ValidationInfo(&quot;Pop To destination has no ID&quot;, dialog.myDestinationComboBox)" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="499" column="61"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" return dialog.myContentPanel" errorLine2=" ~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddActionDialog.kt" line="508" column="19"/> </issue> <issue id="VisibleForTests" message="This declaration implicitly references AddArgumentDialogUI, which should only be accessed from tests or within private scope" errorLine1=" @VisibleForTesting val dialogUI = AddArgumentDialogUI()" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddArgumentDialog.kt" line="73" column="3"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialogUI.myDefaultValueComboBox.selectedItem as String?" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddArgumentDialog.kt" line="83" column="18"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialogUI.myDefaultValueTextField.text" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddArgumentDialog.kt" line="85" column="18"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialogUI.myDefaultValueComboBox.setSelectedItem(defaultValue)" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddArgumentDialog.kt" line="89" column="18"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialogUI.myDefaultValueTextField.text = defaultValue" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddArgumentDialog.kt" line="91" column="18"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" get() = dialogUI.myArrayCheckBox.isSelected" errorLine2=" ~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddArgumentDialog.kt" line="96" column="22"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialogUI.myArrayCheckBox.isSelected = array" errorLine2=" ~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddArgumentDialog.kt" line="98" column="16"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" get() = dialogUI.myNullableCheckBox.isSelected" errorLine2=" ~~~~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddArgumentDialog.kt" line="103" column="22"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialogUI.myNullableCheckBox.isSelected = nullable" errorLine2=" ~~~~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddArgumentDialog.kt" line="105" column="16"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" get() = dialogUI.myNameTextField.text" errorLine2=" ~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddArgumentDialog.kt" line="111" column="22"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialogUI.myNameTextField.text = name" errorLine2=" ~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddArgumentDialog.kt" line="113" column="16"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" Type.values().forEach { dialogUI.myTypeComboBox.addItem(it) }" errorLine2=" ~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddArgumentDialog.kt" line="152" column="38"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialogUI.myTypeComboBox.setRenderer(" errorLine2=" ~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddArgumentDialog.kt" line="154" column="14"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialogUI.myTypeComboBox.isEditable = false" errorLine2=" ~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddArgumentDialog.kt" line="174" column="14"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialogUI.myDefaultValueComboBox.model = defaultValueComboModel" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddArgumentDialog.kt" line="176" column="14"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialogUI.myTypeComboBox.setSelectedItem(Type.INFERRED)" errorLine2=" ~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddArgumentDialog.kt" line="185" column="18"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialogUI.myTypeComboBox.selectedItem = selectedType" errorLine2=" ~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddArgumentDialog.kt" line="195" column="22"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialogUI.myTypeComboBox.selectedItem = selectedType" errorLine2=" ~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddArgumentDialog.kt" line="210" column="20"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" (dialogUI.myDefaultValuePanel.layout as CardLayout).show(" errorLine2=" ~~~~~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddArgumentDialog.kt" line="219" column="17"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialogUI.myDefaultValuePanel," errorLine2=" ~~~~~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddArgumentDialog.kt" line="220" column="18"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialogUI.myTypeComboBox.addActionListener { event ->" errorLine2=" ~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddArgumentDialog.kt" line="227" column="14"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialogUI.myDefaultValueComboBox.renderer =" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddArgumentDialog.kt" line="233" column="14"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialogUI.myArrayCheckBox.addActionListener { event ->" errorLine2=" ~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddArgumentDialog.kt" line="246" column="14"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialogUI.myNullableCheckBox.addActionListener { event -> updateUi() }" errorLine2=" ~~~~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddArgumentDialog.kt" line="251" column="14"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" val selectedItem = dialogUI.myTypeComboBox.selectedItem as? Type" errorLine2=" ~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddArgumentDialog.kt" line="258" column="33"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" when (dialogUI.myTypeComboBox.selectedItem) {" errorLine2=" ~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddArgumentDialog.kt" line="263" column="26"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialogUI.myTypeComboBox.setSelectedItem(selectedType)" errorLine2=" ~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddArgumentDialog.kt" line="288" column="20"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialogUI.myNullableCheckBox.isEnabled = nullable" errorLine2=" ~~~~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddArgumentDialog.kt" line="300" column="14"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialogUI.myNullableLabel.isEnabled = nullable" errorLine2=" ~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddArgumentDialog.kt" line="301" column="14"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialogUI.myNullableCheckBox.isSelected = false" errorLine2=" ~~~~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddArgumentDialog.kt" line="303" column="16"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialogUI.myArrayCheckBox.isEnabled = supportsArray" errorLine2=" ~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddArgumentDialog.kt" line="306" column="14"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialogUI.myArrayLabel.isEnabled = supportsArray" errorLine2=" ~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddArgumentDialog.kt" line="307" column="14"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialogUI.myArrayCheckBox.isSelected = false" errorLine2=" ~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddArgumentDialog.kt" line="309" column="16"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" (dialogUI.myDefaultValuePanel.layout as CardLayout).show(" errorLine2=" ~~~~~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddArgumentDialog.kt" line="314" column="19"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialogUI.myDefaultValuePanel," errorLine2=" ~~~~~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddArgumentDialog.kt" line="315" column="20"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" (dialogUI.myDefaultValuePanel.layout as CardLayout).show(" errorLine2=" ~~~~~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddArgumentDialog.kt" line="321" column="19"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialogUI.myDefaultValuePanel," errorLine2=" ~~~~~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddArgumentDialog.kt" line="322" column="20"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" (dialogUI.myDefaultValuePanel.layout as CardLayout).show(" errorLine2=" ~~~~~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddArgumentDialog.kt" line="336" column="19"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialogUI.myDefaultValuePanel," errorLine2=" ~~~~~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddArgumentDialog.kt" line="337" column="20"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialogUI.myDefaultValueTextField.text = &quot;&quot;" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddArgumentDialog.kt" line="345" column="18"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" (dialogUI.myDefaultValuePanel.layout as CardLayout).show(" errorLine2=" ~~~~~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddArgumentDialog.kt" line="346" column="19"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialogUI.myDefaultValuePanel," errorLine2=" ~~~~~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddArgumentDialog.kt" line="347" column="20"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialogUI.myDefaultValueComboBox.isEnabled = defaultValueComboModel.size != 1" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddArgumentDialog.kt" line="352" column="14"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialogUI.myContentPanel.minimumSize = Dimension(320, 200)" errorLine2=" ~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddArgumentDialog.kt" line="356" column="14"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" return dialogUI.myContentPanel" errorLine2=" ~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddArgumentDialog.kt" line="357" column="21"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" return ValidationInfo(&quot;Name must be set&quot;, dialogUI.myNameTextField)" errorLine2=" ~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddArgumentDialog.kt" line="367" column="58"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" return ValidationInfo(&quot;Name must be unique&quot;, dialogUI.myNameTextField)" errorLine2=" ~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddArgumentDialog.kt" line="372" column="61"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" when (dialogUI.myTypeComboBox.selectedItem as Type) {" errorLine2=" ~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddArgumentDialog.kt" line="376" column="22"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" dialogUI.myTypeComboBox.selectedItem === Type.LONG &amp;&amp;" errorLine2=" ~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/dialogs/AddArgumentDialog.kt" line="446" column="20"/> </issue> <issue id="VisibleForTests" message="This declaration implicitly references NavNopTracker, which should only be accessed from tests or within private scope" errorLine1=" private val NOP_TRACKER = NavNopTracker()" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/analytics/NavUsageTracker.kt" line="36" column="5"/> </issue> <issue id="VisibleForTests" message="This method should only be accessed from tests or within private scope" errorLine1=" private val NOP_TRACKER = NavNopTracker()" errorLine2=" ~~~~~~~~~~~~~"> <location file="src/com/android/tools/idea/naveditor/analytics/NavUsageTracker.kt" line="36" column="31"/> </issue> </issues>