aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok/eclipse
AgeCommit message (Collapse)Author
2014-05-01bugfix for errors with ecj8 and builder.Reinier Zwitserloot
2014-05-01eclipse usually just wants 'null' instead of a zero-len array.Reinier Zwitserloot
In this particular case, ecj8 (but not ecj7) would start printing extra spaces, causing tests to fail. Other things tend to break too, so, we're sticking to the 'null for empty arrays' model.
2014-04-29added docs for the new onParam feature on EqualsAndHashCode, and some tiny ↵Reinier Zwitserloot
stylistic nitpicking.
2014-04-03Fixing possible NPEChristian Sterzl
2014-04-03Adding eclipse support.Christian Sterzl
2014-04-01all usage of sneakyThrow is now throw sneakyThrow as it should be.Reinier Zwitserloot
2014-03-26[i659] suppression of @ConstructorProperties should use config instead. Also ↵Roel Spilker
modified all onX examples to use two underscores.
2014-03-26[i660] canEqual is now protected instead of public.Roel Spilker
Also fixed the total lack of canEqual in the usage examples.
2014-03-18Merge branch 'master' into configurationRoel Spilker
Conflicts: build.xml src/core/lombok/eclipse/HandlerLibrary.java src/core/lombok/eclipse/handlers/EclipseHandlerUtil.java src/core/lombok/javac/HandlerLibrary.java src/core/lombok/javac/handlers/JavacHandlerUtil.java
2014-03-17[#590][refactor] Fix for deadlock in WeakHashMap. Refactored all code that ↵Roel Spilker
used a WeakHashMap to fake a field.
2014-03-04[configuration] Merge branch 'master' as we work on configuration.Reinier Zwitserloot
* Conflict due to adding topic() feature to logger in master, and 'field name' feature in config branch. * master has since updated to shiny new eclipse dep versions and the 'ant eclipseForDebugging' feature, but this branch added deps. Addressed that. * Renamed 'loggerCategory' to 'loggerTopic'. I know, that wasn't exactly right to do in a merge, but, there you have it. * Test infrastructure changed in configuration branch, and tests had been added in master branch. Conflicts: build.xml buildScripts/ivy.xml src/core/lombok/eclipse/handlers/HandleLog.java src/core/lombok/extern/apachecommons/CommonsLog.java src/core/lombok/extern/java/Log.java src/core/lombok/extern/log4j/Log4j.java src/core/lombok/extern/log4j/Log4j2.java src/core/lombok/javac/handlers/HandleLog.java test/transform/resource/after-ecj/ValInTryWithResources.java
2014-02-27Fixed some issues when using lambda expressions in eclipse using the beta ↵Reinier Zwitserloot
JDK8 support plugin for Kepler.
2014-02-10Improved error reporting in EclipseRoel Spilker
2014-02-10[deps] Updated eclipse deps to 3.9 tree. This also enables testing java7 ↵Reinier Zwitserloot
features on ecj. [Log] updated naming for @Log (topic= instead of mchmulder's 'value').
2014-02-08Handler and testcases for @XSlf4jMaarten Mulders
2014-02-08Handler and testcases for @Log4j2Maarten Mulders
2014-02-08Handler and testcases for @Log4jMaarten Mulders
2014-02-08Handler and testcases for @LogMaarten Mulders
2014-02-08Handlers and testcases for @CommonsLogMaarten Mulders
2014-02-08Handlers and testcases for @Slf4jMaarten Mulders
2014-02-06[configuration] Added the configuration keys lombok.ToString.doNotUseGetters ↵Roel Spilker
and lombok.ToString.includeFieldNames
2014-02-05Fix for issue 631. Martin, thanks for the contribution.Roel Spilker
2014-01-21[configuration] Extended the configuration app to display the resulting ↵Roel Spilker
configuration for a path and have 'blame'. Removed the PrintConfiguration annotation and handlers. Separated the parsing and the interpreting.
2014-01-20[configuration] Added all the @Accessors stuff as a configuration key.Reinier Zwitserloot
[refactor] Merged TransformationsUtil and HandlerUtil
2014-01-19Issue 625: use (even) better primes for hashcodesRoel Spilker
2014-01-19[configuration] added a service-loader based way to load ConfigurationKeys, ↵Reinier Zwitserloot
so that third party additions can add their own.
2014-01-19[configuration] Make sure the ConfigurationKeys class is initializedRoel Spilker
2014-01-18[configuration] Moved ALL ConfigurationKey constants into ↵Reinier Zwitserloot
'ConfigurationKeys'; that bug where fields in annotation defs causes issues is too endemic to try and work around these.
2014-01-18[configuration] The 'getAbsoluteFileLocation()' addition to EclipseAST did ↵Reinier Zwitserloot
not work in ECJ; now it does.
2014-01-18[configuration] [snippet] Removed the 'getProject' method; this doesn't even ↵Reinier Zwitserloot
exist on ECJ.
2014-01-18Moved NonNull's FLAG_USAGE ConfigurationKey definition to ConfigurationKeys ↵Reinier Zwitserloot
to work around bugs with putting fields in annotation declarations in many versions of JDK7 and all of JDK6's versions.
2014-01-18[configuration] implementations for log's log.any.fieldIsStatic config.Reinier Zwitserloot
2014-01-18[configuration] implementation of flagUsage for all handlers.Reinier Zwitserloot
2014-01-17Close the outputstream if it is a file after printing the ASTRoel Spilker
2014-01-17[configuration] Added @PrintConfiguration to print the combined interpreted ↵Roel Spilker
configuration for a certain java file, improved problem reporting
2014-01-15added package-infos to lots of packages, updated the javadoc in these, and ↵Reinier Zwitserloot
made lots of private/package private methods 'public' in packages that aren't actually public API. Tumi asked for this, and I can imagine this is useful for others who are hacking add-ons to lombok. The package-info files clarify that we aren't committing to long-term stability of anything except the stuff directly in the lombok package, lombok.experimental, and lombok.extern.
2014-01-09[#625] Instead of '31' as a prime number for hashCode(), use something else. ↵Reinier Zwitserloot
31, probably owing to its inclusion in Effective Java, is overused, as proven by Maaartinus in issue 625. Switching to 277 instead. Also, 1231/1237 pair used for booleans has been replaced by 2591/2609.
2014-01-09Added code to NOT add @SuppressWarnings to things if a @SuppressWarnings is ↵Reinier Zwitserloot
already there. Lombok itself can't ever do that anyway (we don't add @SW except to things we just generated fresh), but some lombok extension builders do, and this helps them.
2013-12-18[configuration] ongoing work on the typing and resolvingRoel Spilker
2013-12-15[configuration] Initial API for declaring ans reading single settings.Roel Spilker
2013-12-15[configuration] Added the .getAbsoluteFileLocation() method to AST;Roel Spilker
this now works properly (even with eclipse Linked Resources) in both eclipse and javac. We will now use this feature to search for and apply config files, which will apply hierarchically based on the directory of the source file.
2013-12-15work in progress on ProjectSearcher.Reinier Zwitserloot
2013-12-11semi-fix for issue 602, but not complete as adding annotations to generated ↵Reinier Zwitserloot
fields leads to crazy issues (see issue 217): generated LOG field now has @SuppressWarnings on it.
2013-10-10Fix for issues when mixing @NonNull on params with @SneakyThrows or ↵Reinier Zwitserloot
@Synchronized [Issue #588]
2013-09-24Merge branch 'master' into jdk8checkReinier Zwitserloot
Conflicts: src/core/lombok/core/Version.java src/core/lombok/javac/handlers/HandleConstructor.java test/transform/resource/messages-delombok/EqualsAndHashCodeWithSomeExistingMethods.java.messages test/transform/resource/messages-ecj/EqualsAndHashCodeWithSomeExistingMethods.java.messages
2013-09-20Issue 559: NullPointerException when @NonNull is used in abstract methodSander Koning
- Prevent NPE in javac and give a proper warning in both eclipse and javac - Add test cases
2013-08-14* Fixed 553: @XArgsConstructor (and @Builder on a class) did not look at ↵Reinier Zwitserloot
@Accessors to handle field accessors. * various operations on names in javac were really slow; they are faster now.
2013-08-12replaced double underscore as new standard way of writing the dummy ↵Reinier Zwitserloot
annotation for onX instead of single underscore, which emits warnings on javac8+. Also made dollars and Xes legal in addition to underscores, in case double underscore disappears later too.
2013-08-11Fixed two typosJan Ouwens
2013-07-16* Fixed issues with @FieldDefaults and @Value (you can NOT overrideReinier Zwitserloot
@Value's final-by-default and private-by-default with it; now appropriate warnings are emitted) * Builder now errors out on presence of most lombok annotations on an explicit builder class. * Builder now takes @FieldDefaults/@Value into account. * Builder on type now generates the constructor as package private instead of private to avoid synthetic accessor constructors. * added a bunch of test cases. * added a test case feature: If the expected file is omitted entirely but there are expected messages, the differences in the output itself are ignored. * streamlined checking for boolean-ness (removed some duplicate code) * added 'fluent' and 'chain' to @Builder.