[python] Refactor icons layout in community

Icons removed from SDK package (no need to have a separate class for it), ultimate icons moved out of community module.

There are only 3 icon packages in community:
* `PythonParserIcons`
* `PythonPsiApiIcons`
* `PythonIcons` (aka `intellij.python.community.impl`)

Latter two have `.json` mapper to replace old icons with new one for New UI which is included into corresponding `.xml` file.

GitOrigin-RevId: 0438ad4485b5a82a89c81ec63ae6e575d5bb52de
This commit is contained in:
Ilya.Kazakevich
2024-01-12 14:23:10 +01:00
committed by intellij-monorepo-bot
parent bf5cbaecdc
commit b599287e32
59 changed files with 50 additions and 534 deletions

View File

@@ -1,18 +0,0 @@
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.jetbrains.python.sdk.icons;
import com.intellij.ui.IconManager;
import org.jetbrains.annotations.NotNull;
import javax.swing.*;
/**
* NOTE THIS FILE IS AUTO-GENERATED
* DO NOT EDIT IT BY HAND, run "Generate icon classes" configuration instead
*/
public final class PythonSdkIcons {
private static @NotNull Icon load(@NotNull String path, int cacheKey, int flags) {
return IconManager.getInstance().loadRasterizedIcon(path, PythonSdkIcons.class.getClassLoader(), cacheKey, flags);
}
/** 16x16 */ public static final @NotNull Icon Python = load("icons/com/jetbrains/python/sdk/python.svg", 2008591516, 8);
}

View File

@@ -6,7 +6,6 @@
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/resources" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/tests" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/gen" isTestSource="false" generated="true" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />

View File

@@ -8,6 +8,4 @@
interface="com.jetbrains.python.sdk.configuration.PyProjectSdkConfigurationExtension"
dynamic="true"/>
</extensionPoints>
<extensions defaultExtensionNs="com.intellij">
</extensions>
</idea-plugin>

View File

