mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-07-28 12:52:51 +07:00
check for conflicts with escalate visibility setting on (IDEA-88719)
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
class Foo {
|
||||
|
||||
}
|
||||
|
||||
class FooImpl extends Foo {
|
||||
private void fo<caret>o(){}
|
||||
void bar() {
|
||||
foo();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
class Foo {
|
||||
|
||||
protected void foo(){}
|
||||
}
|
||||
|
||||
class FooImpl extends Foo {
|
||||
void bar() {
|
||||
foo();
|
||||
}
|
||||
}
|
||||
@@ -117,6 +117,10 @@ public class PullUpTest extends LightRefactoringTestCase {
|
||||
|
||||
public void testTypeParamsConflictingNames() throws Exception {
|
||||
doTest(false, new RefactoringTestUtil.MemberDescriptor("foo", PsiMethod.class));
|
||||
}
|
||||
|
||||
public void testEscalateVisibility() throws Exception {
|
||||
doTest(false, new RefactoringTestUtil.MemberDescriptor("foo", PsiMethod.class));
|
||||
}
|
||||
|
||||
private void doTest(RefactoringTestUtil.MemberDescriptor... membersToFind) throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user