aboutsummaryrefslogtreecommitdiff
path: root/src/lombok
AgeCommit message (Collapse)Author
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
2009-07-16Removed a debug print.Reinier Zwitserloot
2009-07-16Added icon to frame, set background color of found eclipses to WHITE, useRoel Spilker
platform path separator in installer "What do I do" text.
2009-07-14Used reflection to call Apple native look to avoid errors in a non-macRoel Spilker
development environment
2009-07-14Fixed a problem where @Data with a static constructor and generics params on ↵Reinier Zwitserloot
the class would generate errors regarding IllegalArgumentException in setSourcePosition in ASTNode.
2009-07-12More fixes to avoid erroneous "getter/setter is already there, not ↵Reinier Zwitserloot
generating it" warnings when the getter/setter already there was in fact generated by lombok, and fixed a bug in eclipse where a boolean array's getter method would be called isFoo() instead of getFoo().
2009-07-11'fixed' data up a bit by including only the final fields for the constructor.Reinier Zwitserloot
Also fixed a bug in javac's toString() generation for the @Data constructor. It did not include the transient fields.
2009-07-11The setter/getter handlers now mark themselves as not wanted to be called ↵Reinier Zwitserloot
upon anymore when reporting errors. They were logging 4 or more identical warnings per problem before this change.
2009-07-11Made 'printContent=true' work for types as well as method bodies/initializers.Reinier Zwitserloot
2009-07-10Found ANOTHER javac bug.Reinier Zwitserloot
2009-07-08Made 'Throwable.class' the default for SneakyThrows.Reinier Zwitserloot
2009-07-08Renamed all true names of 'eclipse' to 'Eclipse' (but not the eclipse ↵Reinier Zwitserloot
package, of course), and fixed a showstopper bug in the installer that would add -javaagent:lombok.jar to eclipse.ini, which is wrong of course; it needs to be lombok.eclipse.agent.jar.
2009-07-06Fixed javadoc problems, and added a javadoc target to the build script.Reinier Zwitserloot
2009-07-06Last massive documentation dump. All basic javadoc is now done, though ↵Reinier Zwitserloot
especially the docs on the lombok annotations in the lombok package need far more massaging. Also added a feature to HandleSynchronized to not auto-generate the locker fields if a specific name is provided (because, imagine you typoed those. You'd never find it!)
2009-07-05More documentation.Reinier Zwitserloot
2009-07-05Final touches on the installer:Reinier Zwitserloot
- some bug fixes for linux - renamed InstallerWindow to Installer - Apple-specific prettification added (dock icon, app name) - more documentation. Also, I started added an open source licence to all files.
2009-07-05W00t - written an installer that should work on linux (sort of), windows, ↵Reinier Zwitserloot
and Mac OS X. Bumped the version number to celebrate, and changed build to roll the agent.jar into the main jar, and change the executable class from the minimal help that was there to the installer. That minimal help thing (ShowUserHelp.java) is now gone.
2009-07-05These are nice, but kinda NSFW.Reinier Zwitserloot
2009-07-03A start on the installer.Reinier Zwitserloot
2009-07-03Fine-tuning eclipse's error reporting found some minor issues and even 1 bug ↵Reinier Zwitserloot
that would show up rarely or not at all.
2009-07-02[DOC]Reinier Zwitserloot
2009-07-01Added @SneakyThrows support for javac. W00t.Reinier Zwitserloot
2009-07-01[TRIVIAL]Reinier Zwitserloot
2009-07-01Support for @SneakyThrows in eclipse.Reinier Zwitserloot
2009-07-01Added ability to @Synchronized to explicitly name the lock object.Reinier Zwitserloot
Spruced up @Cleanup's position settings and also forced initialization, because the error appears in a screwed up place if you don't, and we can't seem to move it.
2009-07-01Added @Synchronized support to javac. Seems to work well.Reinier Zwitserloot