aboutsummaryrefslogtreecommitdiff
path: root/src/eclipseAgent/lombok/eclipse/agent/PatchVal.java
AgeCommit message (Collapse)Author
2019-02-19var/val in Eclipse can now handle intersection types, fixes #1986Roel Spilker
2018-10-29eliminate ‘you are using private API’ warnings by streamlining all ↵Reinier Zwitserloot
reflective access via a class that uses sun.misc.Unsafe to arrange access. From the nqzero permit-reflect library.
2018-07-25[Fixes issue #1783] lombok.var / lombok.experimental.var import would be ↵Reinier Zwitserloot
removed by eclipse’s organize imports.
2018-06-05Fixes #1676 at least for eclipse: You can now use java10 var in an eclipse ↵Reinier Zwitserloot
that supports this, without lombok getting in the way.
2018-02-07[trivial] copyright header year bump to 2018Reinier Zwitserloot
2018-02-07[var] various upgrades to var:Reinier Zwitserloot
* var is promoted to the main package. * It is no longer an opt-in thing. * bug: var (unlike val) is allowed in old-style for loops, but if you multi-init: for (var i = 0, j="Foo";;), you now get an error that you can't do that. * tests both for the multi-for situation and the new main package variant.
2016-11-12imports expanded, idents alignedBulgakov Alexander
2016-10-26The @var annotation has been moved to the experimental package.Bulgakov Alexander
Added a test of a @var variable with null initialization.
2016-10-24added supporting of @var variables. The @var annotation has the same ↵Bulgakov Alexander
functionality as the @val except 'final' modifier.
2015-11-22[Fixes #970] Eclipse would generate some internal IDE errors if using ↵Reinier Zwitserloot
‘val’ on invalid expressions. This fixes one such case.
2015-01-21the previous basic for fix didn't really work, this one is better.Roel Spilker
2015-01-21Fix for erroneous use of val in basic fors.Reinier Zwitserloot
2014-05-08[java8] don't crash on intersection typesRoel Spilker
2014-02-27Fixed some issues when using lambda expressions in eclipse using the beta ↵Reinier Zwitserloot
JDK8 support plugin for Kepler.
2012-04-19fixed: @val didn't work with rawtypes in enhanced for loopspeichhorn
2012-02-15'val' is no longer legal in basic for loops now. Fixes issue #346Reinier Zwitserloot
2011-11-20Fixed issue 300: 'lombok.val' (vs. just val and an import statement) didn't ↵Reinier Zwitserloot
fix auto-complete dialogs. However, now the auto-highlight feature will crash with an IOOBE if you click in lombok.val.
2011-11-07Changed copyright noticesRoel Spilker
2011-10-24pretty big refactor; introduced a new source package which should be (and ↵Reinier Zwitserloot
is) separately compilable, i.e. has no deps on any of the others. This is preparation work for being able to access some of these from lombok.ast without creating a cyclic dependency nightmare.
2011-05-16Split up PatchVal into the ecj and eclipse bits; in ecj you'd just get ↵Reinier Zwitserloot
NoSuchClassErrors.
2010-12-22After 2 weeks of debugging, finally figured out val in eclipse using ↵Reinier Zwitserloot
lombok.val without breaking 'fix imports'. Eesh. Using "lombok.val" only half-works; auto-complete on the variable doesn't work, but it compiles fine and no errors are reported.
2010-11-29Added 'val' as a type which the 'val' fake keyword must resolve to before ↵Reinier Zwitserloot
val works, as a gesture to make val less 'magical'. It even works, in eclipse. Next up: javac.
2010-11-19Fix for reported NPEs by Stephen Haberman.Reinier Zwitserloot
2010-11-15Added copyright notices to PatchVal and PatchDelegate [trivial]Reinier Zwitserloot
2010-11-14Moved patch code specific to val and delegate to their own class.Reinier Zwitserloot
@Delegate in eclipse works pretty much exactly as designed at this point!