mirror of
https://github.com/tiennm99/lombok.git
synced 2026-08-13 08:22:56 +00:00
cmdreader no longer needs @Parameterized
This commit is contained in:
Binary file not shown.
@@ -45,7 +45,6 @@ import com.zwitserloot.cmdreader.CmdReader;
|
||||
import com.zwitserloot.cmdreader.Description;
|
||||
import com.zwitserloot.cmdreader.InvalidCommandLineException;
|
||||
import com.zwitserloot.cmdreader.Mandatory;
|
||||
import com.zwitserloot.cmdreader.Parameterized;
|
||||
import com.zwitserloot.cmdreader.Requires;
|
||||
import com.zwitserloot.cmdreader.Shorthand;
|
||||
|
||||
@@ -81,7 +80,6 @@ public class CreateLombokRuntimeApp implements LombokApp {
|
||||
|
||||
@Shorthand("o")
|
||||
@Description("Where to write the lombok-runtime.jar. Defaults to the current working directory.")
|
||||
@Parameterized
|
||||
@Requires("create")
|
||||
String output;
|
||||
|
||||
|
||||
@@ -44,7 +44,6 @@ import com.zwitserloot.cmdreader.Description;
|
||||
import com.zwitserloot.cmdreader.Excludes;
|
||||
import com.zwitserloot.cmdreader.InvalidCommandLineException;
|
||||
import com.zwitserloot.cmdreader.Mandatory;
|
||||
import com.zwitserloot.cmdreader.Parameterized;
|
||||
import com.zwitserloot.cmdreader.Sequential;
|
||||
import com.zwitserloot.cmdreader.Shorthand;
|
||||
|
||||
@@ -72,7 +71,6 @@ public class Delombok {
|
||||
|
||||
@Shorthand("e")
|
||||
@Description("Sets the encoding of your source files. Defaults to the system default charset. Example: \"UTF-8\"")
|
||||
@Parameterized
|
||||
private String encoding;
|
||||
|
||||
@Shorthand("p")
|
||||
@@ -82,12 +80,10 @@ public class Delombok {
|
||||
@Shorthand("d")
|
||||
@Description("Directory to save delomboked files to")
|
||||
@Mandatory(onlyIfNot={"print", "help"})
|
||||
@Parameterized
|
||||
private String target;
|
||||
|
||||
@Description("Files to delombok. Provide either a file, or a directory. If you use a directory, all files in it (recursive) are delombok-ed")
|
||||
@Sequential
|
||||
@Parameterized
|
||||
private List<String> input = new ArrayList<String>();
|
||||
|
||||
@Description("Lombok will only delombok source files. Without this option, non-java, non-class files are copied to the target directory.")
|
||||
|
||||
@@ -44,7 +44,6 @@ import org.mangosdk.spi.ProviderFor;
|
||||
import com.zwitserloot.cmdreader.CmdReader;
|
||||
import com.zwitserloot.cmdreader.Description;
|
||||
import com.zwitserloot.cmdreader.InvalidCommandLineException;
|
||||
import com.zwitserloot.cmdreader.Parameterized;
|
||||
import com.zwitserloot.cmdreader.Sequential;
|
||||
import com.zwitserloot.cmdreader.Shorthand;
|
||||
|
||||
@@ -196,7 +195,6 @@ public class Installer {
|
||||
|
||||
private static class CmdArgs {
|
||||
@Description("Specify paths to a location to install/uninstall. Use 'auto' to apply to all automatically discoverable installations.")
|
||||
@Parameterized
|
||||
@Sequential
|
||||
List<String> path = new ArrayList<String>();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user