inline method: do not check for inaccessibility if referenced member would be also inlined (IDEA-78941 )

This commit is contained in:
anna
2011-12-16 10:01:03 +01:00
parent c8c3007e4a
commit d2bab883bd
4 changed files with 59 additions and 4 deletions

View File

@@ -170,6 +170,10 @@ public class InlineMethodTest extends LightRefactoringTestCase {
public void testSuperMethodInAnonymousClass() throws Exception {
doTest();
}
public void testInlineAnonymousClassWithPrivateMethodInside() throws Exception {
doTest();
}
private void doTest() throws Exception {
String name = getTestName(false);