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

net.sourceforge.pmd.cli.commands.internal.CpdGuiCommand Maven / Gradle / Ivy

/**
 * BSD-style license; for more info see http://pmd.sourceforge.net/license.html
 */

package net.sourceforge.pmd.cli.commands.internal;

import net.sourceforge.pmd.cpd.GUI;

import picocli.CommandLine.Command;

@Command(name = "cpd-gui",
    description = "GUI for the Copy/Paste Detector%n  Warning: May not support the full CPD feature set")
public class CpdGuiCommand implements Runnable {

    @Override
    public void run() {
        new GUI();

        // wait for the process to be killed by the GUI
        try {
            Thread.currentThread().join();
        } catch (InterruptedException ignored) {
            // noop
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy