首页>代码>Idea插件,延长试用时间>/ide-eval-resetter-master/src/main/java/io/zhile/research/intellij/helper/Constants.java
package io.zhile.research.intellij.helper;

import com.intellij.ide.plugins.PluginManager;
import com.intellij.ide.plugins.cl.PluginClassLoader;
import com.intellij.openapi.application.ApplicationNamesInfo;
import com.intellij.openapi.application.PathManager;
import com.intellij.openapi.extensions.PluginId;

public class Constants {
    public static final PluginClassLoader CLASS_LOADER = (PluginClassLoader) Constants.class.getClassLoader();
    public static final PluginId PLUGIN_ID = CLASS_LOADER.getPluginId();
    public static final String PLUGIN_NAME = PluginManager.getPlugin(PLUGIN_ID).getName();
    public static final String PRODUCT_NAME = ApplicationNamesInfo.getInstance().getFullProductName();
    public static final String PRODUCT_HASH = Integer.toString(PathManager.getConfigPath().hashCode());
}
最近下载更多
最代码官方  LV168 2024年11月3日
最近浏览更多
夜起星河  LV8 8月15日
锦州队长  LV2 7月22日
阿凡达  LV9 7月21日
windstorm 6月30日
暂无贡献等级
YafengLiang  LV15 6月9日
酷少小新  LV2 6月7日
dongxiaoyu  LV1 5月15日
597117933  LV9 5月13日
栈道小生  LV10 4月24日
ninuxf  LV12 4月24日
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友