Disable kotlin sdk annotation check

#KT-7517 Fixed
This commit is contained in:
Nikolay Krasko
2015-07-15 22:05:53 +03:00
parent 9366652537
commit 67492ad5dd
4 changed files with 7 additions and 5 deletions
+1 -4
View File
@@ -34,11 +34,8 @@
<implementation-class>org.jetbrains.kotlin.idea.ktSignature.KotlinSignatureInJavaMarkerUpdater</implementation-class>
</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>
<implementation-class>org.jetbrains.kotlin.idea.js.KotlinJavaScriptLibraryManager</implementation-class>
</component>
</project-components>
<application-components>
@@ -28,6 +28,7 @@ object ConfigureKotlinNotificationManager: KotlinSingleNotificationManager<Confi
}
}
@deprecated("Deprecated after moving to platform types")
object AbsentSdkAnnotationsNotificationManager: KotlinSingleNotificationManager<AbsentSdkAnnotationsNotification> {
fun notify(project: Project, sdks: Collection<Sdk>) {
notify(project, AbsentSdkAnnotationsNotification(sdks, getNotificationTitle(sdks), getNotificationString(sdks)))
@@ -46,6 +46,10 @@ import java.util.List;
import java.util.Set;
import java.util.concurrent.TimeUnit;
/**
* Deprecated after moving to platform types.
*/
@Deprecated
public class AbsentJdkAnnotationsComponent extends AbstractProjectComponent {
public static final String EXTERNAL_ANNOTATIONS_GROUP_ID = "Kotlin External annotations";
private volatile Alarm notificationAlarm;
@@ -20,9 +20,9 @@ import com.intellij.notification.Notification
import com.intellij.notification.NotificationListener
import com.intellij.notification.NotificationType
import com.intellij.openapi.projectRoots.Sdk
import org.jetbrains.kotlin.idea.configuration.ui.AbsentJdkAnnotationsComponent
import org.jetbrains.kotlin.idea.versions.KotlinRuntimeLibraryUtil
import javax.swing.event.HyperlinkEvent
import org.jetbrains.kotlin.idea.configuration.ui.AbsentJdkAnnotationsComponent
public class AbsentSdkAnnotationsNotification(sdks: Collection<Sdk>, title: String, val text: String) :
Notification(