aboutsummaryrefslogtreecommitdiff
path: root/src/lombok/eclipse
diff options
context:
space:
mode:
Diffstat (limited to 'src/lombok/eclipse')
-rw-r--r--src/lombok/eclipse/Eclipse.java10
-rw-r--r--src/lombok/eclipse/EclipseAST.java6
-rw-r--r--src/lombok/eclipse/EclipseASTVisitor.java4
-rw-r--r--src/lombok/eclipse/EclipseAnnotationHandler.java2
-rw-r--r--src/lombok/eclipse/HandlerLibrary.java8
-rw-r--r--src/lombok/eclipse/TransformEclipseAST.java10
6 files changed, 20 insertions, 20 deletions
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<ASTNode> {
/**
@@ -534,7 +534,7 @@ public class EclipseAST extends AST<ASTNode> {
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<Class<? extends ASTNode>> getStatementTypes() {
return Collections.<Class<? extends ASTNode>>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 EclipseAnnotationHandler<T extends java.lang.annotation.Annotat
* TargetType in the annotation to methods only.
*
* @param annotation The actual annotation - use this object to retrieve the annotation parameters.
- * @param ast The eclipse AST node representing the annotation.
+ * @param ast The Eclipse AST node representing the annotation.
* @param annotationNode The Lombok AST wrapper around the 'ast' parameter. You can use this object
* to travel back up the chain (something javac AST can't do) to the parent of the annotation, as well
* as access useful methods such as generating warnings or errors focused on the annotation.
diff --git a/src/lombok/eclipse/HandlerLibrary.java b/src/lombok/eclipse/HandlerLibrary.java
index 8ee7d032..1b9ed545 100644
--- a/src/lombok/eclipse/HandlerLibrary.java
+++ b/src/lombok/eclipse/HandlerLibrary.java
@@ -50,7 +50,7 @@ import org.eclipse.jdt.internal.compiler.ast.TypeReference;
*/
public class HandlerLibrary {
/**
- * Creates a new HandlerLibrary. Errors will be reported to the eclipse Error log.
+ * Creates a new HandlerLibrary. Errors will be reported to the Eclipse Error log.
* You probably want to use {@link #load()} instead.
*/
public HandlerLibrary() {}
@@ -81,7 +81,7 @@ public class HandlerLibrary {
private boolean skipPrintAST;
/**
- * Creates a new HandlerLibrary. Errors will be reported to the eclipse Error log.
+ * Creates a new HandlerLibrary. Errors will be reported to the Eclipse Error log.
* then uses SPI discovery to load all annotation and visitor based handlers so that future calls
* to the handle methods will defer to these handlers.
*/
@@ -114,7 +114,7 @@ public class HandlerLibrary {
}
lib.typeLibrary.addType(container.annotationClass.getName());
} catch ( Throwable t ) {
- Eclipse.error(null, "Can't load Lombok annotation handler for eclipse: ", t);
+ Eclipse.error(null, "Can't load Lombok annotation handler for Eclipse: ", t);
}
}
}
@@ -131,7 +131,7 @@ public class HandlerLibrary {
try {
lib.visitorHandlers.add(it.next());
} catch ( Throwable t ) {
- Eclipse.error(null, "Can't load Lombok visitor handler for eclipse: ", t);
+ Eclipse.error(null, "Can't load Lombok visitor handler for Eclipse: ", t);
}
}
}
diff --git a/src/lombok/eclipse/TransformEclipseAST.java b/src/lombok/eclipse/TransformEclipseAST.java
index f7a4c715..ff40c110 100644
--- a/src/lombok/eclipse/TransformEclipseAST.java
+++ b/src/lombok/eclipse/TransformEclipseAST.java
@@ -36,10 +36,10 @@ import org.eclipse.jdt.internal.compiler.parser.Parser;
/**
* Entry point for the Eclipse Parser patch that lets lombok modify the Abstract Syntax Tree as generated by
- * eclipse's parser implementations. This class is injected into the appropriate OSGi ClassLoader and can thus
+ * Eclipse's parser implementations. This class is injected into the appropriate OSGi ClassLoader and can thus
* use any classes that belong to org.eclipse.jdt.(apt.)core.
*
- * Note that, for any Method body, if Bit24 is set, the eclipse parser has been patched to never attempt to
+ * Note that, for any Method body, if Bit24 is set, the Eclipse parser has been patched to never attempt to
* (re)parse it. You should set Bit24 on any MethodDeclaration object you inject into the AST:
*
* <code>methodDeclaration.bits |= ASTNode.Bit24; //0x800000</code>
@@ -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) {