diff options
-rw-r--r-- | src/core/lombok/bytecode/PoolConstantsApp.java | 26 | ||||
-rw-r--r-- | src/core/lombok/core/Main.java | 5 |
2 files changed, 24 insertions, 7 deletions
diff --git a/src/core/lombok/bytecode/PoolConstantsApp.java b/src/core/lombok/bytecode/PoolConstantsApp.java index 59c51a37..c2120cc0 100644 --- a/src/core/lombok/bytecode/PoolConstantsApp.java +++ b/src/core/lombok/bytecode/PoolConstantsApp.java @@ -1,8 +1,28 @@ +/* + * Copyright (C) 2012 The Project Lombok Authors. + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. + */ package lombok.bytecode; import java.io.File; import java.util.ArrayList; -import java.util.Arrays; import java.util.List; import lombok.core.LombokApp; @@ -23,10 +43,6 @@ public class PoolConstantsApp extends LombokApp { return "Xprintpool"; } - @Override public List<String> getAppAliases() { - return Arrays.asList("Xprintpool"); - } - @Override public String getAppDescription() { return "Prints the content of the constant pool to standard out."; } diff --git a/src/core/lombok/core/Main.java b/src/core/lombok/core/Main.java index 408bfd4a..5121d304 100644 --- a/src/core/lombok/core/Main.java +++ b/src/core/lombok/core/Main.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2009-2010 The Project Lombok Authors. + * Copyright (C) 2009-2012 The Project Lombok Authors. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal @@ -142,12 +142,13 @@ public class Main { out.println("------------------------------"); } out.println("projectlombok.org v" + Version.getVersion()); - out.println("Copyright (C) 2009-2010 The Project Lombok Authors."); + out.println("Copyright (C) 2009-2012 The Project Lombok Authors."); out.println("Run 'lombok license' to see the lombok license agreement."); out.println(); out.println("Run lombok without any parameters to start the graphical installer."); out.println("Other available commands:"); for (LombokApp app : apps) { + if (app.isDebugTool()) continue; String[] desc = app.getAppDescription().split("\n"); for (int i = 0; i < desc.length; i++) { out.printf(" %15s %s\n", i == 0 ? app.getAppName() : "", desc[i]); |