JavaParser v3.23.0 Release Notes

  • ๐Ÿ“œ issues resolved

    โž• Added

    • ๐Ÿ“œ Improving toString on CSM classes (PR #3315 by @jlerbsc)
    • โž• Add test case for issue #2210 Resolution of Method References (PR #3310 by @jlerbsc)
    • ๐Ÿ“œ Implemented method reference resolution on expressions (PR #3307 by @maartenc)
    • ๐Ÿ“œ Define if a field is volatile through the ResolvedFieldDeclaration interface - from issue #3240 (PR #3276 by @jlerbsc)
    • ๐Ÿ“œ Implemented logic for internalTypes in JavaParserAnnotationDeclaration and JavassistAnnotationDeclaration (PR #3215 by @4everTheOne)

    ๐Ÿ”„ Changed

    • ๐Ÿ“œ Check if ancestor also for super class (PR #3324 by @ReallyLiri)
    • โœ‚ Remove useless instanceof usage in Type (PR #3311 by @jlerbsc)
    • ๐Ÿ›  Fix Java 11+ AST postprocessing (PR #3302 by @matozoid)
    • ๐Ÿšš Move duplicate code to JavaParserTypeAdapter (PR #3267 by @maartenc)
    • ๐Ÿ‘Œ Improved performance when resolving types for big source files (PR #3265 by @maartenc)
    • ๐Ÿ“œ Optimizations for Node class (CPU time and Memory usage) (PR #3233 by @4everTheOne)
    • ๐Ÿ›  Fix Javadoc comment * escaping problem. (PR #3221 by @matozoid)
    • โœ‚ Remove broken link (PR #2912 by @mernst)

    ๐Ÿ›  Fixed

    • ๐Ÿ“œ Preserving field order when getting the fields declared from a ReferenceType (PR #3342 by @jlerbsc)
    • ๐Ÿ›  Fix String Index out of range in TextBlockLiteralExpr (PR #3337 by @134ARG)
    • ๐Ÿ›  Fixed prettyprinting new switch-statements (and switch-expressions). (PR #3335 by @kozsik)
    • ๐Ÿ›  Fix pretty printing of generic records (PR #3334 by @twistedsquare)
    • ๐Ÿ›  Fix issue #3317 Comment in the middle of a multi-line single statement (PR #3318 by @jlerbsc)
    • ๐Ÿ›  Fix issue 3296 LexicalPreservation bug for array brackets (PR #3316 by @jlerbsc)
    • ๐Ÿ›  Fixes Issue #3308 -- stackoverflow when resolving the FieldAccessExpr of an ArrayAccessExpr (PR #3312 by @MysterAitch)
    • ๐Ÿ›  Fix StackOverflow when resolving ClassOrInterfaceType of nested ObjectCreationExpr (PR #3279 by @maartenc)
    • ๐Ÿ“œ ResolvedMethods from javassist never had exceptions (PR #3264 by @maartenc)
    • ๐Ÿ“œ Issue 3064 conditional nested lambda (PR #3238 by @si-e)
    • ๐Ÿ“œ Further optimization in resolving in StatementContext (PR #3185 by @Col-E)
    • ๐Ÿ‘Œ Improve type resolution for duplicate names (PR #3012 by @thejk)

    Developer Changes

    • โšก๏ธ chore(deps): update dependency org.mockito:mockito-core to v3.12.4 (PR #3350 by @renovate[bot])
    • โšก๏ธ chore(deps): update dependency org.mockito:mockito-core to v3.12.3 (PR #3349 by @renovate[bot])
    • โšก๏ธ chore(deps): update codecov/codecov-action action to v2.0.3 (PR #3348 by @renovate[bot])
    • โšก๏ธ chore(deps): update dependency org.mockito:mockito-core to v3.12.2 (PR #3347 by @renovate[bot])
    • โšก๏ธ chore(deps): update dependency org.mockito:mockito-core to v3.12.1 (PR #3345 by @renovate[bot])
    • โšก๏ธ chore(deps): update dependency org.mockito:mockito-core to v3.12.0 (PR #3344 by @renovate[bot])
    • โšก๏ธ chore(deps): update dependency org.apache.maven.plugins:maven-scm-plugin to v1.11.3 (PR #3339 by @renovate[bot])
    • โฌ†๏ธ Bump codecov/codecov-action from 1.5.2 to 2.0.2 (PR #3326 by @dependabot[bot])
    • โšก๏ธ chore(deps): update dependency org.mockito:mockito-core to v3.11.2 (PR #3305 by @renovate[bot])
    • โšก๏ธ chore(deps): update dependency org.assertj:assertj-core to v3.20.2 (PR #3297 by @renovate[bot])
    • โšก๏ธ chore(deps): update dependency org.assertj:assertj-core to v3.20.0 (PR #3295 by @renovate[bot])
    • โšก๏ธ chore(deps): update dependency org.apache.maven.plugins:maven-dependency-plugin to v3.2.0 (PR #3294 by @renovate[bot])
    • โšก๏ธ chore(deps): update dependency org.mockito:mockito-core to v3.11.1 (PR #3293 by @renovate[bot])
    • โšก๏ธ chore(deps): update codecov/codecov-action action to v1.5.2 (PR #3287 by @renovate[bot])
    • โšก๏ธ chore(deps): update dependency org.mockito:mockito-core to v3.11.0 (PR #3285 by @renovate[bot])
    • โšก๏ธ chore(deps): update actions/cache action to v2.1.6 (PR #3280 by @renovate[bot])
    • โšก๏ธ chore(deps): update dependency org.apache.maven.plugins:maven-javadoc-plugin to v3.3.0 (PR #3270 by @renovate[bot])
    • โšก๏ธ chore(deps): update junit5 monorepo to v5.7.2 (PR #3262 by @renovate[bot])
    • โšก๏ธ chore(deps): update dependency org.apache.maven.plugins:maven-gpg-plugin to v3 (PR #3250 by @renovate[bot])

    :heart: Contributors

    ๐Ÿš€ Thank You to all contributors who worked on this release!