mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-20 02:17:52 +00:00
cmdreader no longer needs @Parameterized
This commit is contained in:
1 parent
f4ddece614
commit
06e0ff4ab3
4 files changed
-8
No files matched your search
Binary file not shown.
@@ -45,7 +45,6 @@ import com.zwitserloot.cmdreader.CmdReader;
|
|||||||
import com.zwitserloot.cmdreader.Description;
|
import com.zwitserloot.cmdreader.Description;
|
||||||
import com.zwitserloot.cmdreader.InvalidCommandLineException;
|
import com.zwitserloot.cmdreader.InvalidCommandLineException;
|
||||||
import com.zwitserloot.cmdreader.Mandatory;
|
import com.zwitserloot.cmdreader.Mandatory;
|
||||||
import com.zwitserloot.cmdreader.Parameterized;
|
|
||||||
import com.zwitserloot.cmdreader.Requires;
|
import com.zwitserloot.cmdreader.Requires;
|
||||||
import com.zwitserloot.cmdreader.Shorthand;
|
import com.zwitserloot.cmdreader.Shorthand;
|
||||||
|
|
||||||
@@ -81,7 +80,6 @@ public class CreateLombokRuntimeApp implements LombokApp {
|
|||||||
|
|
||||||
@Shorthand("o")
|
@Shorthand("o")
|
||||||
@Description("Where to write the lombok-runtime.jar. Defaults to the current working directory.")
|
@Description("Where to write the lombok-runtime.jar. Defaults to the current working directory.")
|
||||||
@Parameterized
|
|
||||||
@Requires("create")
|
@Requires("create")
|
||||||
String output;
|
String output;
|
||||||
|
|
||||||
|
|||||||
@@ -44,7 +44,6 @@ import com.zwitserloot.cmdreader.Description;
|
|||||||
import com.zwitserloot.cmdreader.Excludes;
|
import com.zwitserloot.cmdreader.Excludes;
|
||||||
import com.zwitserloot.cmdreader.InvalidCommandLineException;
|
import com.zwitserloot.cmdreader.InvalidCommandLineException;
|
||||||
import com.zwitserloot.cmdreader.Mandatory;
|
import com.zwitserloot.cmdreader.Mandatory;
|
||||||
import com.zwitserloot.cmdreader.Parameterized;
|
|
||||||
import com.zwitserloot.cmdreader.Sequential;
|
import com.zwitserloot.cmdreader.Sequential;
|
||||||
import com.zwitserloot.cmdreader.Shorthand;
|
import com.zwitserloot.cmdreader.Shorthand;
|
||||||
|
|
||||||
@@ -72,7 +71,6 @@ public class Delombok {
|
|||||||
|
|
||||||
@Shorthand("e")
|
@Shorthand("e")
|
||||||
@Description("Sets the encoding of your source files. Defaults to the system default charset. Example: \"UTF-8\"")
|
@Description("Sets the encoding of your source files. Defaults to the system default charset. Example: \"UTF-8\"")
|
||||||
@Parameterized
|
|
||||||
private String encoding;
|
private String encoding;
|
||||||
|
|
||||||
@Shorthand("p")
|
@Shorthand("p")
|
||||||
@@ -82,12 +80,10 @@ public class Delombok {
|
|||||||
@Shorthand("d")
|
@Shorthand("d")
|
||||||
@Description("Directory to save delomboked files to")
|
@Description("Directory to save delomboked files to")
|
||||||
@Mandatory(onlyIfNot={"print", "help"})
|
@Mandatory(onlyIfNot={"print", "help"})
|
||||||
@Parameterized
|
|
||||||
private String target;
|
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")
|
@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
|
@Sequential
|
||||||
@Parameterized
|
|
||||||
private List<String> input = new ArrayList<String>();
|
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.")
|
@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.CmdReader;
|
||||||
import com.zwitserloot.cmdreader.Description;
|
import com.zwitserloot.cmdreader.Description;
|
||||||
import com.zwitserloot.cmdreader.InvalidCommandLineException;
|
import com.zwitserloot.cmdreader.InvalidCommandLineException;
|
||||||
import com.zwitserloot.cmdreader.Parameterized;
|
|
||||||
import com.zwitserloot.cmdreader.Sequential;
|
import com.zwitserloot.cmdreader.Sequential;
|
||||||
import com.zwitserloot.cmdreader.Shorthand;
|
import com.zwitserloot.cmdreader.Shorthand;
|
||||||
|
|
||||||
@@ -196,7 +195,6 @@ public class Installer {
|
|||||||
|
|
||||||
private static class CmdArgs {
|
private static class CmdArgs {
|
||||||
@Description("Specify paths to a location to install/uninstall. Use 'auto' to apply to all automatically discoverable installations.")
|
@Description("Specify paths to a location to install/uninstall. Use 'auto' to apply to all automatically discoverable installations.")
|
||||||
@Parameterized
|
|
||||||
@Sequential
|
@Sequential
|
||||||
List<String> path = new ArrayList<String>();
|
List<String> path = new ArrayList<String>();
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user