mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-26 19:06:24 +07:00
tests for IDEA-CR-29186
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
// "Replace method call with Test.mmm2" "true"
|
||||
class Test {
|
||||
static void example() {
|
||||
Test t = new Test();
|
||||
t.mmm2("");
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated use {@link #mmm1(int)} or {@link #mmm2(String)} instead
|
||||
*/
|
||||
void mmm(String t) {
|
||||
}
|
||||
|
||||
void mmm1(int string) {
|
||||
|
||||
}
|
||||
void mmm2(String string) {
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
// "Replace method call with Test.mmm2" "true"
|
||||
class Test {
|
||||
static void example() {
|
||||
Test t = new Test();
|
||||
t.m<caret>mm("");
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated use {@link #mmm1(int)} or {@link #mmm2(String)} instead
|
||||
*/
|
||||
void mmm(String t) {
|
||||
}
|
||||
|
||||
void mmm1(int string) {
|
||||
|
||||
}
|
||||
void mmm2(String string) {
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user