IDEA-87040 JavaDoc @link autocompletion is inconsistent with JavaDoc rendering when used on static fields

This commit is contained in:
peter
2012-06-07 12:25:21 +02:00
parent 07867094cb
commit 49a2eee0ce
4 changed files with 27 additions and 2 deletions
@@ -0,0 +1,10 @@
public class TestClass {
public static final int MY_CONSTANT = 0;
/**
* {@link #MY<caret>
*/
public class Inner {}
}
@@ -0,0 +1,10 @@
public class TestClass {
public static final int MY_CONSTANT = 0;
/**
* {@link #MY_CONSTANT<caret>
*/
public class Inner {}
}
@@ -176,6 +176,10 @@ public class JavadocCompletionTest extends LightFixtureCompletionTestCase {
doTest();
}
public void testFieldReferenceInInnerClassJavadoc() throws Throwable {
doTest();
}
public void testShortenClassReference() throws Throwable { doTest(); }
public void testQualifiedClassReference() throws Throwable {
configureByFile(getTestName(false) + ".java");