aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2009-09-23Massive change to the eclipse handlers: They now set the 'generatedBy' flag ↵Reinier Zwitserloot
which we can use to patch eclipse in specific places to ignore generated nodes.
2009-09-23Slight tweak to SpiLoadUtil: It now returns iterables instead of iterators.Reinier Zwitserloot
2009-09-21Fixes issue #49. Credit goes entirely to Michael McCallum who found the ↵Reinier Zwitserloot
problem, found the place in the source where the problem occurred, and even wrote a patch.
2009-09-21This is a fix for the auto-format. The fix is NOT ready for proper release - ↵Reinier Zwitserloot
it does rather a lot of stack introspection which may slow things down far too much.
2009-09-15Binkley on the newsgroup spotted a bug in this code: the one-arg javacError ↵Reinier Zwitserloot
method delegated to javacWarning instead of javacError. Fixed that little oversight.
2009-09-03Added a bunch of javadoc. No other changes.Reinier Zwitserloot
2009-09-03Version update.Reinier Zwitserloot
2009-09-03Version release.Reinier Zwitserloot
2009-09-03bugfix in the javac implementation of AnnotationValues.Reinier Zwitserloot
2009-09-03Fixed a problem in AnnotationValues where 'isExplicit' always returned true.Reinier Zwitserloot
2009-09-03Added an AccessLevel.NONE to suppress generating getters and setters (useful ↵Reinier Zwitserloot
in combination with @Data). Addresses issue #37.
2009-09-03Addressed issue #32: The @EqualsAndHashCode and @ToString annotations now ↵Reinier Zwitserloot
support explicitly listing the fields to use, via the new 'of' parameter. We've also added any fields that start with $ to the default excludes list. Lombok itself can generate these fields ($lock of @Synchronized, for example), and in general they probably should count as effectively not part of the class.
2009-09-03Added support for checking if an annotation parameter is explicitly ↵Reinier Zwitserloot
mentioned. This functionality is used in quite a few places, so generalized it.
2009-09-03"Fixed" issue #43" - problems with javax.validation.NotNull, which lombok ↵Reinier Zwitserloot
used to copy over to the method parameter of generated setters and constructors, but NotNull is not valid there. We've fixed it by limiting ourselves to annotations named 'NonNull', popular versions of which are legal in all the places we copy them to. This leaves IDEA's NotNull out in the cold, but, lombok doesn't support IDEA anyway. This is a workaround - once lombok supports type introspection we'll fix this properly.
2009-09-03I think this one FINALLY fixes the problems with SneakyThrows! Issue #30Reinier Zwitserloot
2009-09-02Version moved to 0.8.5-HEAD as part of a release process.Reinier Zwitserloot
2009-09-02Moved version from 0.8.4-HEAD to 0.8.4 as this version has just been released.Reinier Zwitserloot
2009-09-01Fixed the problem where the eclipse editor AST just loses track of things ↵Reinier Zwitserloot
when using @SneakyThrows (syntax colouring goes away, first character in the file is italic).
2009-09-01More work on fully addressing the David Lynch bug (issue #41) - the ↵Reinier Zwitserloot
annotation @NotNull/@NonNull/@Nullable that is copied over by @Getter should no longer be causing the David Lynch bug.
2009-09-01Added position information _everywhere_ in EqualsAndHashCode and ToString ↵Reinier Zwitserloot
generating. This really does seem to fix the David Lynch bug (#41).
2009-09-01Well, bugger me! Adjusting the positions of the actual type identifier for ↵Reinier Zwitserloot
the generated annotations seems to fix the David Lynch bug (issue #41). Saving this now before further fiddling breaks things again.
2009-09-01Fixed issue #26: Starting eclipse's help feature just shows you a 500 error, ↵Reinier Zwitserloot
ond depending on your eclipse version, a long stack trace. The problem boiled down to the JSP compiler used by the help system also being instrumented with lombok, but that's not exactly the environment lombok was expecting. Fixed by simply disabling lombok when the environments don't match what we expect. In the process, the instrumentation has been made a little more robust; multiple separate OSGi modules can all be instrumented now, instead of the first one winning.
2009-09-01Pretty showstopping bug in here.Reinier Zwitserloot
2009-08-28WHOOPS - that version number should have been updated much earlier. My fault ↵Reinier Zwitserloot
(reinierz).
2009-08-28Fixes issue #35: ToString now defaults to includeFieldNames=true.Reinier Zwitserloot
2009-08-28Updated documentation for @NonNull (and the changelog).Reinier Zwitserloot
2009-08-28null checks are no longer generated if you put @NonNull on primitives.Reinier Zwitserloot
2009-08-27Set the source positions in eclipse of copied over annotations (used in ↵Reinier Zwitserloot
@NonNull/@Nullable and getter/setter/constructor generation) to 0, as eclipse mysteriously fails for annotations copied WITH source positions, but only on methods (which happens for @Getter).
2009-08-27Merge branch 'nonnull'Reinier Zwitserloot
Conflicts: src/lombok/eclipse/handlers/HandleData.java src/lombok/eclipse/handlers/HandleEqualsAndHashCode.java src/lombok/eclipse/handlers/HandleSetter.java src/lombok/javac/handlers/HandleData.java src/lombok/javac/handlers/HandleEqualsAndHashCode.java src/lombok/javac/handlers/HandleSetter.java
2009-08-27Now @Nullable is also copied over.Reinier Zwitserloot
2009-08-27Added javadoc and copyright header.Reinier Zwitserloot
2009-08-27Made all parameters of all generated methods 'final'.Reinier Zwitserloot
2009-08-21Preparing release of 0.8.3.Reinier Zwitserloot
2009-08-14The fix in previous commit has been verified, so the diagnostic messages ↵Reinier Zwitserloot
have been removed.
2009-08-12More attempts to fix NullPointerExceptions reported on the forums.Reinier Zwitserloot
http://groups.google.com/group/project-lombok/browse_thread/thread/a8d59daaf7c1ae09
2009-08-12Added an extra check for non-standard javacs.Reinier Zwitserloot
2009-08-05Added a note to restart eclipse, after some confusing as reported on the ↵Reinier Zwitserloot
googlegroups.
2009-08-01There was a bug in the annotation builder for javac, which would trigger ↵Reinier Zwitserloot
exceptions anytime you used a lombok annotation in implicit-value-parameter form (e.g: @Cleanup("release") instead of @Cleanup or @Cleanup(value="release"). Fixes issue #14
2009-08-01The warning for not enabling callSuper cannot be avoided, but there are ↵Reinier Zwitserloot
legal reasons for using it, so, changed it: explicitly setting 'callSuper=false' removes the warning. You only get the warning if callSuper is false because that's the default. Fixes issue #13
2009-08-01Introduced a NonNull annotation to generate null-checksRoel Spilker
2009-08-01The constructors will now also add non-final fields if they have a NonNull ↵Roel Spilker
annotation The constructor will test for null-values The constructor and static constructor will copy the NonNull annotations from the fields
2009-08-01Moved the check to see if a variable is null to the PKG utility classesRoel Spilker
2009-08-01@Setter will copy all NotNull and NonNull (case-insensitive) annotations to ↵Roel Spilker
the parameter @Getter will copy them to the getter method Added @NonNull to lombok to support null-checks in the setter
2009-07-31Added support for @NonNull in the @Setter annotationRoel Spilker
2009-07-29Version number update as v0.8.2. has been rolled out and frozen.Reinier Zwitserloot
2009-07-29Release of v0.8.2!Reinier Zwitserloot
2009-07-28Version is now 'standalone' - it is separately compiled. The version is now ↵Reinier Zwitserloot
reflected in all javadoc pages, and on the website itself. The website design has been updated to have a link to the changelog and to mention the current version. Addresses issue #9.
2009-07-28Updated the javadoc of EqualsAndHashCode and ToString (the annotation source ↵Reinier Zwitserloot
files)
2009-07-28Changed the way toString is generated to reduce the number of superfluous ↵Reinier Zwitserloot
'plus' nodes (e.g. concatenating the infix ", " and a field name literal such as "width=" into ", width=". Also removed the [] brackets from the supercall, as, if you're chaining to another lombok-generated toString, those are superfluous - lombok's toString includes parentheses already.
2009-07-27on javac: Warnings associated with specific values in annotation parameters ↵Reinier Zwitserloot
now 'point at' the right position, instead of at the entire annotation. (it already did so for errors). Fixes issue #11