// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.model.presentation;

import com.intellij.model.Symbol;
import com.intellij.navigation.TargetPopupPresentation;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

/**
 * Implement this interface in the {@link Symbol} to customize its appearance.
 *
 * @see SymbolPresentationProvider
 */
public interface PresentableSymbol extends Symbol {

  @NotNull SymbolPresentation getSymbolPresentation();

  /**
   * Implement this method to customize appearance of the symbol in the popup,
   * which is shown when there are several symbols to choose from.
   * <p>
   * Be default the popup presentation is derived from the {@link #getSymbolPresentation()}
   */
  default @Nullable TargetPopupPresentation getPopupPresentation() {
    return null;
  }
}

@@ -221,140 +221,41 @@
 ort 
-com.intellij.navigation.TargetPopupPresentation;%0Aimport org.jetbrains.annotations.NotNull;%0Aimport org.jetbrains.annotations.Nullable
+org.jetbrains.annotations.NotNull
 ;%0A%0A/
@@ -431,16 +431,16 @@
 mbol %7B%0A%0A
+
   @NotNu
@@ -489,357 +489,7 @@
 n();
-%0A%0A  /**%0A   * Implement this method to customize appearance of the symbol in the popup,%0A   * which is shown when there are several symbols to choose from.%0A   * %3Cp%3E%0A   * Be default the popup presentation is derived from the %7B@link #getSymbolPresentation()%7D%0A   */%0A  default @Nullable TargetPopupPresentation getPopupPresentation() %7B%0A    return null;%0A  %7D
 %0A%7D%0A

remove `PresentableSymbol#getPopupPresentation`