public static @Nullable Icon getImageForType(int type) {
    return switch (type) {
      case IToken.TYPE_CLASS -> IconManager.getInstance().getPlatformIcon(PlatformIcons.Class);
      case IToken.TYPE_FUNCTION -> IconManager.getInstance().getPlatformIcon(PlatformIcons.Method);
      default -> null;
    };
  }
public static @Nullable Icon getImageForType(int type)