Commit Graph
3074 Commits
Author SHA1 Message Date
Reinier Zwitserloot 28fbff467b [issue #285] Compiling with Maven+Tycho should now work 2020-10-30 04:48:52 +01:00
Roel Spilker 647c36f016 Update changelog 2020-10-29 23:02:50 +01:00
Rawi01 5095cfaac9 [#2612] Set VarSymbol.owner 2020-10-29 22:57:46 +01:00
Rawi01 dfbd843e5a [#2612] VarSymbol.adr is a bit field 2020-10-29 22:57:46 +01:00
Rawi01 f04ee37f6b [#2612] VarSymbol.adr is required for flow analysis in Netbeans 2020-10-29 22:57:46 +01:00
Reinier Zwitserloot bfb9435daa [versioning] post-release version bump 2020-10-15 23:42:03 +02:00
Reinier Zwitserloot 737dc6e433 [versioning] pre-release version bump 2020-10-15 23:24:04 +02:00
Reinier Zwitserloot 065616aea1 [#2599] Completely rewrite how we decide whether it's ecj or eclipse for patching 2020-10-15 23:22:16 +02:00
Roel Spilker bda0da2722 Update changelog 2020-10-15 23:19:58 +02:00
Reinier Zwitserloot b0c5654195 [versioning] post-release version bump 2020-10-09 15:25:31 +02:00
Reinier Zwitserloot 76067c78fb [versioning] pre-release version bump 2020-10-08 20:35:56 +02:00
Reinier Zwitserloot ac3b47d79e Merge branch 'javadoc-fix' of git://github.com/Rawi01/lombok into Rawi01-javadoc-fix
# Conflicts:
#	src/eclipseAgent/lombok/eclipse/agent/PatchJavadoc.java
2020-10-08 20:18:06 +02:00
Reinier Zwitserloot 96d02e66b7 [fixup] Fixing up the checkerframework @CalledMethods annotation package rename from commit 390ebcf 2020-10-08 20:17:22 +02:00
Reinier Zwitserloot fd16774154 Merge pull request #2595 from mernst/rename-builder-to-calledmethods
The Object Construction Checker has been renamed the Called Methods Checker
2020-10-08 20:11:30 +02:00
Reinier Zwitserloot 2666a923e6 [deps] bumped lombok.patcher dep to v0.38, which adds ASM9 support.
This makes lombok better at handling e.g. javac15.
2020-10-08 20:10:52 +02:00
Rawi01 29d34186f7 [fixes #2592] Find ProcessingEnvironment in InteliJ 2020.3 and Kotlin 2020-10-08 14:06:23 +02:00
Michael Ernst 0e7b8c9aee Add Michael Ernst to AUTHORS file 2020-10-04 17:27:31 -07:00
Michael Ernst 390ebcf293 The Object Construction Checker has been renamed the Called Methods Checker 2020-10-04 07:46:37 -07:00
Reinier Zwitserloot 58545cec67 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	src/core/lombok/javac/handlers/HandleEqualsAndHashCode.java
2020-10-03 23:56:41 +02:00
Reinier Zwitserloot 14cce76805 [builder] big refactor: Fixing CheckerFramework features + all params now in an object
These handlers had methods with humongous argument lists, and they needed to grow even more in order
to accommodate some new needs to properly implement checkerframework (where annos can be type-use
based, which means they were being put in the wrong place.

void foo(com.foo.@X Bar paramName) // correct
void foo(@X com.foo.Bar paramName) // wrong

For example, the CalledMethod annotation is a type-use annotation.

This commit covers both that refactor and fixing checkerframework generation.
2020-10-03 23:55:10 +02:00
Reinier Zwitserloot 07e921d2b1 [javac] Added/improved support for the 'receiver parameter' feature 2020-10-03 23:52:15 +02:00
Reinier Zwitserloot 1b534d17d3 Untangling patches to classes that only exist in eclipse, not ecj
Specifically, Rawi01's patches to make javadoc behaviour in eclipse better,
which cannot be applied to ecj as you get load errors (javadoc not a thing there).

As part of this commit, tests can be limited to ecj or eclipse, and I made cut-down
versions of a few tests (to run on ecj, as the main one cannot be, due to javadoc issues).

The tests now marked as eclipse only don't fail on ecj, but they don't generate the same
result. Alternatively, we could go with a separated out after-ecj and after-eclipse dir
instead, but that's perhaps going overboard.
2020-10-03 23:51:33 +02:00
Reinier Zwitserloot eadd3b8cce [checkerframework] they seem to have renamed a lot of their newer features. 2020-10-03 23:45:07 +02:00
Rawi01 4f763367f1 Rename TryWithResourcesVarRef 2020-10-02 18:32:29 +02:00
Roel Spilker 2ba65d105d Cache hashCode:
- Fix bug where 0 would be returned once
- Fix Eclipse position error
- Don't initialize field with default value 0
2020-09-25 00:13:50 +02:00
Andre Brait ee6c0ca7f2 Remove warning for final classes 2020-09-24 22:25:15 +02:00
Andre Brait 8d004c0638 Allow non-final types, use Integer.MIN_VALUE
Allow caching hash code for non-final classes (but will warn)
Use Integer.MIN_VALUE to differentiate uncached and 0 cached
2020-09-24 22:25:15 +02:00
Andre Brait 0808d4271a Remove CacheStrategy compilation unit for javac 2020-09-24 22:25:15 +02:00
Andre Brait 32db0ef710 Generate Pure annotation for cached hashCode 2020-09-24 22:25:15 +02:00
Andre Brait c91a7dc8ca Undo unnecessary change, add TODO 2020-09-24 22:25:15 +02:00
Andre BraitandRawi01 a4866a8d23 Add missing set source/statement start/end
Co-authored-by: Rawi01 <Rawi01@users.noreply.github.com>
2020-09-24 22:25:15 +02:00
Andre BraitandRawi01 a8a811b245 Fix using source start instead of source end
Co-authored-by: Rawi01 <Rawi01@users.noreply.github.com>
2020-09-24 22:25:15 +02:00
Andre Brait 04a10be919 Change documentation to reflect code 2020-09-24 22:25:15 +02:00
Andre Brait b62ce8fb2f Fix typo 2020-09-24 22:25:15 +02:00
Andre Brait 4788df3fb3 Readd line removed by Eclipse 2020-09-24 22:25:15 +02:00
Andre Brait beec8309ef Removed unused imports 2020-09-24 22:25:15 +02:00
Andre Brait 2aea0cb3d2 Fix delombok tests 2020-09-24 22:25:15 +02:00
Andre Brait 03d1119e08 Revert unnecessary changes 2020-09-24 22:25:15 +02:00
Andre Brait d00ab552e1 Finish implementation, add tests 2020-09-24 22:25:15 +02:00
Andre Brait 4e0ffbc329 Eclipse impl and tests 2020-09-24 22:25:15 +02:00
Andre Brait b78a6af49c Restore some missing white spaces removed by IDEA 2020-09-24 22:25:15 +02:00
Andre Brait 3019e73f96 Attempt to implement cacheHashCode 2020-09-24 22:25:15 +02:00
Rawi01 f397c2b482 [fixes #2586] Add Java 15 support for delombok 2020-09-24 22:19:01 +02:00
Reinier Zwitserloot 1ced413ccb [deps] added some deps used during eclipse testing. 2020-09-24 22:15:31 +02:00
Reinier Zwitserloot fa89a5b007 [builder] [refactor] # of params was growing to ridiculous proportions.
refactored to use a single object with a bunch of fields so we can pass this object around instead.
2020-09-20 03:37:07 +02:00
Rawi01 f2698ea13d Add missing null check 2020-09-18 13:01:52 +02:00
Reinier Zwitserloot f6a6f9deb5 [trivial] [typo] 2020-09-18 03:43:42 +02:00
Reinier Zwitserloot 25f91eb7b2 Merge pull request #2560 from Rawi01/extensionmethod-names
Detect static method access properly
2020-09-18 02:32:34 +02:00
Reinier Zwitserloot 1dd84581c0 Merge pull request #2558 from Rawi01/extensionmethod-suppress
Fix suppressBaseMethods in ecj/eclipse
2020-09-18 02:31:44 +02:00
Reinier Zwitserloot f43a63b1d9 Merge branch 'delegate-methods-outline' of git://github.com/Rawi01/lombok into Rawi01-delegate-methods-outline
# Conflicts:
#	src/core/lombok/eclipse/EclipseAugments.java
2020-09-18 02:30:42 +02:00