Commit f740e17
authored
fix(gradle): replace internal IElementType.getDebugName() with direct type equality (#254)
* fix(gradle): replace internal IElementType.getDebugName() with direct type equality
Use direct == comparison on IElementType singleton instances instead of
comparing debug name strings via the internal getDebugName() API.
Implements TC-4167
Assisted-by: Claude Code
* ci: fail verifyPlugin on internal API usages
Configure pluginVerification to treat INTERNAL_API_USAGES as a build
failure, preventing future internal API regressions from passing CI.
Implements TC-4167
Assisted-by: Claude Code
* fix(gradle): guard against missing repositories block in build.gradle
Return null instead of throwing NoSuchElementException when the
repositories block is not found, preventing IDE crashes when querying
intentions for build.gradle files without a repositories block.
Implements TC-4167
Assisted-by: Claude Code1 parent 1682b80 commit f740e17
2 files changed
Lines changed: 16 additions & 5 deletions
File tree
- src/main/java/org/jboss/tools/intellij/componentanalysis/gradle
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
99 | 100 | | |
100 | 101 | | |
101 | 102 | | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
102 | 107 | | |
103 | 108 | | |
104 | 109 | | |
| |||
Lines changed: 11 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
31 | 35 | | |
32 | 36 | | |
33 | 37 | | |
| |||
44 | 48 | | |
45 | 49 | | |
46 | 50 | | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
51 | 54 | | |
52 | 55 | | |
53 | 56 | | |
| |||
56 | 59 | | |
57 | 60 | | |
58 | 61 | | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
59 | 66 | | |
60 | 67 | | |
61 | | - | |
62 | 68 | | |
63 | 69 | | |
64 | 70 | | |
0 commit comments