private static boolean showMarker(@NotNull JvmElement declaration) {
    return declaration instanceof JvmMethod && isMainMethod((JvmMethod)declaration) ||
           declaration instanceof JvmClass && hasMainMethodInHierarchy((JvmClass)declaration);
  }
private static boolean showMarker(@NotNull JvmElement declaration)