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;
}
Aggregations