generated from JetBrains/intellij-platform-plugin-template
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(java): resolve issue with resolving classes in JavaTypeUtil
The `resolveByType` function in `JavaTypeUtil.kt` was not correctly resolving classes when the `outputType` is a `PsiClassReferenceType`. This was due to a bug where the `outputType.resolve()` was being called multiple times. This commit fixes the issue by storing the resolved class in a variable and using it for comparison and assignment. Additionally, the error message in `JavaWriteTestService.kt` was not correctly interpolating the `parentDirPath` variable. This commit fixes the issue by using string interpolation to correctly display the error message.
- Loading branch information
Showing
2 changed files
with
8 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters