Bart van Helvert
362bcc4561
[java] Regenerate API lists with Java 23
...
The newly regenerated list is merged with the previous API list. The newly generated list uses an updated version of the generator that correctly writes canonical names for Java versions higher than 19. #IDEA-357683 Fixed
GitOrigin-RevId: 81c62964385d1daaeaf3e84306ebfbc5c77ad90a
2024-09-04 23:47:59 +00:00
Bart van Helvert
3a5d36c5f7
[jvm] Add test case for Java API usage inspection
...
Adds another test case for when a method has a certain since version but its super method has a lower since version.
GitOrigin-RevId: 5962a0f2d4549b6729fe7c303798bc04b575e5c5
2024-01-05 20:01:46 +00:00
Bart van Helvert
ba513a4d88
[jvm] Rename shared.testFramework to internal.TestFramework
...
To better highlight that this test framework is for internal usage only. #IDEA-334017
GitOrigin-RevId: c491de2411cdffd6eee3e97a6273982560572f4b
2023-10-11 23:39:50 +00:00
Bart van Helvert
4845f7164a
[jvm] Migrate JVM inspection tests to JDK 21 language and SDK
...
GitOrigin-RevId: 477fad876b95025bb48419f2510d597da6dbc9bd
2023-10-06 21:56:09 +00:00
Bart van Helvert
79bce8459f
[jvm] Split test framework into testBase and testFramework
...
Test bases should only be used in test from jvm-analysis module, the test framework can be shared in multiple modules.
GitOrigin-RevId: cbe47d864eb2c1f3f89189022d76333ed3fe3601
2023-10-06 15:10:52 +00:00
Bart van Helvert
0c29cc71a9
[jvm] Fix doc on JavaApiUsageInspectionWithCustomMockJdkTest
...
GitOrigin-RevId: 84631ed340485fd2a1b6996de3e01d5f00e81c0a
2023-06-22 15:54:47 +00:00
Anna Kozlova
b6f1aecde2
[uast visitor] optimization: convert to uast only while in qualified reference
...
otherwise we might have converted the whole file in the hope to find import statement
GitOrigin-RevId: e1d8d94b190e720509723ac8c082f0cc997c112a
2023-06-14 20:59:15 +00:00
Bart van Helvert
9ea8e1f558
[jvm] Don't warn about since API usage in comments
...
#IDEA-320735 Fixed
GitOrigin-RevId: 68050bbca10b31cc0a592fce30e7e30c8a92366b
2023-05-20 13:17:13 +00:00
Bart van Helvert
5051907237
[jvm] Rename UAST to JVM tests
...
GitOrigin-RevId: de1067837f45012f892614c80b8f41eecf726178
2023-02-11 16:00:08 +00:00
Bart van Helvert
0a12e23ace
[java] IDEA-297182 Consider overrides when finding last incompatible language level
...
GitOrigin-RevId: 84893f943abbeaf7585253873291b46859754898
2022-07-01 17:14:43 +00:00
Bart van Helvert
42bbf78087
[jvm] IJ-CR-24591 JavaApiUsage add test for a single method having multiple overrides
...
GitOrigin-RevId: 2a82185a79506406524cc6f8babcea042f187791
2022-06-10 14:50:25 +00:00
Bart van Helvert
84d512a24e
[jvm] Extract ULanguage from inspection test
...
GitOrigin-RevId: 472d2fa39da684ede334dd733b2537d8dc28c514
2022-03-22 13:06:31 +00:00
Nikita Eshkeev
401963fa86
[java][api usage] IDEA-286618 Update API list for java 18
...
Add api18.txt that contains all the new API that was introduced for Java 18
GitOrigin-RevId: 836880a9442056cab76208c9afe60e3f1331ab4a
2022-02-02 22:58:59 +00:00
Bart van Helvert
01c04210bf
[jvm] IDEA-281946 Convert Java15ApiUsageInspection to UAST
...
GitOrigin-RevId: f1045e0633514d2ca3ce50edd58c06f80ebc2662
2021-11-25 09:26:06 +00:00