Stéphane Nicoll
4983a802a7
Polish "Fix Javadoc"
...
See gh-32403
2 years ago
Maksim Sasnouski
abdccffa39
Fix Javadoc
...
This commit fixes various Javadoc issues across the code base.
See gh-32403
2 years ago
Juergen Hoeller
c1287d48e2
Polishing
2 years ago
Sébastien Deleuze
45c21042f6
Optimize Kotlin inline class checks
...
This commit fixes a performance regression caused by gh-31698,
and more specifically by KClass#isValue invocations which are slow since
they load the whole module to find the class to get the descriptor.
After discussing with the Kotlin team, it has been decided that only
checking for the presence of `@JvmInline` annotation is enough for
Spring use case.
As a consequence, this commit introduces a new
KotlinDetector#isInlineClass method that performs such check, and
BeanUtils, CoroutinesUtils and WebMVC/WebFlux InvocableHandlerMethod
have been refined to leverage it.
Closes gh-32334
2 years ago
Juergen Hoeller
479879c53a
Polishing
2 years ago
Juergen Hoeller
2e57603310
Try type conversion for unique fallback write method as well
...
Closes gh-32329
See gh-32159
2 years ago
Juergen Hoeller
41433d445e
Polishing
2 years ago
Juergen Hoeller
7ffeb59b40
Polishing
2 years ago
Juergen Hoeller
93f0ec2fa1
Polishing
2 years ago
Stéphane Nicoll
6b8105aef2
Update copyright year of changed files
...
See gh-32281
2 years ago
Patrick Strawderman
481283d2f1
Use Spliterator of underlying collection
...
Delegate to the spliterator method of the underlying collection in
MutablePropertyValues and MutablePropertySources. In both cases, those
collection types have specialized Spliterator implementations.
Delegating to these Spliterators also means the characteristics of the
Spliterator are properly set.
See gh-32281
2 years ago
Sébastien Deleuze
cc6dd19324
Polishing
2 years ago
Yanming Zhou
615973cce4
Fix assertion in BeanWrapperAutoGrowingTests
...
See gh-32176
2 years ago
Juergen Hoeller
00577ed80a
Polishing
2 years ago
Juergen Hoeller
9b2b485444
Disabled test for auto-growing nested map values
...
See gh-32154
2 years ago
Juergen Hoeller
af5acb6d34
Avoid pre-conversion attempt in case of overloaded write methods
...
Closes gh-32159
See gh-31872
2 years ago
Sam Brannen
db535863dd
Consistently use class literals for primitive types
...
To improve consistency and avoid confusion regarding primitive types
and their wrapper types, this commit ensures that we always use class
literals for primitive types.
For example, instead of using the `Void.TYPE` constant, we now
consistently use `void.class`.
2 years ago
Juergen Hoeller
c5a75219ce
Compare qualifier value arrays with equality semantics
...
Closes gh-32106
2 years ago
Stéphane Nicoll
f5b0d9509d
Polish
2 years ago
Stéphane Nicoll
0c42965fc3
Polish
2 years ago
Sébastien Deleuze
5c77c3739e
Find destroy methods in superclass interfaces
...
Related tests will be added in
https://github.com/spring-projects/spring-aot-smoke-tests .
Closes gh-32006
2 years ago
Stéphane Nicoll
1f2d29ee08
Polish
2 years ago
Juergen Hoeller
43107e7eb1
Propagate arguments for dynamic prototype-scoped advice
...
Closes gh-28407
2 years ago
Sam Brannen
580d9f81e2
Polishing
2 years ago
Sam Brannen
4b6126c057
Polishing
2 years ago
Sam Brannen
476ef0c3ca
Introduce basic unit test for AutowiredAnnotationBeanPostProcessor.processInjection()
2 years ago
Stefano Cordio
be9ee9112c
Upgrade to AssertJ 3.25.1, use AssertJ BOM
...
Closes gh-31945
2 years ago
Sam Brannen
ffddbb586e
Upgrade to AssertJ 3.25.0
2 years ago
Stéphane Nicoll
e22d1efdc0
Update copyright year of changed files
...
See gh-31930
2 years ago
Johnny Lim
ff8097d37c
Polish
...
See gh-31930
2 years ago
Stéphane Nicoll
7d44a4dcad
Polish
2 years ago
Juergen Hoeller
0ad3800f54
Polishing
2 years ago
Stéphane Nicoll
eefe65d95a
Upgrade copyright year of changed files
...
See gh-31916
2 years ago
Yanming Zhou
ea5ef098cf
Use Map.computeIfAbsent() where feasible
...
See gh-31916
2 years ago
Stéphane Nicoll
adcf236a3d
Polish "Use Object.equals() where feasible"
...
See gh-31916
2 years ago
Yanming Zhou
72a9864788
Use Object.equals() where feasible
...
See gh-31916
2 years ago
Yanming Zhou
db2c532c07
Use auto boxing and unboxing where feasible
...
See gh-31916
2 years ago
Yanming Zhou
4a450c6fab
Use enhanced for loop where feasible
...
See gh-31916
2 years ago
Yanming Zhou
a35384fd57
Use text block where feasible
...
See gh-31916
2 years ago
Stéphane Nicoll
7e5afc8bbb
Update copyright year of changed files
...
See gh-31913
2 years ago
Yanming Zhou
7474af4f09
Cleanup kotlin sources
...
1. remove unused import
2. remove redundant semicolon
3. remove redundant empty constructor and SAM-constructor
4. remove unnecessary type argument
5. adjust indent
See gh-31913
2 years ago
Juergen Hoeller
fc0ea465e1
Clarify expectations for getBean call with provided arguments
...
Closes gh-24955
2 years ago
Juergen Hoeller
bd65a19d71
Introduce write method fallback step for overloaded setter methods
...
Closes gh-31872
2 years ago
Juergen Hoeller
4c0d0ba5b3
Use standard String comparison in PropertyDescriptorComparator
...
Closes gh-31866
2 years ago
Stéphane Nicoll
d0574197ea
Polish "Use String.repeat instead of explicit cycle"
...
See gh-31802
2 years ago
Adam Ostrožlík
63b2787da6
Use String.repeat instead of explicit cycle
...
See gh-31802
2 years ago
dogglezz
503ccb577c
Remove unused imports
...
Closes gh-31851
2 years ago
Juergen Hoeller
d4406507d0
Polishing
2 years ago
Juergen Hoeller
cd64e6676c
Prepare method overrides when bean class gets resolved
...
See gh-31826
2 years ago
Stéphane Nicoll
409cecfff9
Add custom code generation for bean definition property values
...
This commits allows ValueCodeGenerator$Delegate implementations to be
loaded from `META-INF/spring/aot.factories` and considered for code
generation of bean definition property values. This default behavior
in DefaultBeanRegistrationCodeFragments can be customized as usual.
Closes gh-31427
2 years ago