Disable kotlin sdk annotation check
#KT-7517 Fixed
This commit is contained in:
@@ -34,11 +34,8 @@
|
|||||||
<implementation-class>org.jetbrains.kotlin.idea.ktSignature.KotlinSignatureInJavaMarkerUpdater</implementation-class>
|
<implementation-class>org.jetbrains.kotlin.idea.ktSignature.KotlinSignatureInJavaMarkerUpdater</implementation-class>
|
||||||
</component>
|
</component>
|
||||||
<component>
|
<component>
|
||||||
<implementation-class>org.jetbrains.kotlin.idea.configuration.ui.AbsentJdkAnnotationsComponent</implementation-class>
|
<implementation-class>org.jetbrains.kotlin.idea.js.KotlinJavaScriptLibraryManager</implementation-class>
|
||||||
</component>
|
</component>
|
||||||
<component>
|
|
||||||
<implementation-class>org.jetbrains.kotlin.idea.js.KotlinJavaScriptLibraryManager</implementation-class>
|
|
||||||
</component>
|
|
||||||
</project-components>
|
</project-components>
|
||||||
|
|
||||||
<application-components>
|
<application-components>
|
||||||
|
|||||||
@@ -28,6 +28,7 @@ object ConfigureKotlinNotificationManager: KotlinSingleNotificationManager<Confi
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@deprecated("Deprecated after moving to platform types")
|
||||||
object AbsentSdkAnnotationsNotificationManager: KotlinSingleNotificationManager<AbsentSdkAnnotationsNotification> {
|
object AbsentSdkAnnotationsNotificationManager: KotlinSingleNotificationManager<AbsentSdkAnnotationsNotification> {
|
||||||
fun notify(project: Project, sdks: Collection<Sdk>) {
|
fun notify(project: Project, sdks: Collection<Sdk>) {
|
||||||
notify(project, AbsentSdkAnnotationsNotification(sdks, getNotificationTitle(sdks), getNotificationString(sdks)))
|
notify(project, AbsentSdkAnnotationsNotification(sdks, getNotificationTitle(sdks), getNotificationString(sdks)))
|
||||||
|
|||||||
@@ -46,6 +46,10 @@ import java.util.List;
|
|||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
import java.util.concurrent.TimeUnit;
|
import java.util.concurrent.TimeUnit;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Deprecated after moving to platform types.
|
||||||
|
*/
|
||||||
|
@Deprecated
|
||||||
public class AbsentJdkAnnotationsComponent extends AbstractProjectComponent {
|
public class AbsentJdkAnnotationsComponent extends AbstractProjectComponent {
|
||||||
public static final String EXTERNAL_ANNOTATIONS_GROUP_ID = "Kotlin External annotations";
|
public static final String EXTERNAL_ANNOTATIONS_GROUP_ID = "Kotlin External annotations";
|
||||||
private volatile Alarm notificationAlarm;
|
private volatile Alarm notificationAlarm;
|
||||||
|
|||||||
+1
-1
@@ -20,9 +20,9 @@ import com.intellij.notification.Notification
|
|||||||
import com.intellij.notification.NotificationListener
|
import com.intellij.notification.NotificationListener
|
||||||
import com.intellij.notification.NotificationType
|
import com.intellij.notification.NotificationType
|
||||||
import com.intellij.openapi.projectRoots.Sdk
|
import com.intellij.openapi.projectRoots.Sdk
|
||||||
|
import org.jetbrains.kotlin.idea.configuration.ui.AbsentJdkAnnotationsComponent
|
||||||
import org.jetbrains.kotlin.idea.versions.KotlinRuntimeLibraryUtil
|
import org.jetbrains.kotlin.idea.versions.KotlinRuntimeLibraryUtil
|
||||||
import javax.swing.event.HyperlinkEvent
|
import javax.swing.event.HyperlinkEvent
|
||||||
import org.jetbrains.kotlin.idea.configuration.ui.AbsentJdkAnnotationsComponent
|
|
||||||
|
|
||||||
public class AbsentSdkAnnotationsNotification(sdks: Collection<Sdk>, title: String, val text: String) :
|
public class AbsentSdkAnnotationsNotification(sdks: Collection<Sdk>, title: String, val text: String) :
|
||||||
Notification(
|
Notification(
|
||||||
|
|||||||
Reference in New Issue
Block a user