mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-11 02:39:37 +07:00
They are basically the same Improvement for IDEA-334398 GitOrigin-RevId: 1d29fed1c229ed3d41c89902dfe578ab1610f989
17 lines
377 B
Java
17 lines
377 B
Java
sealed interface AddUserError {
|
|
|
|
non-sealed class NameIsEmpty implements AddUserError {
|
|
final static class T4 extends NameIsTooLong.T3 {}
|
|
}
|
|
|
|
non-sealed class NameIsTooLong implements AddUserError {
|
|
static class T extends NameIsEmpty{}
|
|
static class T3 extends T{}
|
|
}
|
|
}
|
|
class Test {
|
|
|
|
public static AddUserError TryAddUser() {
|
|
return new AUE.<caret>
|
|
}
|
|
} |