Reinier Zwitserloot
72cc800fd0
Fixed issue #26 : Starting eclipse's help feature just shows you a 500 error, 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-01 00:08:40 +02:00
Reinier Zwitserloot
65b9365b54
Pretty showstopping bug in here.
2009-09-01 00:07:05 +02:00
Reinier Zwitserloot
c7a45b294d
WHOOPS - that version number should have been updated much earlier. My fault (reinierz).
2009-08-28 00:21:02 +02:00
Reinier Zwitserloot
e92fd5abac
Fixes issue #35 : ToString now defaults to includeFieldNames=true.
2009-08-28 00:16:58 +02:00
Reinier Zwitserloot
0236721d8d
Updated documentation for @NonNull (and the changelog).
2009-08-28 00:12:27 +02:00
Reinier Zwitserloot
e1ee1b7d2d
null checks are no longer generated if you put @NonNull on primitives.
2009-08-28 00:02:15 +02:00
Reinier Zwitserloot
d16775032b
Set the source positions in eclipse of copied over annotations (used in @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-27 23:35:05 +02:00
Reinier Zwitserloot
4e152f2f14
Merge branch 'nonnull'
...
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-27 23:16:47 +02:00
Reinier Zwitserloot
fe0da3f53f
Now @Nullable is also copied over.
2009-08-27 23:05:14 +02:00
Reinier Zwitserloot
e6bb460e2b
Added javadoc and copyright header.
2009-08-27 23:05:02 +02:00
Reinier Zwitserloot
0221e460b2
Updated the changelog (WIP 0.8.4)
2009-08-27 22:26:24 +02:00
Reinier Zwitserloot
7c786f5af6
Made all parameters of all generated methods 'final'.
2009-08-27 22:19:29 +02:00
Reinier Zwitserloot
8aab4e60d6
Whoops, forgot to update the changelog of 0.8.3.
2009-08-21 12:10:54 +02:00
Reinier Zwitserloot
b92926b6f7
Preparing release of 0.8.3.
2009-08-21 12:02:46 +02:00
Reinier Zwitserloot
3f3c0cb749
Added link to sun bug db which contains a feature request that is analogous to @SneakyThrows, except with a keyword.
2009-08-19 13:13:54 +02:00
Reinier Zwitserloot
7483dd4345
The fix in previous commit has been verified, so the diagnostic messages have been removed.
2009-08-14 23:26:10 +02:00
Reinier Zwitserloot
fe945d9198
More attempts to fix NullPointerExceptions reported on the forums.
...
http://groups.google.com/group/project-lombok/browse_thread/thread/a8d59daaf7c1ae09
2009-08-12 23:23:07 +02:00
Reinier Zwitserloot
5f4c415017
Added an extra check for non-standard javacs.
2009-08-12 22:18:58 +02:00
Reinier Zwitserloot
78223dacd3
Added a note to restart eclipse, after some confusing as reported on the googlegroups.
2009-08-05 00:25:05 +02:00
Reinier Zwitserloot
68a69f214e
ToString had the wrong title (@Data instead of @ToString)
2009-08-04 13:09:36 +02:00
Reinier Zwitserloot
383586c705
There was a bug in the annotation builder for javac, which would trigger 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-01 16:22:37 +02:00
Reinier Zwitserloot
8428be5c68
The warning for not enabling callSuper cannot be avoided, but there are 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-01 13:18:34 +02:00
Roel Spilker
388943a7e3
Introduced a NonNull annotation to generate null-checks
2009-08-01 02:52:16 +02:00
Roel Spilker
dd593a3af0
The constructors will now also add non-final fields if they have a NonNull annotation
...
The constructor will test for null-values
The constructor and static constructor will copy the NonNull annotations from the fields
2009-08-01 02:38:56 +02:00
Roel Spilker
c4d97b008a
Moved the check to see if a variable is null to the PKG utility classes
2009-08-01 02:10:29 +02:00
Roel Spilker
f2c837bb47
@Setter will copy all NotNull and NonNull (case-insensitive) annotations to the parameter
...
@Getter will copy them to the getter method
Added @NonNull to lombok to support null-checks in the setter
2009-08-01 01:42:52 +02:00
Roel Spilker
0cfa9e99d9
Added support for @NonNull in the @Setter annotation
2009-07-31 18:44:13 +02:00
Reinier Zwitserloot
2bdc1210d7
Merge branch 'master' of git@github.com:rzwitserloot/lombok
2009-07-31 18:15:22 +02:00
Roel Spilker
ad736c43b1
Added a test script for Eclipse on Windows
2009-07-31 15:50:58 +02:00
Reinier Zwitserloot
5d5775c8f4
Added generating a sources.jar for maven, on a suggestion by (twitter) @bennor
2009-07-31 11:33:02 +02:00
Reinier Zwitserloot
57fb36be39
Whoops, we updated the 'header' control on index.html and totally forgot to port the changes over to slideshow.html which has the same header. Fixed now, and uploaded to website.
2009-07-30 16:59:30 +02:00
Reinier Zwitserloot
4afccefb07
typo fix.
2009-07-29 17:34:22 +02:00
Reinier Zwitserloot
6b940dfc46
Added support for maven.
2009-07-29 17:27:23 +02:00
Reinier Zwitserloot
5898d3c96a
Removed mention of github hosting the website. It doesn't. We're hosting it ourselves.
2009-07-29 14:13:23 +02:00
Reinier Zwitserloot
b4b95e3832
Corrected 'licence' to 'license' which is a far more popular spelling.
2009-07-29 12:57:00 +02:00
Reinier Zwitserloot
9fbc0a97d7
Version number update as v0.8.2. has been rolled out and frozen.
2009-07-29 01:54:12 +02:00
Reinier Zwitserloot
de220ed5bb
Release of v0.8.2!
2009-07-29 01:53:30 +02:00
Reinier Zwitserloot
4243bc2610
Removed small print which was covering gimmies already covered in @ToString, @EqualsAndHashCode, and @Getter / @Setter documentation.
2009-07-29 01:52:54 +02:00
Roel Spilker
86acfadf55
Use single quote instead of double quote in javadoc generation due to wonky
...
behaviour of javadoc tool
Worked on feature documentation
Renamed all "link to issue" to "Issue #n"
2009-07-29 01:44:16 +02:00
Reinier Zwitserloot
2781b8592b
bugfix in the build.xml file - "ant website" would not add the videos to the built .tar.bz2 file. Now it does. (use ant website-novideo to skip adding the videos, which reduces the upload from 18M to 1.4M).
2009-07-28 18:32:07 +02:00
Reinier Zwitserloot
7068db574e
Updated website target to bzip2 the content, as our deployment these days isn't via git, but via an ssh upload.
2009-07-28 18:23:54 +02:00
Reinier Zwitserloot
b4a4da1f97
Version is now 'standalone' - it is separately compiled. The version is now 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-28 18:17:15 +02:00
Reinier Zwitserloot
36f01682d0
Address issue #10 : If the video won't play, and you don't see the failsafe 'download it instead' message, there's now still a link in the footer if you can't see the video to help folks with
...
a bad mix of plugins along.
2009-07-28 17:53:33 +02:00
Reinier Zwitserloot
12d6d2c521
Updated the javadoc of EqualsAndHashCode and ToString (the annotation source files)
2009-07-28 17:42:07 +02:00
Reinier Zwitserloot
fb6be45d2b
Added website feature documentation for @ToString and @EqualsAndHashCode, and modified the docs for @Data to refer to the docs of these new annotations.
...
The build script for the website has been updated to clean out the website build dir first, so files that used to exist but have now been tossed are no longer there.
There's also a special website-no-videos target which builds a website deployable without the videos. This makes the upload a lot faster if the videos haven't changed.
2009-07-28 17:41:56 +02:00
Reinier Zwitserloot
e744f1829a
Changed the way toString is generated to reduce the number of superfluous '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-28 16:47:24 +02:00
Reinier Zwitserloot
817eae66a6
Reflected issues #8 and #11 in the changelog.
2009-07-27 11:13:21 +02:00
Reinier Zwitserloot
cf2ce698dc
on javac: Warnings associated with specific values in annotation parameters now 'point at' the right position, instead of at the entire annotation. (it already did so for errors).
...
Fixes issue #11
2009-07-27 11:07:16 +02:00
Reinier Zwitserloot
8fbcf8ffe4
Split off generation of equals() and hashCode() methods form @Data into a new annotation, @EqualsAndHashCode.
...
Addresses issue #8
2009-07-27 11:04:10 +02:00
Reinier Zwitserloot
beb0213b01
[TRIVIAL]
2009-07-27 11:00:31 +02:00