This repository was archived by the owner on Mar 13, 2025. It is now read-only.
Update dependency com.github.javaparser:javaparser-core to v3.22.1 #265
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.15.14->3.22.1Release Notes
javaparser/javaparser
v3.22.1issues resolved
Added
Fixed
recordto as an identifier (PR #3256 by @MysterAitch)Developer Changes
❤️ Contributors
Thank You to all contributors who worked on this release!
v3.22.0issues resolved
API or Behaviour Change
falseinstead of throwingUnsupportedOperationException(PR #3197 by @4everTheOne)Added
Changed
falseinstead of throwingUnsupportedOperationException(PR #3197 by @4everTheOne)JavaParserSymbolDeclaration#localVarreturning old declaration) and adds tests forJavaParserSymbolDeclaration(PR #3049 by @4everTheOne)Fixed
Developer Changes
getAllAncestorsmethod (PR #3209 by @jlerbsc)❤️ Contributors
Thank You to all contributors who worked on this release!
v3.20.0issues resolved
Added
(PR #3033, by @4everTheOne)
(PR #3097, by @4everTheOne)
Changed
(PR #3109, by @4everTheOne)
@Override)(PR #3124, by @4everTheOne)
(PR #3125, by @jlerbsc)
(PR #3126, by @jlerbsc)
(PR #3043, by @dependabot)
(PR #3047, by @dependabot)
(PR #3054, by @dependabot)
(PR #3070, by @dependabot)
(PR #3110, by @dependabot)
(PR #3129, by @dependabot)
Fixed
(PR #3072, by @col-e)
(PR #3082, by @mernst)
(PR #3096, by @MaartenGDev)
(PR #3107, by @jlerbsc)
v3.19.0issues resolved
Added
(PR #2950, by @jlerbsc)
(PR #2971, by @jlerbsc)
(PR #2974, by @jlerbsc)
(PR #2976, by @jlerbsc)
(PR #2994, by @jlerbsc)
(PR #3005, by @jlerbsc)
(PR #3015, by @MysterAitch)
(PR #3046, by @4everTheOne)
(PR #3059, by @4everTheOne)
(PR #3062, by @4everTheOne)
(PR #3067, by @4everTheOne)
(PR #3068, by @4everTheOne)
(PR #3076, by @jlerbsc)
Changed
(PR #2969, by @jlerbsc)
(PR #2970, by @jlerbsc)
(PR #2972, by @jlerbsc)
(PR #2977, by @dependabot)
(PR #2983, by @jlerbsc)
(PR #2984, by @jlerbsc)
(PR #2989, by @dependabot)
(PR #2999, by @jlerbsc)
(PR #3000, by @jlerbsc)
(PR #3001, by @jlerbsc)
(PR #3002, by @jlerbsc)
(PR #3011, by @mernst)
(PR #3013, by @mernst)
(PR #3026, by @jlerbsc)
(PR #3052, by @jlerbsc)
Deprecated
PhantomNodeLogicis now deprecated, with the logic now being handled by the node itself.(PR #3002, by @jlerbsc)
Fixed
(PR #2979, by @jlerbsc)
(PR #2981, by @jlerbsc)
(PR #2982, by @jlerbsc)
(PR #3004, by @jlerbsc)
(PR #3006, by @jlerbsc)
(PR #3007, by @jlerbsc)
(PR #3019, by @jlerbsc)
(PR #3020, by @jlerbsc)
(PR #3025, by @jlerbsc)
(PR #3029, by @jlerbsc)
(PR #3031, by @4everTheOne)
(PR #3032, by @greggers123)
(PR #3055, by @jlerbsc)
(PR #3058, by @4everTheOne)
(PR #3075, by @jlerbsc)
(PR #3084, by @jlerbsc)
v3.18.0issues resolved
Added
(PR #2929, by @jlerbsc)
(PR #2946, by @jlerbsc)
(PR #2654, by @MysterAitch)
(PR #2959, by @MysterAitch)
Changed
(PR #2948, by @jlerbsc)
(PR #2949, by @jlerbsc)
(PR #2950, by @jlerbsc)
(PR #2955, by @jlerbsc)
(PR #2957, by @MysterAitch)
(PR #2942, by dependabot
Removed
(PR #2958, by @MysterAitch)
Fixed
(PR #2927, by @jlerbsc)
(PR #2930, by @jlerbsc)
(PR #2931, by @jlerbsc)
(PR #2938, by @MysterAitch)
(PR #2945, by @jlerbsc)
(PR #2947, by @jlerbsc)
(PR #2952, by @qzchenwl)
(PR #2956, by @jlerbsc)
(PR #2954, by @qzchenwl)
(PR #2939, by @zcbbpo)
Stream.<func>(<some lambda>)(PR #2961, by @qzchenwl)
(PR #2966, by @jlerbsc)
v3.17.0issues resolved
Fixed
(PR #2758, by @iTakeshi)
(PR #2918, by @jlerbsc)
(PR #2892, by @jlerbsc)
(PR #2895, by @jlerbsc)
(PR #2896, by @jlerbsc)
(PR #2898, by @jlerbsc)
(PR #2900, by @jlerbsc)
(PR #2904, by @mernst)
(PR #2916, by @jlerbsc)
(PR #2914, by @jlerbsc)
(PR #2920, by @jlerbsc)
(PR #2921, by @jlerbsc)
(PR #2795, by @jwaataja)
Changed
(PR #2893, by @mysteraitch)
(PR #2902, by Dependabot)
(PR #2903, by @mysteraitch)
(PR #2906, by @mysteraitch)
(PR #2915, by @jlerbsc)
(PR #2907, by @mysteraitch)
(PR #2901, by @mysteraitch)
(PR #2913, by @mernst)
v3.16.3issues resolved
(PRs
#2838,
#2842,
#2843,
#2852,
#2853,
#2854,
#2855,
#2867,
#2868,
#2862,
#2873,
by @jlerbsc
)
ResolvedPrimitiveType.javawhich checks if it is a boolean(PR #2856, by @jlerbsc)
ResolvedPrimitiveType.javawhich returns all numeric types(PR #2858, by @jlerbsc)
TypeHelperandResolvedPrimitveType(PR #2860, by @jlerbsc)
SymbolSolverCollectionStrategyto be set via the given parser configuration(PR #2864, by @jlerbsc)
MethodResolutionLogic.findMostApplicablenot return correct symbol reference when resolving overloaded method(PR #2866, by @jlerbsc)
AbstractSymbolResolutionTest.javawith better@BeforeEach/@AfterEach(PR #2871, by @jlerbsc)
TypeResolverfails on method with args to static imported fields(PR #2872, by @jlerbsc)
(PR #2874, by @jlerbsc)
(PR #2875, by @jlerbsc)
(PR #2876, by @jlerbsc)
(PR #2877, by @jlerbsc)
Optional.empty()for differentOptional<T>(PR #2880, by @jlerbsc)
(PR #2883, by @jlerbsc)
v3.16.2issues resolved
LineSeparatorthat can be used.(PR #2685, by @MysterAitch)
@Generatedannotation(PR #2706, by @MysterAitch)
v3.16.1issues resolved
(PR #2697, by @hfreeb)
v3.16.0issues resolved
There are two breaking changes within this release.
If you would like assistance with upgrading, get in touch.
(PR #2646, by @lemoncurry)
(PR #2679, by @MysterAitch)
JavaToken.Category.LITERAL(previouslyJavaToken.Category.KEYWORD)(PR #2679, by @MysterAitch)
(PR #2675, by @hfreeb)
synchronizedtoJavaParserFacade#get. This is specifically in response to #2668 - JavaParser is not otherwise threadsafe.(PR #2694, by @MysterAitch)
Optional<>(as do all classes which implement/extend them):ResolvedClassDeclaration#getSuperClass(),ResolvedReferenceType#getTypeDeclaration().Note that Converting to use optional should be as simple as adding
.get(), given that any cases where returningOptional.empty()causes problems would have also previously triggered aNullPointerException.You might also use
.orElseThrow().(PR #2693, by @MysterAitch)
java.lang.Object.registerNatives()removed in JDK14)(PR #2637, by @EFregnan)
(PR #2687, by @maartenc)
(PR #2674, by @maartenc)
v3.15.22issues resolved
ph-javacc-maven-pluginfrom v4.1.3 to v4.1.2(this undoes the transitive dependency update
parser-generator-ccfrom v1.1.2 to v1.1.1, which appears to have isuse with handling tokens longer than the buffer length)(#2646)
valueOfmethod(#2652)
(#2605)
(#2646)
String::valueOfin a stream map/filter)(#2662)
v3.15.21issues resolved
JarTypeSolver#getJarTypeSolver(String), with a view to later removal.(#2598)
(#2622)
(#2553)
NodeLists now correctly retain their parent when a child is replaced(#2594)
java.lang.Object)(#2608)
LexicalPreservationwould previously throw anUnsupportedOperation)(#2611)
(#2619)
v3.15.18issues resolved
(#2572 / #2581)
Improvements have been made to method
PositionUtils#nodeContains()for clarity and precision in behaviour.(#2502)
(#2585)
NodeList#getFirst(): Optional<Node>(#2502)
NodeList#getLast(): Optional<Node>(#2502)
v3.15.17issues resolved
(#2564)
isSpacesBetweenOperatorstoisSpaceAroundOperators(#2555)
v3.15.15issues resolved
configurable cache sizes for the symbol solver.
Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.