@@ -1,15 +0,0 @@
<!-- Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. -->
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M7.9167 1.00011C7.33942 1.00277 6.78812 1.05146 6.30304 1.13636C4.87405 1.38606 4.6146 1.90869 4.6146 2.87252V4.14544H7.99148V4.56975H4.6146H3.34729C2.36587 4.56975 1.50652 5.15319 1.23772 6.26309C0.927672 7.53529 0.91392 8.32916 1.23772 9.65755C1.47776 10.6463 2.05101 11.3509 3.03243 11.3509H4.19348V9.82493C4.19348 8.72252 5.15785 7.75011 6.30304 7.75011H9.67598C10.6149 7.75011 11.3644 6.98549 11.3644 6.05288V2.87252C11.3644 1.96737 10.5924 1.28743 9.67598 1.13636C9.09589 1.04085 8.49398 0.997461 7.9167 1.00011ZM6.09051 2.0239C6.43932 2.0239 6.72417 2.31024 6.72417 2.66231C6.72417 3.01313 6.43932 3.29682 6.09051 3.29682C5.74045 3.29682 5.45685 3.01313 5.45685 2.66231C5.45685 2.31024 5.74045 2.0239 6.09051 2.0239Z" fill="url(#paint0_linear_1150_23815)"/>
<path d="M11.7854 4.5697V6.05283C11.7854 7.20268 10.7998 8.17048 9.67588 8.17048H6.30294C5.37904 8.17048 4.6145 8.95257 4.6145 9.86771V13.0481C4.6145 13.9532 5.41029 14.4856 6.30294 14.7453C7.37187 15.0562 8.39692 15.1124 9.67588 14.7453C10.526 14.5018 11.3643 14.0119 11.3643 13.0481V11.7751H7.99138V11.3508H11.3643H13.0528C14.0342 11.3508 14.3999 10.6738 14.7412 9.6575C15.0938 8.61127 15.0788 7.60516 14.7412 6.26304C14.4987 5.29672 14.0354 4.5697 13.0528 4.5697H11.7854ZM9.88841 12.6238C10.2385 12.6238 10.5221 12.9075 10.5221 13.2583C10.5221 13.6103 10.2385 13.8967 9.88841 13.8967C9.5396 13.8967 9.25476 13.6103 9.25476 13.2583C9.25476 12.9075 9.5396 12.6238 9.88841 12.6238Z" fill="url(#paint1_linear_1150_23815)"/>
<defs>
<linearGradient id="paint0_linear_1150_23815" x1="1" y1="1" x2="8.71457" y2="7.64655" gradientUnits="userSpaceOnUse">
<stop stop-color="#5A9FD4"/>
<stop offset="1" stop-color="#306998"/>
</linearGradient>
<linearGradient id="paint1_linear_1150_23815" x1="9.80726" y1="13.1513" x2="7.05423" y2="9.2508" gradientUnits="userSpaceOnUse">
<stop stop-color="#F4C20E"/>
<stop offset="1" stop-color="#FBDC3E"/>
</linearGradient>
</defs>
</svg>

Before

Width:  |  Height:  |  Size: 2.1 KiB

View File

@@ -1,7 +0,0 @@
<!-- Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. -->
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M6.48983 1.13677C7.02636 1.04476 7.57004 0.999004 8.11466 1.00002L8.11854 1.00004C8.69493 1.00471 9.27001 1.05462 9.83831 1.14927C10.3846 1.20957 10.893 1.45404 11.277 1.8415C11.6592 2.22707 11.9477 2.79308 11.9477 3.34128V6.28964C11.9478 6.86298 11.7202 7.41385 11.3133 7.82436C10.9063 8.23491 10.3524 8.47274 9.76965 8.48707L9.75441 8.48726H6.59961C6.2432 8.49379 5.90273 8.63409 5.64798 8.87952C5.3946 9.12364 5.24517 9.45331 5.22975 9.8016V11.3C5.22975 11.631 4.95698 11.8993 4.6205 11.8993H3.51574C2.88773 11.8993 2.3666 11.6627 1.97683 11.2638C1.60371 10.882 1.37487 10.3779 1.24477 9.85376C0.919717 8.71373 0.918415 7.50798 1.24086 6.36742C1.35923 5.78344 1.68245 5.25856 2.1545 4.88482C2.63144 4.50721 3.22913 4.30857 3.84095 4.32413H4.4093V3.3253C4.4093 2.85137 4.46916 2.32352 4.8446 1.89321C5.21181 1.47233 5.7798 1.26027 6.48837 1.13702L6.48983 1.13677ZM8.11043 2.19861C7.63761 2.19784 7.16563 2.2376 6.69983 2.31743C6.07673 2.4259 5.85691 2.57335 5.76924 2.67382C5.68978 2.7649 5.62779 2.92025 5.62779 3.3253C5.62779 3.72444 5.62779 4.12358 5.62779 4.52273C5.62779 5.07501 5.18007 5.52273 4.62779 5.52273H3.83255C3.82654 5.52273 3.82054 5.52264 3.81454 5.52247C3.48954 5.51301 3.17179 5.618 2.91851 5.81854C2.63197 6.0454 2.51677 6.33318 2.42054 6.66843C2.15114 7.60694 2.15114 8.60048 2.42054 9.53899C2.51264 9.85982 2.61418 10.1865 2.85527 10.4332C3.01991 10.6017 3.22582 10.7007 3.51574 10.7007H4.01126V9.78974C4.01126 9.78248 4.01139 9.77523 4.01166 9.76797C4.036 9.1091 4.31654 8.48455 4.79538 8.02322C5.27422 7.56189 5.91482 7.29898 6.585 7.28873L6.59446 7.28859L9.74591 7.28866C10.0083 7.2805 10.2574 7.17265 10.4408 6.98761C10.6258 6.801 10.7293 6.55065 10.7292 6.29002V3.36692C10.704 3.10789 10.5896 2.86485 10.4046 2.67824C10.194 2.46572 9.94035 2.38246 9.65164 2.33386C9.14243 2.24813 8.62702 2.2029 8.11043 2.19861Z" fill="white"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M10.7292 4.57159C10.7292 4.24061 11.0019 3.97229 11.3384 3.97229H12.565C13.2089 3.97229 13.7126 4.2299 14.0744 4.6449C14.4106 5.0305 14.604 5.5269 14.7275 6.00692C15.0925 7.15942 15.0907 8.39428 14.7221 9.54595L14.7208 9.54984C14.5615 10.036 14.3678 10.5376 14.0436 10.9147C13.6839 11.3329 13.1965 11.5634 12.565 11.5634H11.5902V12.5622C11.5902 13.2231 11.2876 13.7249 10.8697 14.0771C10.473 14.4114 9.97593 14.6111 9.53055 14.7347C8.38602 15.0892 7.15819 15.0884 6.01405 14.7322C5.13141 14.4621 4.01123 13.8361 4.01123 12.5622V11.2438C4.01123 10.9128 4.284 10.6445 4.62048 10.6445C4.95695 10.6445 5.22972 10.9128 5.22972 11.2438V12.5622C5.22972 12.9817 5.58664 13.3465 6.37715 13.5881L6.3804 13.5891C7.2888 13.8722 8.26394 13.8722 9.17234 13.5891C9.49224 13.4894 9.81727 13.3857 10.0769 13.1669C10.2682 13.0057 10.3718 12.8204 10.3718 12.5622C10.3718 12.3041 10.3718 11.8157 10.3718 11.3647C10.3718 10.8125 10.8195 10.3648 11.3718 10.3648H12.565C12.8515 10.3648 12.9937 10.2797 13.1133 10.1406C13.2681 9.96054 13.4032 9.66363 13.5604 9.18415C13.8553 8.26157 13.8551 7.27218 13.5598 6.34969C13.4565 6.0269 13.3799 5.68945 13.1495 5.4252C13.0097 5.26486 12.8391 5.17089 12.565 5.17089H11.3384C11.0019 5.17089 10.7292 4.90257 10.7292 4.57159Z" fill="white"/>
<path d="M7.6514 3.59699C7.80442 3.59511 7.95456 3.63803 8.08273 3.72029C8.2109 3.80255 8.31131 3.92043 8.37121 4.05897C8.4311 4.1975 8.44776 4.35042 8.41908 4.4983C8.3904 4.64617 8.31768 4.78232 8.21015 4.88943C8.10261 4.99655 7.96513 5.06979 7.81518 5.09986C7.66522 5.12993 7.50957 5.11546 7.36799 5.05829C7.22642 5.00113 7.10532 4.90385 7.02009 4.77881C6.93486 4.65378 6.88934 4.50664 6.88933 4.3561C6.88805 4.25687 6.90682 4.15837 6.94455 4.06632C6.98227 3.97427 7.0382 3.89051 7.1091 3.81989C7.17999 3.74928 7.26443 3.69321 7.35752 3.65495C7.45061 3.61668 7.5505 3.59698 7.6514 3.59699Z" fill="white"/>
<path d="M8.32857 11.0484C8.53325 11.0484 8.72953 11.1284 8.87426 11.2707C9.01898 11.4131 9.10029 11.6062 9.10029 11.8075C9.10029 12.0088 9.01898 12.2019 8.87426 12.3443C8.72953 12.4866 8.53325 12.5666 8.32857 12.5666C8.1239 12.5666 7.92762 12.4866 7.78289 12.3443C7.63817 12.2019 7.55686 12.0088 7.55686 11.8075C7.55686 11.6062 7.63817 11.4131 7.78289 11.2707C7.92762 11.1284 8.1239 11.0484 8.32857 11.0484Z" fill="white"/>
</svg>

Before

Width:  |  Height:  |  Size: 4.4 KiB

View File

@@ -1,6 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
<g fill="none" fill-opacity=".9" transform="translate(1 1)">
<path fill="#40A0CF" d="M6.91022782,0.0258929487 C6.37000109,0.0264652608 5.83075904,0.0719962659 5.2980847,0.162014559 C3.87043029,0.411472936 3.61125094,0.933622118 3.61125094,1.89655803 L3.61125094,3.1683132 L6.98491847,3.1683132 L6.98491847,3.5922176 L2.34509057,3.5922176 C1.32502959,3.56974186 0.436201508,4.28320156 0.237499481,5.28397479 C-0.0791784114,6.39223146 -0.0791784114,7.56702328 0.237499481,8.67527995 C0.330009274,9.60726159 1.09474199,10.3288099 2.03052265,10.3670511 L3.19043766,10.3670511 L3.19043766,8.84246671 C3.22234371,7.69765451 4.15284456,6.78248066 5.29802875,6.76959139 L8.6678079,6.76959139 C9.1164415,6.76870271 9.54631584,6.58948597 9.86271951,6.27142682 C10.1791232,5.95336768 10.3560942,5.52256395 10.3546417,5.07393182 L10.3546417,1.89655803 C10.2917932,0.983846775 9.57841181,0.250288445 8.6678079,0.162014559 C8.08672368,0.068085904 7.49884511,0.0225557014 6.91022782,0.0258929487 Z M5.08567792,1.04873523 C5.34294325,1.04759898 5.57554486,1.20159413 5.67496446,1.43887557 C5.77438406,1.67615701 5.72102999,1.949966 5.53979414,2.13255928 C5.3585583,2.31515256 5.08515505,2.37054826 4.84713837,2.27290199 C4.60912168,2.17525572 4.45339517,1.94380967 4.45261173,1.68654303 C4.45189759,1.33584511 4.73498444,1.05063797 5.08567792,1.04873523 Z"/>
<path fill="#FFC900" d="M10.7754409,5.07395919 C10.7562488,6.23123984 9.82504854,7.16601208 8.66784986,7.18963478 L5.29807071,7.18963478 C4.36858581,7.20292244 3.61967392,7.95575276 3.61123695,8.88529435 L3.61123695,12.0626542 C3.72150753,12.9461818 4.41513055,13.643434 5.29807071,13.7583137 C6.39569633,14.0976882 7.57022424,14.0976882 8.66784986,13.7583137 C9.55558536,13.6532156 10.2542196,12.950926 10.3546836,12.0626542 L10.3546836,10.7909689 L6.98493245,10.7909689 L6.98493245,10.3670645 L12.0415733,10.3670645 C13.0220629,10.3670645 13.3874457,9.6906246 13.7284071,8.67529334 C14.0745871,7.57136148 14.0745871,6.38792004 13.7284071,5.28398818 C13.674705,4.37470095 12.9506997,3.64857649 12.0415733,3.592217 L10.7754409,3.592217 L10.7754409,5.07395919 Z M8.88020069,11.6388057 C9.13781865,11.6376679 9.37066703,11.7920816 9.46986085,12.0298397 C9.56905467,12.2675977 9.51499058,12.5417128 9.33295012,12.7240026 C9.15090967,12.9062924 8.87686891,12.9607317 8.63897529,12.8618634 C8.40108167,12.7629952 8.24634933,12.5303584 8.24713449,12.2727391 C8.24694519,12.1047081 8.31355397,11.9434925 8.43229119,11.8245979 C8.55102841,11.7057033 8.71215558,11.638881 8.8801867,11.6388477 L8.88020069,11.6388057 Z"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 2.6 KiB

View File

@@ -1,7 +0,0 @@
<!-- Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. -->
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M6.48983 1.13677C7.02636 1.04476 7.57004 0.999004 8.11466 1.00002L8.11854 1.00004C8.69493 1.00471 9.27001 1.05462 9.83831 1.14927C10.3846 1.20957 10.893 1.45404 11.277 1.8415C11.6592 2.22707 11.9477 2.79308 11.9477 3.34128V6.28964C11.9478 6.86298 11.7202 7.41385 11.3133 7.82436C10.9063 8.23491 10.3524 8.47274 9.76965 8.48707L9.75441 8.48726H6.59961C6.2432 8.49379 5.90273 8.63409 5.64798 8.87952C5.3946 9.12364 5.24517 9.45331 5.22975 9.8016V11.3C5.22975 11.631 4.95698 11.8993 4.6205 11.8993H3.51574C2.88773 11.8993 2.3666 11.6627 1.97683 11.2638C1.60371 10.882 1.37487 10.3779 1.24477 9.85376C0.919717 8.71373 0.918415 7.50798 1.24086 6.36742C1.35923 5.78344 1.68245 5.25856 2.1545 4.88482C2.63144 4.50721 3.22913 4.30857 3.84095 4.32413H4.4093V3.3253C4.4093 2.85137 4.46916 2.32352 4.8446 1.89321C5.21181 1.47233 5.7798 1.26027 6.48837 1.13702L6.48983 1.13677ZM8.11043 2.19861C7.63761 2.19784 7.16563 2.2376 6.69983 2.31743C6.07673 2.4259 5.85691 2.57335 5.76924 2.67382C5.68978 2.7649 5.62779 2.92025 5.62779 3.3253C5.62779 3.72444 5.62779 4.12358 5.62779 4.52273C5.62779 5.07501 5.18007 5.52273 4.62779 5.52273H3.83255C3.82654 5.52273 3.82054 5.52264 3.81454 5.52247C3.48954 5.51301 3.17179 5.618 2.91851 5.81854C2.63197 6.0454 2.51677 6.33318 2.42054 6.66843C2.15114 7.60694 2.15114 8.60048 2.42054 9.53899C2.51264 9.85982 2.61418 10.1865 2.85527 10.4332C3.01991 10.6017 3.22582 10.7007 3.51574 10.7007H4.01126V9.78974C4.01126 9.78248 4.01139 9.77523 4.01166 9.76797C4.036 9.1091 4.31654 8.48455 4.79538 8.02322C5.27422 7.56189 5.91482 7.29898 6.585 7.28873L6.59446 7.28859L9.74591 7.28866C10.0083 7.2805 10.2574 7.17265 10.4408 6.98761C10.6258 6.801 10.7293 6.55065 10.7292 6.29002V3.36692C10.704 3.10789 10.5896 2.86485 10.4046 2.67824C10.194 2.46572 9.94035 2.38246 9.65164 2.33386C9.14243 2.24813 8.62702 2.2029 8.11043 2.19861Z" fill="white"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M10.7292 4.57159C10.7292 4.24061 11.0019 3.97229 11.3384 3.97229H12.565C13.2089 3.97229 13.7126 4.2299 14.0744 4.6449C14.4106 5.0305 14.604 5.5269 14.7275 6.00692C15.0925 7.15942 15.0907 8.39428 14.7221 9.54595L14.7208 9.54984C14.5615 10.036 14.3678 10.5376 14.0436 10.9147C13.6839 11.3329 13.1965 11.5634 12.565 11.5634H11.5902V12.5622C11.5902 13.2231 11.2876 13.7249 10.8697 14.0771C10.473 14.4114 9.97593 14.6111 9.53055 14.7347C8.38602 15.0892 7.15819 15.0884 6.01405 14.7322C5.13141 14.4621 4.01123 13.8361 4.01123 12.5622V11.2438C4.01123 10.9128 4.284 10.6445 4.62048 10.6445C4.95695 10.6445 5.22972 10.9128 5.22972 11.2438V12.5622C5.22972 12.9817 5.58664 13.3465 6.37715 13.5881L6.3804 13.5891C7.2888 13.8722 8.26394 13.8722 9.17234 13.5891C9.49224 13.4894 9.81727 13.3857 10.0769 13.1669C10.2682 13.0057 10.3718 12.8204 10.3718 12.5622C10.3718 12.3041 10.3718 11.8157 10.3718 11.3647C10.3718 10.8125 10.8195 10.3648 11.3718 10.3648H12.565C12.8515 10.3648 12.9937 10.2797 13.1133 10.1406C13.2681 9.96054 13.4032 9.66363 13.5604 9.18415C13.8553 8.26157 13.8551 7.27218 13.5598 6.34969C13.4565 6.0269 13.3799 5.68945 13.1495 5.4252C13.0097 5.26486 12.8391 5.17089 12.565 5.17089H11.3384C11.0019 5.17089 10.7292 4.90257 10.7292 4.57159Z" fill="white"/>
<path d="M7.6514 3.59699C7.80442 3.59511 7.95456 3.63803 8.08273 3.72029C8.2109 3.80255 8.31131 3.92043 8.37121 4.05897C8.4311 4.1975 8.44776 4.35042 8.41908 4.4983C8.3904 4.64617 8.31768 4.78232 8.21015 4.88943C8.10261 4.99655 7.96513 5.06979 7.81518 5.09986C7.66522 5.12993 7.50957 5.11546 7.36799 5.05829C7.22642 5.00113 7.10532 4.90385 7.02009 4.77881C6.93486 4.65378 6.88934 4.50664 6.88933 4.3561C6.88805 4.25687 6.90682 4.15837 6.94455 4.06632C6.98227 3.97427 7.0382 3.89051 7.1091 3.81989C7.17999 3.74928 7.26443 3.69321 7.35752 3.65495C7.45061 3.61668 7.5505 3.59698 7.6514 3.59699Z" fill="white"/>
<path d="M8.32857 11.0484C8.53325 11.0484 8.72953 11.1284 8.87426 11.2707C9.01898 11.4131 9.10029 11.6062 9.10029 11.8075C9.10029 12.0088 9.01898 12.2019 8.87426 12.3443C8.72953 12.4866 8.53325 12.5666 8.32857 12.5666C8.1239 12.5666 7.92762 12.4866 7.78289 12.3443C7.63817 12.2019 7.55686 12.0088 7.55686 11.8075C7.55686 11.6062 7.63817 11.4131 7.78289 11.2707C7.92762 11.1284 8.1239 11.0484 8.32857 11.0484Z" fill="white"/>
</svg>

Before

Width:  |  Height:  |  Size: 4.4 KiB

View File

@@ -23,12 +23,12 @@ import com.intellij.util.PatternUtil;
import com.intellij.util.containers.ContainerUtil;
import com.jetbrains.python.PySdkBundle;
import com.jetbrains.python.psi.LanguageLevel;
import com.jetbrains.python.psi.icons.PythonPsiApiIcons;
import com.jetbrains.python.run.CommandLinePatcher;
import com.jetbrains.python.sdk.PyRemoteSdkAdditionalDataMarker;
import com.jetbrains.python.sdk.PySdkUtil;
import com.jetbrains.python.sdk.PythonEnvUtil;
import com.jetbrains.python.sdk.PythonSdkAdditionalData;
import com.jetbrains.python.sdk.icons.PythonSdkIcons;
import org.jetbrains.annotations.Nls;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
@@ -402,7 +402,7 @@ public abstract class PythonSdkFlavor<D extends PyFlavorData> {
}
public @NotNull Icon getIcon() {
return PythonSdkIcons.Python;
return PythonPsiApiIcons.Python;
}
public void initPythonPath(@NotNull Collection<String> path, boolean passParentEnvs, @NotNull Map<String, String> env) {

View File

@@ -1,26 +0,0 @@
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package icons;
import com.intellij.ui.IconManager;
import org.jetbrains.annotations.ApiStatus;
import org.jetbrains.annotations.NotNull;
import javax.swing.*;
/**
* @deprecated moved to {@link com.jetbrains.python.sdk.icons.PythonSdkIcons}
*/
@ApiStatus.ScheduledForRemoval
@Deprecated(forRemoval = true)
public final class PythonSdkIcons {
private static @NotNull Icon load(@NotNull String path, int cacheKey, int flags) {
return IconManager.getInstance().loadRasterizedIcon(path, PythonSdkIcons.class.getClassLoader(), cacheKey, flags);
}
/**
* @deprecated moved to {@link com.jetbrains.python.sdk.icons.PythonSdkIcons}
*/
@ApiStatus.ScheduledForRemoval
@Deprecated(forRemoval = true)
public static final @NotNull Icon Python = com.jetbrains.python.sdk.icons.PythonSdkIcons.Python;
}