aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj
AgeCommit message (Collapse)Author
2020-11-25[fixes #2648] Reset inference context, remove generic information copyRawi01
In Java >= 8 ecj uses the inference context to resolve the generic information. This one is already set before lombok tries rewrite the method call. Simply copying the information does not cover all the different cases but reseting the inference contexts and running type inference again does.
2020-10-04The Object Construction Checker has been renamed the Called Methods CheckerMichael Ernst
2020-10-03Merge remote-tracking branch 'origin/master'Reinier Zwitserloot
# Conflicts: # src/core/lombok/javac/handlers/HandleEqualsAndHashCode.java
2020-10-03[builder] big refactor: Fixing CheckerFramework features + all params now in ↵Reinier Zwitserloot
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-03Untangling patches to classes that only exist in eclipse, not ecjReinier Zwitserloot
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-09-25Cache hashCode:Roel Spilker
- Fix bug where 0 would be returned once - Fix Eclipse position error - Don't initialize field with default value 0
2020-09-24Allow non-final types, use Integer.MIN_VALUEAndre Brait
Allow caching hash code for non-final classes (but will warn) Use Integer.MIN_VALUE to differentiate uncached and 0 cached
2020-09-24Finish implementation, add testsAndre Brait
2020-09-24Eclipse impl and testsAndre Brait
2020-09-18Merge pull request #2560 from Rawi01/extensionmethod-namesReinier Zwitserloot
Detect static method access properly
2020-09-18Merge pull request #2558 from Rawi01/extensionmethod-suppressReinier Zwitserloot
Fix suppressBaseMethods in ecj/eclipse
2020-09-18Merge branch 'eclipse-javadoc' of git://github.com/Rawi01/lombok into ↵Reinier Zwitserloot
Rawi01-eclipse-javadoc # Conflicts: # src/core/lombok/eclipse/handlers/EclipseHandlerUtil.java
2020-09-18[tests] removed a ridiculously exotic feature that still works, but is too ↵Reinier Zwitserloot
hard to test Specifically, using as custom logger topic a concatenated string, like literally `"A" + "B"`. It works, but depending on javac and phase of the moon that ends up as `"A" + "B"` or `"AB"`, and I don't think it's worthwhile for lombok to try to be consistent in this and test for that.
2020-09-12Support With(By) on records and record componentsRawi01
This also replaces the javac/eclipse specific code for searching the parent fields of an annotation by a search based on the lombok AST.
2020-09-10Add record supportRawi01
2020-08-31Merge branch 'master' into extensionmethodRawi01
Conflicts: build.xml
2020-08-31Merge branch 'master' into eclipse-javadocRawi01
Conflicts: src/core/lombok/javac/handlers/JavacHandlerUtil.java test/core/src/lombok/RunTestsViaEcj.java
2020-08-29[testing] [eclipse] [#2413] Eclipse tests now more expansiveReinier Zwitserloot
We now test generating a level2-DOM from our level1-AST (eclipse has 3 levels of ASTs, more or less), only if that is possible, i.e. only if the full eclipse is available. This requires using a test target named `eclipse-X`, and not one of the `ecjX` ones. This is the change that requires the massive update to the build system. About 6 tests, including a newly added one about @Delegate, now fail. These failures would usually not cause instant failure in eclipse, but can cause errors during save actions and will likely mess with other things in weird ways, such as messing up syntax highlighting. Yes, this commit now makes a bunch of cases fail the unit tests, but that is representative of actual errors in lombok, so I'm checking it in as is (without this commit, the problem is still there, the tests are just incapable of detecting it).
2020-08-20[fixes #2261] Detect static method access properlyRawi01
2020-08-20[bugfix] Fix suppressBaseMethods in ecj/eclipseRawi01
2020-07-29Support javadoc copying in eclipseRawi01
2020-07-23[fixes #2300] Keep method argument positions for lazy getter initializerRawi01
2020-07-10[test] this covers more eclipse versionsReinier Zwitserloot
2020-07-02[fixes #2433] Add config key to turn off @SuppressWarnings("all")Rawi01
2020-07-02[fixes #2469] Support static reference as logger topicRawi01
2020-06-25Fix broken test casesRawi01
2020-06-19#1543: First primitives, then primitive wrappers, then other referencesRoel Spilker
2020-06-18Fixes #1543: in equals, by default first compare the primitivesRoel Spilker
2020-06-11Add tests classes for rank propertysamukce
2020-06-11[fixes #2481] Copy constructor javadoc to builder methodsRawi01
2020-05-28[fixes #2006] Delegate now excludes already implemented methodsRawi01
2020-05-28[fixes #2382] Handle generic supertypesRawi01
2020-05-28[SuperBuilder] allow constructor customizationJan Rieke
2020-04-23Added tests for ExtensionMethodRawi01
2020-04-17Merge pull request #2429 from janrieke/jacksonAndSingularAnnotationCopyReinier Zwitserloot
Copy more Jackson annotation to the builder, also to @Singular methods
2020-04-17Merge pull request #2427 from Rawi01/addNullCheckReinier Zwitserloot
Add null check in copyTypeAnns
2020-04-16Merge pull request #2409 from janrieke/superBuilderFixAIOOBEReinier Zwitserloot
[SuperBuilder] fix IndexOutOfBounds (fixes #2407)
2020-04-16copy more Jackson annotation to the builder, also for @Singular methodsJan Rieke
2020-04-15[fixes #2246] Add null checkRawi01
2020-03-26[SuperBuilder] test qualified type references in extends clauseJan Rieke
2020-03-15[UtilityClass] [issue #2384] Added a test to confirm no issue.Reinier Zwitserloot
added some tests to confirm that lombok makes things static if needed.
2020-03-15[fixes #2386] [checkerframework]Reinier Zwitserloot
Now generating checkerframework `@Pure` instead of `@SideEffectFree` where appropriate.
2020-03-06[fixes #2358] self-referential generics could cause endless loops in javac.Reinier Zwitserloot
... unfortunately eclipse's val resolver is now very slightly worse in very exotic circumstances - spent about 4 hours trying to fix it, can't figure it out, let's move on.
2020-03-03@Jacksonized: modify builders that they can be used by JacksonJan Rieke
2020-02-15[issue #2368] [withBy] support for ecjReinier Zwitserloot
2020-02-14[issue #2369] [reproduction-test] inner types not detected as static if in ↵Reinier Zwitserloot
interface/enum.
2020-02-14[trivial] improving consistency between javac vs. ecj outputReinier Zwitserloot
wasn't worth an issue on the tracker: javac and ecj handlers for static constructors would differ; ecjs would specify the return type and constructor invocation using fully qualified types, whereas the handler for javac did not.
2020-02-14[fixes #678] `@Synchronize` an instance method on static variable no longer ↵Reinier Zwitserloot
emits a warning.
2020-02-11SuperBuilder javac fix for nested generic types; fixes #2359Jan Rieke
2020-02-08setter prefixes for SuperBuilderJan Rieke
setter prefixes for SuperBuilder [javac] better javadoc for the SuperBuilder setterPrefix value setter prefixes for SuperBuilder [ecj] add test for SuperBuilder setter method customization fix setter method customization with setterPrefix