[java, compilation-charts] fix a plugin declaration

GitOrigin-RevId: 27dc7a4d0d3ef876f34a9c5e2ae98483206a2acf
This commit is contained in:
Aleksey Dobrynin
2024-06-12 11:53:58 +03:00
committed by intellij-monorepo-bot
parent aa8ff221c9
commit 10af325fc7
8 changed files with 52 additions and 3 deletions

View File

@@ -1,5 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<module relativePaths="true" type="JAVA_MODULE" version="4">
<component name="FacetManager">
<facet type="kotlin-language" name="Kotlin">
<configuration version="5" platform="JVM 11" allPlatforms="JVM [11]" useProjectSettings="false">
<compilerSettings>
<option name="additionalArguments" value="-Xjvm-default=all -opt-in=com.intellij.openapi.util.IntellijInternalApi" />
</compilerSettings>
<compilerArguments>
<stringArguments>
<stringArg name="jvmTarget" arg="11" />
<stringArg name="apiVersion" arg="1.9" />
<stringArg name="languageVersion" arg="1.9" />
</stringArguments>
</compilerArguments>
</configuration>
</facet>
</component>
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_11" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">

View File

@@ -0,0 +1 @@
compilation.charts.jps.registered=Compilation charts plugin registered

View File

@@ -1,6 +1,7 @@
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.java.compiler.charts.jps;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.openapi.util.NlsSafe;
import com.intellij.openapi.util.text.StringUtil;
import com.intellij.util.concurrency.AppExecutorUtil;
@@ -30,11 +31,14 @@ public class ChartsBuilderService extends BuilderService {
}
private static class ChartsModuleLevelBuilder extends ModuleLevelBuilder {
private static final Logger LOG = Logger.getInstance(ChartsModuleLevelBuilder.class);
private ScheduledFuture<?> myStatisticsReporter = null;
private Runnable myStatisticsRunnable = null;
protected ChartsModuleLevelBuilder() {
super(BuilderCategory.TRANSLATOR);
LOG.debug(CompilationChartsJpsBundle.message("compilation.charts.jps.registered"));
}
@Override

View File

@@ -0,0 +1,28 @@
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.java.compiler.charts.jps;
import org.jetbrains.annotations.Nls;
import org.jetbrains.annotations.NonNls;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.PropertyKey;
import org.jetbrains.jps.api.JpsDynamicBundle;
import java.util.function.Supplier;
public final class CompilationChartsJpsBundle {
private static final @NonNls String BUNDLE = "messages.CompilationChartsJpsBundle";
private static final JpsDynamicBundle INSTANCE = new JpsDynamicBundle(CompilationChartsJpsBundle.class, BUNDLE);
private CompilationChartsJpsBundle() {
}
public static @Nls @NotNull String message(@PropertyKey(resourceBundle = BUNDLE) @NotNull String key, Object @NotNull ... params) {
return INSTANCE.getMessage(key, params);
}
public
static @NotNull Supplier<@Nls @NotNull String> messagePointer(@PropertyKey(resourceBundle = BUNDLE) @NotNull String key,
Object @NotNull ... params) {
return INSTANCE.getLazyMessage(key, params);
}
}

View File

@@ -25,7 +25,7 @@
<orderEntry type="module" module-name="intellij.xml.dom.impl" />
<orderEntry type="module" module-name="intellij.platform.icons" />
<orderEntry type="module" module-name="intellij.java.psi.impl" exported="" />
<orderEntry type="module" module-name="intellij.java.compiler.charts.jps"/>
<orderEntry type="module" module-name="intellij.java.compiler.charts.jps" />
<orderEntry type="module" module-name="intellij.java.frontback.impl" exported="" />
<orderEntry type="module" module-name="intellij.regexp" />
<orderEntry type="module" module-name="intellij.java.indexing.impl" exported="" />

View File

@@ -8,7 +8,7 @@
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="module" module-name="intellij.java.compiler.impl" scope="RUNTIME" />
<orderEntry type="module" module-name="intellij.java.compiler.charts"/>
<orderEntry type="module" module-name="intellij.java.compiler.charts" />
<orderEntry type="module" module-name="intellij.java.debugger.impl" scope="RUNTIME" />
<orderEntry type="module" module-name="intellij.xml.dom.impl" scope="RUNTIME" />
<orderEntry type="module" module-name="intellij.java.debugger.memory.agent" scope="RUNTIME" />

View File

@@ -57,7 +57,6 @@ object JavaPluginLayout {
spec.withModules(listOf(
"intellij.java.compiler.impl",
//"intellij.java.compiler.charts.jps",
"intellij.java.debugger.impl",
"intellij.java.debugger.memory.agent",
"intellij.java.execution.impl",

View File

@@ -8507,6 +8507,7 @@ c:com.intellij.ui.components.JBViewport
- <init>():V
- p:computeBlit(I,I,java.awt.Point,java.awt.Point,java.awt.Dimension,java.awt.Rectangle):Z
- p:createLayoutManager():java.awt.LayoutManager
- p:createZooming():com.intellij.ui.components.ZoomingDelegate
- getBackground():java.awt.Color
- p:getComponentGraphics(java.awt.Graphics):java.awt.Graphics
- getMagnificator():com.intellij.ui.components.Magnificator