All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.microsoft.java.debug.plugin.internal.PlatformSettings Maven / Gradle / Ivy

There is a newer version: 0.53.1
Show newest version
/*******************************************************************************
 * Copyright (c) 2020 Microsoft Corporation and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     Microsoft Corporation - initial API and implementation
 *******************************************************************************/

package com.microsoft.java.debug.plugin.internal;

import java.util.HashMap;
import java.util.Map;

import org.eclipse.jdt.core.JavaCore;

public class PlatformSettings {

    /**
     * Resolve the JDT platform settings.
     */
    public static Map getPlatformSettings() {
        Map result = new HashMap<>();
        result.put("latestSupportedJavaVersion", JavaCore.latestSupportedJavaVersion());
        return result;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy