From f6778b0426d86c8f6bc23b0e3bb7617eb7a08709 Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Wed, 8 Jul 2009 23:44:43 +0200 Subject: Renamed all true names of 'eclipse' to 'Eclipse' (but not the eclipse package, of course), and fixed a showstopper bug in the installer that would add -javaagent:lombok.jar to eclipse.ini, which is wrong of course; it needs to be lombok.eclipse.agent.jar. --- src/lombok/eclipse/Eclipse.java | 10 +++++----- src/lombok/eclipse/EclipseAST.java | 6 +++--- src/lombok/eclipse/EclipseASTVisitor.java | 4 ++-- src/lombok/eclipse/EclipseAnnotationHandler.java | 2 +- src/lombok/eclipse/HandlerLibrary.java | 8 ++++---- src/lombok/eclipse/TransformEclipseAST.java | 10 +++++----- 6 files changed, 20 insertions(+), 20 deletions(-) (limited to 'src/lombok/eclipse') diff --git a/src/lombok/eclipse/Eclipse.java b/src/lombok/eclipse/Eclipse.java index 84a65da1..7d852f18 100644 --- a/src/lombok/eclipse/Eclipse.java +++ b/src/lombok/eclipse/Eclipse.java @@ -77,28 +77,28 @@ public class Eclipse { private static final String DEFAULT_BUNDLE = "org.eclipse.jdt.core"; /** - * Generates an error in the eclipse error log. Note that most people never look at it! + * Generates an error in the Eclipse error log. Note that most people never look at it! */ public static void error(CompilationUnitDeclaration cud, String message) { error(cud, message, DEFAULT_BUNDLE, null); } /** - * Generates an error in the eclipse error log. Note that most people never look at it! + * Generates an error in the Eclipse error log. Note that most people never look at it! */ public static void error(CompilationUnitDeclaration cud, String message, Throwable error) { error(cud, message, DEFAULT_BUNDLE, error); } /** - * Generates an error in the eclipse error log. Note that most people never look at it! + * Generates an error in the Eclipse error log. Note that most people never look at it! */ public static void error(CompilationUnitDeclaration cud, String message, String bundleName) { error(cud, message, bundleName, null); } /** - * Generates an error in the eclipse error log. Note that most people never look at it! + * Generates an error in the Eclipse error log. Note that most people never look at it! */ public static void error(CompilationUnitDeclaration cud, String message, String bundleName, Throwable error) { Bundle bundle = Platform.getBundle(bundleName); @@ -114,7 +114,7 @@ public class Eclipse { } /** - * For 'speed' reasons, eclipse works a lot with char arrays. I have my doubts this was a fruitful exercise, + * For 'speed' reasons, Eclipse works a lot with char arrays. I have my doubts this was a fruitful exercise, * but we need to deal with it. This turns [[java][lang][String]] into "java.lang.String". */ static String toQualifiedName(char[][] typeName) { diff --git a/src/lombok/eclipse/EclipseAST.java b/src/lombok/eclipse/EclipseAST.java index 895f2270..b70e2db6 100644 --- a/src/lombok/eclipse/EclipseAST.java +++ b/src/lombok/eclipse/EclipseAST.java @@ -47,8 +47,8 @@ import org.eclipse.jdt.internal.compiler.problem.ProblemSeverities; import org.eclipse.jdt.internal.compiler.util.Util; /** - * Wraps around eclipse's internal AST view to add useful features as well as the ability to visit parents from children, - * something eclipse's own AST system does not offer. + * Wraps around Eclipse's internal AST view to add useful features as well as the ability to visit parents from children, + * something Eclipse own AST system does not offer. */ public class EclipseAST extends AST { /** @@ -534,7 +534,7 @@ public class EclipseAST extends AST { return putInMap(new Node(statement, childNodes, Kind.STATEMENT)); } - /** For eclipse, only Statement counts, as Expression is a subclass of it, eventhough this isn't + /** For Eclipse, only Statement counts, as Expression is a subclass of it, eventhough this isn't * entirely correct according to the JLS spec (only some expressions can be used as statements, not all of them). */ @Override protected Collection> getStatementTypes() { return Collections.>singleton(Statement.class); diff --git a/src/lombok/eclipse/EclipseASTVisitor.java b/src/lombok/eclipse/EclipseASTVisitor.java index 726d31f5..84a27e48 100644 --- a/src/lombok/eclipse/EclipseASTVisitor.java +++ b/src/lombok/eclipse/EclipseASTVisitor.java @@ -59,7 +59,7 @@ public interface EclipseASTVisitor { /** * Called when visiting a field of a class. - * Even though in eclipse initializers (both instance and static) are represented as Initializer objects, + * Even though in Eclipse initializers (both instance and static) are represented as Initializer objects, * which are a subclass of FieldDeclaration, those do NOT result in a call to this method. They result * in a call to the visitInitializer method. */ @@ -77,7 +77,7 @@ public interface EclipseASTVisitor { /** * Called for both methods (MethodDeclaration) and constructors (ConstructorDeclaration), but not for - * Clinit objects, which are a vestigial eclipse thing that never contain anything. Static initializers + * Clinit objects, which are a vestigial Eclipse thing that never contain anything. Static initializers * show up as 'Initializer', in the visitInitializer method, with modifier bit STATIC set. */ void visitMethod(Node methodNode, AbstractMethodDeclaration method); diff --git a/src/lombok/eclipse/EclipseAnnotationHandler.java b/src/lombok/eclipse/EclipseAnnotationHandler.java index 39e4d3df..b5c84ebd 100644 --- a/src/lombok/eclipse/EclipseAnnotationHandler.java +++ b/src/lombok/eclipse/EclipseAnnotationHandler.java @@ -43,7 +43,7 @@ public interface EclipseAnnotationHandlermethodDeclaration.bits |= ASTNode.Bit24; //0x800000 @@ -70,14 +70,14 @@ public class TransformEclipseAST { } /** - * This method is called immediately after eclipse finishes building a CompilationUnitDeclaration, which is - * the top-level AST node when eclipse parses a source file. The signature is 'magic' - you should not + * This method is called immediately after Eclipse finishes building a CompilationUnitDeclaration, which is + * the top-level AST node when Eclipse parses a source file. The signature is 'magic' - you should not * change it! * * Eclipse's parsers often operate in diet mode, which means many parts of the AST have been left blank. * Be ready to deal with just about anything being null, such as the Statement[] arrays of the Method AST nodes. * - * @param parser The eclipse parser object that generated the AST. + * @param parser The Eclipse parser object that generated the AST. * @param ast The AST node belonging to the compilation unit (java speak for a single source file). */ public static void transform(Parser parser, CompilationUnitDeclaration ast) { -- cgit