@@ -0,0 +1,680 @@
+%0Apackage net.restlesscoder.sandbox;%0A%0Aimport java.util.function.Function;%0A%0Aimport org.scijava.command.Command;%0Aimport org.scijava.plugin.Parameter;%0Aimport org.scijava.plugin.Plugin;%0A%0A/** A command that uses Java-8-specific syntax. */%0A@Plugin(type = Command.class, menuPath = %22Sandbox %3E Java 8 Command%22)%0Apublic class Java8Command implements Command %7B%0A%0A%09@Parameter%0A%09private String name = System.getProperty(%22user.name%22);%0A%0A%09@Parameter%0A%09private String greeting;%0A%0A%09@Override%0A%09public void run() %7B%0A%09%09sayHello(name, t -%3E t.toUpperCase());%0A%09%7D%0A%0A%09public %3CT, R%3E void sayHello(final String n,%0A%09%09final Function%3CString, String%3E transformer)%0A%09%7B%0A%09%09greeting = %22Hello %22 + transformer.apply(n);%0A%09%7D%0A%0A%7D%0A

Add a SciJava command that uses Java 8 syntax