mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
inplace rename: include the whole file in rename scope. when the substitutor is located in the same file it would be included in rename process (IDEA-86294)
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
class Demo {
|
||||
class MyEvent<T> {}
|
||||
interface MyEventListener<T> {
|
||||
void action(MyEvent<T> event);
|
||||
}
|
||||
|
||||
class Driver {
|
||||
void method() {
|
||||
MyEventListener<Object> l = new MyEventListener<Object>() {
|
||||
public void ac<caret>tion(MyEvent<Object> event) {
|
||||
//To change body of implemented methods use File | Settings | File Templates.
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
class Demo {
|
||||
class MyEvent<T> {}
|
||||
interface MyEventListener<T> {
|
||||
void xxx(MyEvent<T> event);
|
||||
}
|
||||
|
||||
class Driver {
|
||||
void method() {
|
||||
MyEventListener<Object> l = new MyEventListener<Object>() {
|
||||
public void xxx(MyEvent<Object> event) {
|
||||
//To change body of implemented methods use File | Settings | File Templates.
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user