Skip to content

Commit

Permalink
fix(provider): return immediately in handleFromType for PsiClassType
Browse files Browse the repository at this point in the history
- Modify JavaPsiElementDataBuilder to return immediately when processing PsiClassType.
- Bump plugin version to 1.8.11.
  • Loading branch information
phodal committed Sep 8, 2024
1 parent e4a173a commit 6c92163
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ pluginGroup = com.phodal.autodev
pluginName = AutoDev
pluginRepositoryUrl = https://github.com/unit-mesh/auto-dev
# SemVer format -> https://semver.org
pluginVersion = 1.8.9-SNAPSHOT
pluginVersion = 1.8.11

# Supported IDEs: idea, pycharm
baseIDE=idea
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ open class JavaPsiElementDataBuilder : PsiElementDataBuilder {

private fun handleFromType(parameter: PsiParameter): Map<@NlsSafe String, String> {
when (val type = parameter.type) {
is PsiClassType -> processingClassType(type)
is PsiClassType -> return processingClassType(type)
}

return emptyMap()
Expand Down

0 comments on commit 6c92163

Please sign in to comment.