Search in sources :

Example 1 with DownloadJdk8Hyperlink

use of com.android.tools.idea.gradle.project.sync.hyperlink.DownloadJdk8Hyperlink in project android by JetBrains.

the class Jdks method getWrongJdkQuickFixes.

@NotNull
public List<NotificationHyperlink> getWrongJdkQuickFixes(@NotNull Project project) {
    List<NotificationHyperlink> quickFixes = Lists.newArrayList();
    NotificationHyperlink useEmbeddedJdkHyperlink = UseEmbeddedJdkHyperlink.create();
    if (useEmbeddedJdkHyperlink != null) {
        quickFixes.add(useEmbeddedJdkHyperlink);
    }
    quickFixes.add(new DownloadJdk8Hyperlink());
    NotificationHyperlink selectJdkHyperlink = SelectJdkFromFileSystemHyperlink.create(project);
    if (selectJdkHyperlink != null) {
        quickFixes.add(selectJdkHyperlink);
    }
    return quickFixes;
}
Also used : DownloadJdk8Hyperlink(com.android.tools.idea.gradle.project.sync.hyperlink.DownloadJdk8Hyperlink) NotificationHyperlink(com.android.tools.idea.gradle.project.sync.hyperlink.NotificationHyperlink) NotNull(org.jetbrains.annotations.NotNull)

Aggregations

DownloadJdk8Hyperlink (com.android.tools.idea.gradle.project.sync.hyperlink.DownloadJdk8Hyperlink)1 NotificationHyperlink (com.android.tools.idea.gradle.project.sync.hyperlink.NotificationHyperlink)1 NotNull (org.jetbrains.annotations.NotNull)1