mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 13:39:36 +07:00
[java-completion] JavaNoVariantsDelegator: avoid redundant chains of nested classes
Fixes IDEA-334398 Code completion of nested types suggests confusing levels of nesting GitOrigin-RevId: 206fc2b9f4a6501720b7bc95e79d981b20450823
This commit is contained in:
committed by
intellij-monorepo-bot
parent
3f492d6bec
commit
db535a5a08
@@ -0,0 +1,13 @@
|
||||
sealed interface AddUserError {
|
||||
|
||||
final class NameIsEmpty implements AddUserError {}
|
||||
|
||||
final class NameIsTooLong implements AddUserError {}
|
||||
}
|
||||
|
||||
class Test {
|
||||
|
||||
public static AddUserError TryAddUser() {
|
||||
return new AUE.<caret>
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user