mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-17 20:11:25 +07:00
[java-intentions] DefineParamsDefaultValueAction: do not copy @Override annotation
GitOrigin-RevId: ca02de483aeeab6e7a516a839edda6cae1515195
This commit is contained in:
committed by
intellij-monorepo-bot
parent
15eef62c4e
commit
514e918516
@@ -0,0 +1,13 @@
|
||||
// "Generate overloaded method with default parameter values" "true"
|
||||
class Test {
|
||||
void method(int x, int y) {}
|
||||
|
||||
static class SubTest extends Test {
|
||||
void method() {
|
||||
method(0, 0);
|
||||
}
|
||||
|
||||
@Override
|
||||
void method(int x, int y) {}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
// "Generate overloaded method with default parameter values" "true"
|
||||
class Test {
|
||||
void method(int x, int y) {}
|
||||
|
||||
static class SubTest extends Test {
|
||||
@Override
|
||||
void meth<caret>od(int x, int y) {}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user