mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 06:17:44 +00:00
import lombok.*; wasn't working in eclipse. It is now.
Fixes issue #102.
This commit is contained in:
1 parent
aaf8547d91
commit
178f628565
2 files changed
+4
-1
No files matched your search
@@ -15,6 +15,7 @@ Lombok Changelog
|
||||
* FEATURE: Three new annotations, `@NoArgsConstructor`, `@RequiredArgsConstructor` and `@AllArgsConstructor` have been added. These split off `@Data`'s ability to generate constructors, and also allow you to finetune what kind of constructor you want. In addition, by using these annotations, you can force generation of constructors even if you have your own. [Issue #79](http://code.google.com/p/projectlombok/issues/detail?id=79)
|
||||
* FEATURE: Constructors generated by lombok now include a `@java.beans.ConstructorProperties` annotation. This does mean these constructors no longer work in java 1.5, as this is a java 1.6 feature. The annotation can be suppressed by setting `suppressConstructorProperties` to `true` in a `@RequiredArgsConstructor` or `@AllArgsConstructor` annotation. [Issue #122](http://code.google.com/p/projectlombok/issues/detail?id=122)
|
||||
* BUGFIX: delombok now no longer forgets to remove `import lombok.AccessLevel;`. In netbeans, that import will no longer be flagged erroneously as being unused. [Issue #100](http://code.google.com/p/projectlombok/issues/detail?id=100) and [Issue #103](http://code.google.com/p/projectlombok/issues/detail?id=103)
|
||||
* BUGFIX: While its discouraged, `import lombok.*;` is supposed to work in the vast majority of cases. In eclipse, however, it didn't. Now it does. [Issue #102](http://code.google.com/p/projectlombok/issues/detail?id=102)
|
||||
|
||||
### v0.9.2 "Hailbunny" (December 15th, 2009)
|
||||
* preliminary support for lombok on NetBeans! - thanks go to Jan Lahoda from NetBeans. [Issue #20](http://code.google.com/p/projectlombok/issues/detail?id=20)
|
||||
|
||||
@@ -73,7 +73,9 @@ public class EclipseAST extends AST<EclipseAST, EclipseNode, ASTNode> {
|
||||
if (cud.imports == null) return imports;
|
||||
for (ImportReference imp : cud.imports) {
|
||||
if (imp == null) continue;
|
||||
imports.add(Eclipse.toQualifiedName(imp.getImportName()));
|
||||
String qualifiedName = Eclipse.toQualifiedName(imp.getImportName());
|
||||
if ((imp.bits & ASTNode.OnDemand) != 0) qualifiedName += ".*";
|
||||
imports.add(qualifiedName);
|
||||
}
|
||||
return imports;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user