aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok/eclipse
AgeCommit message (Collapse)Author
2011-03-18Rewritten @Cleanup's new null analysis prevention to not useReinier Zwitserloot
Lombok.preventNullAnalysis but go with Collections.singletonList(expr).get(0) instead; while this does create a pointless object, it doesn't cause a clash when eclipse has lombok 0.10 installed but the project uses 0.9, which doesn't have preventNullAnalysis. Eventually, once 0.9 is long forgotten, this can be reverted.
2011-02-14Added annotation for handleconstructor: issue 172grootjans
2011-02-07Presence of isFoo(), hasFoo(), and getFoo(), as well as properties named ↵Reinier Zwitserloot
'isFoo', 'hasFoo', or 'getFoo' would trigger specialized handling for @Getter/@Setter. However, this special handling broke the bean spec, and has been simplified: Only fields named 'isFoo', and only if that field's type is 'boolean', results in both 'isFoo' and 'foo' being considered as possible property names for this property, with 'foo' preferred, so that @Getter boolean isFoo will generate setFoo and isFoo methods, not setIsFoo and isIsFoo. Fixes issue #148
2011-01-02Added debug feature (disabled in this commit) to print types of nodes ↵Reinier Zwitserloot
printed by EclipseASTVisitor.Printer
2010-12-31Starting eclipse with an open file containing an enum with @Getter on it ↵Reinier Zwitserloot
would cause 1 error log entry to show up. No other effects other than that, but thats ugly and so thats been fixed.
2010-12-31Resolve-phase transformers in eclipse need to force a rebuild of the ↵Reinier Zwitserloot
EclipseAST object. Fixes issue #171
2010-12-31Presence of i.e. getABC() stops lombok from generating getAbc, but lombok ↵Reinier Zwitserloot
will still attempt to call this nonexistent getAbc instead of getABC. Fixed. Fixes issue #173.
2010-12-31calls to canEqual and equals are now fored to go to the version that has 1 ↵Reinier Zwitserloot
Object as parameter (creating new equals methods by giving them non-object parameterized is a _really_ bad idea, but if someone did do that, obviously lombok shouldn't call those!) Fixes #165.
2010-12-28@ToString, @Getter, and @XArgsConstructor now work on, and are legal on, ↵Reinier Zwitserloot
enums. Docs have been updated. Behaviour of @XArgsConstructor when its placement makes no sense (i.e. when annotating an interface with them) is no longer 'throw weird errors', but has been brought in line with the others: A nice error message is generated. Fixes issue #175
2010-12-22After 2 weeks of debugging, finally figured out val in eclipse using ↵Reinier Zwitserloot
lombok.val without breaking 'fix imports'. Eesh. Using "lombok.val" only half-works; auto-complete on the variable doesn't work, but it compiles fine and no errors are reported.
2010-12-01@Delegate in eclipse now uses more of the standard infrastructure to inject ↵Reinier Zwitserloot
methods.
2010-11-22- Renamed the diverse @Log annotations to give them distinct namesRoel Spilker
- Removed the option to specify a different class to log on - Updated tests and documentation
2010-11-18Fixed @AllArgsConstructor screwing up with final fields that have been ↵Reinier Zwitserloot
initialized.
2010-11-11Merge branch 'master' into delegateReinier Zwitserloot
2010-11-11Mostly fruitless work on making delegate work in eclipse.Reinier Zwitserloot
2010-11-11@Getter(lazy=true) now also works in EclipseRoel Spilker
2010-11-11Set generated on all created ASTNodesRoel Spilker
2010-11-11Merge branch 'master' into lazyinitRoel Spilker
Conflicts: src/core/lombok/javac/handlers/HandleGetter.java
2010-11-11@Getter(lazy=true) support for javacRoel Spilker
2010-11-10Merge branch 'fixDelombok'Reinier Zwitserloot
2010-11-10Merge branch 'master' into annoGetSetRoel Spilker
Conflicts: src/core/lombok/eclipse/handlers/EclipseHandlerUtil.java
2010-11-10From now on it is possible to specify annotations to be placed on the methodRoel Spilker
or the parameter of the generated getter/setter methods.
2010-11-09EqualsAndHashCode no longer worked right when working on a class with 0 ↵Reinier Zwitserloot
fileds. Fixed. Thanks to Philipp Eichhorn for spotting this problem!
2010-11-09EqualsAndHashCode no longer worked right when working on a class with 0 ↵Reinier Zwitserloot
fileds. Fixed. Thanks to Philipp Eichhorn for spotting this problem!
2010-11-09Merge branch 'master' into javaChickenAndEggReinier Zwitserloot
Conflicts: src/core/lombok/javac/handlers/HandleCleanup.java
2010-11-09Experiment to try and make java 'self referential' by deleting the Enter and ↵Reinier Zwitserloot
MemberEnter state. So far it doesn't work yet.
2010-11-09Added lombok.Lombok.preventNullAnalysis to the null test in @Cleanup to suppressRoel Spilker
warnings about variables that cannot be null
2010-11-09'val' didn't work on ecj/eclipse when referring to types in the default ↵Reinier Zwitserloot
package. fixed.
2010-11-08'val' now also works in foreach loops, on both javac and ecj / eclipse.Reinier Zwitserloot
2010-11-08Added support for canEqual in ecjRoel Spilker
2010-11-08'val' with an array on the initializer didn't work in eclipse.Reinier Zwitserloot
2010-11-07Merge branch 'eclipseReso'Reinier Zwitserloot
2010-11-07'val' support for eclipse.Reinier Zwitserloot
2010-11-07Solved issue 155: "Eclipse constructor generation not in class body" ↵Roel Spilker
http://code.google.com/p/projectlombok/issues/detail?id=155 Now all lombok generated methods are located before any other method.
2010-11-07Now generated nodes can also be detected in ecjRoel Spilker
2010-11-07Use the actual annotation value to process the @Log annotations instead of ↵Roel Spilker
their String representations.
2010-11-07Provide access to the actual annotation valuesRoel Spilker
2010-11-06Updated documentation on @Log and moved them all to lombok.extern.*Roel Spilker
2010-11-06Have j.u.l. be invoked with TargetType.class.getName() instead of "TargetType"Roel Spilker
2010-11-06Use a ClassLiteralAccess instead of a NameReferenceRoel Spilker
2010-11-06Create Clinit if you create a static field and it doesn't yet existRoel Spilker
2010-11-06Code cleanupRoel Spilker
2010-11-06Add support for multiple logging frameworks in EclipseRoel Spilker
2010-11-03Intial support for @Log, for now only slf4jRoel Spilker
2010-11-02Issue 154: Add null-check to @CleanupRoel Spilker
2010-07-28trivial: minor stylistic updateReinier Zwitserloot
2010-07-28Fix for issue #136: @Getter and @Setter now work on static fields again.Reinier Zwitserloot
2010-07-25Added changelog entry for #133: Outer.Inner instead of just Inner in toString().Reinier Zwitserloot
2010-07-25Issue 133: @ToString on an inner class should print Outer.Inner instead of InnerRoel Spilker
2010-07-25Do not generate @ConstructorProperties for method-local classesRoel Spilker