mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 08:45:34 +07:00
IDEA-89136 Constants in annotationvalues in javadoc should be clickable
also show enum constant value in documentation
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
<html><head> <style type="text/css"> #error { background-color: #eeeeee; margin-bottom: 10px; } p { margin: 5px 0; } </style></head><body><PRE>@<a href="psi_element://Bar"><code>Bar</code></a>(<a href="psi_element://Baz#CONST"><code>Baz.CONST</code></a> value = {<a href="psi_element://Baz#CONST"><code>Baz.CONST</code></a>})
|
||||
class <b>Foo</b>
|
||||
extends <a href="psi_element://java.lang.Object"><code>Object</code></a></PRE></body></html>
|
||||
@@ -0,0 +1,7 @@
|
||||
import java.lang.annotation.Documented;
|
||||
class Text { Foo foo; }
|
||||
@Bar(Baz.CONST, value = {Baz.CONST}) class Foo {}
|
||||
@Documented @interface Bar {}
|
||||
class Baz {
|
||||
static int CONST;
|
||||
}
|
||||
@@ -1,3 +1,2 @@
|
||||
E
|
||||
E A
|
||||
Enum constant ordinal: 0
|
||||
<html><head> <style type="text/css"> #error { background-color: #eeeeee; margin-bottom: 10px; } p { margin: 5px 0; } </style></head><body><small><b><a href="psi_element://E"><code>E</code></a></b></small><PRE><a href="psi_element://E"><code>E</code></a> <b>A
|
||||
Enum constant ordinal: 0</b></PRE></body></html>
|
||||
@@ -0,0 +1,3 @@
|
||||
E
|
||||
E A
|
||||
Enum constant ordinal: 0
|
||||
Reference in New Issue
Block a user