aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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
2009-07-27Split off generation of equals() and hashCode() methods form @Data into a ↵Reinier Zwitserloot
new annotation, @EqualsAndHashCode. Addresses issue #8
2009-07-27[TRIVIAL]Reinier Zwitserloot
2009-07-27[TRIVIAL]Reinier Zwitserloot
2009-07-27Added support for @ToString annotation. The code for generating toStrings ↵Reinier Zwitserloot
has now moved from HandleData to the new HandleToString.
2009-07-26Fixed bugs with annotation handling: An array initializer with more than 1 ↵Reinier Zwitserloot
entry now no longer causes ArrayIndexOutOfBoundsException, the setWarning method on a single item in an array initializer on eclipse now generates the warning on just that node (like with errors), and the API of AnnotationValues has been updated to support setting errors/warning on any node.
2009-07-26[TYPOS]Reinier Zwitserloot
2009-07-26Version up to 0.8.2-HEAD as I just published.Reinier Zwitserloot
2009-07-26Upped version number, will release 0.8.1 immediately after this.Reinier Zwitserloot
2009-07-26Addresses issue #5:Reinier Zwitserloot
hitting 'find callers' on a @Data annotation should find callers of the (static) constructor. Right now it'll find callers to the *static* constructor ONLY. Letting it find callers of the public constructor if there is no static constructor just doesn't work.
2009-07-26[TRIVIAL]Reinier Zwitserloot
2009-07-26Addresses issue #4:Reinier Zwitserloot
If boolean fields already start with a typical getter prefix (is, has, or get), lombok's @Getter will no longer generate its own prefix as well, so a field named 'hasFoo' will result in a getter named 'hasFoo()', not 'isHasFoo()'. Also, if any likely getter name already exists for a boolean, a getter will not be generated. Thus, if your field is called 'hasFoo', and you already have a method named 'isFoo', then @Getter will not generate anything (and warn, unless the getter is being generated due to @Data). This last mechanism works by taking the field name *AND* any other likely base names (defined by the field name being named as prefix+baseName, with prefix being is/has/get), and then prefixing all the likely fieldnames with is/has/get, and checking if any method with that name exists. Of course, this means weird things are going to happen if you have 2 fields named 'isFoo' and 'hasFoo', but then, you'd be a real idiot if you did that.
2009-07-26Addresses issue #6:Reinier Zwitserloot
For whatever reason, the path to the javaagent in eclipse.ini on linux needs to be absolute.
2009-07-26Starting the lombok installer on mac os X using soylatte instead of apple's ↵Reinier Zwitserloot
JVM now correctly detects being on a mac, and using mac-specific code for finding and installing eclipses.
2009-07-24Fixed two bugs regarding the installer on Win64Roel Spilker
2009-07-24Added WindowsDriveInfo support for 64-bit JVMs on windows. We think.Roel Spilker
Honestly, we haven't tested it! Also updated instructions on how to build the 64-bit version of the JVM, and generalized some of the loading aspects of the DLL, as we now need to potentially try 2 of them.
2009-07-23Rewrote the "find hard disks on windows" to use a dll instead. The reasons:Roel Spilker
A) FSUTIL is internationalized, so on non-english installs, we can't figure out if a disk is fixed. B) I trust this better than fsutil for user control access (a.k.a. popups from hell) on vista. C) fsutil.exe is in C:\windows\system32 so pretty sure it would be there, but there's always a chance it's not in the PATH, or otherwise not accessible.
2009-07-23Setup for not using fsutil.exe which is probably going to rain a stash of ↵Reinier Zwitserloot
User Action Control dialogs on vista, and has internationalized messages so fails to parse correctly on any non-english windows install.
2009-07-21Added an extra note in the 'installation successful' dialog to add ↵Reinier Zwitserloot
lombok.jar to your eclipse projects, lets people get confused and think it can work without doing that.
2009-07-21Sized the icon into a square form by adding more transparency at top and ↵Reinier Zwitserloot
bottom. This way, the icon showing up in dialog boxes doesn't look borked.
2009-07-21Version bump!Reinier Zwitserloot
2009-07-20Worked on the installer so that it's vertically a lot smaller, and at least ↵Reinier Zwitserloot
according to Roel, it looks better too.
2009-07-18Fixed javadocRoel Spilker
2009-07-18No constructor entry should be made for assigned final fieldsRoel Spilker
2009-07-18Refactored the name of the cleanup method arg to 'value'.Reinier Zwitserloot
2009-07-17Made background of found Eclipses whiteRoel Spilker
2009-07-17Made the detection of drives more robust on WindowsRoel Spilker