changeset 22127:5a0cccf023c4

Wrap annotation into @code or @link sections
author Jaroslav Tulach <jaroslav.tulach@oracle.com>
date Thu, 03 Sep 2015 16:29:30 +0200
parents 7d4e42092f39
children f879b1fe3773
files truffle/com.oracle.truffle.api.dsl/src/com/oracle/truffle/api/dsl/Cached.java
diffstat 1 files changed, 7 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/truffle/com.oracle.truffle.api.dsl/src/com/oracle/truffle/api/dsl/Cached.java	Thu Sep 03 16:17:00 2015 +0200
+++ b/truffle/com.oracle.truffle.api.dsl/src/com/oracle/truffle/api/dsl/Cached.java	Thu Sep 03 16:29:30 2015 +0200
@@ -71,7 +71,7 @@
  * </p>
  *
  * <pre>
- * @NodeChild("operand")
+ * {@link NodeChild @NodeChild}("operand")
  * abstract TestNode extends Node {
  *   abstract void execute(Object operandValue);
  *   // ... example here ...
@@ -86,7 +86,7 @@
  *
  * <pre>
  *  &#064;Specialization
- *  void doCached(int operand, @Cached(&quot;operand&quot;) int cachedOperand) {
+ *  void doCached(int operand, {@code @Cached}(&quot;operand&quot;) int cachedOperand) {
  *      CompilerAsserts.compilationConstant(cachedOperand);
  *      ...
  *  }
@@ -112,7 +112,7 @@
  *
  * <pre>
  * &#064;Specialization(guards = &quot;operand == cachedOperand&quot;)
- * void doCached(int operand, @Cached(&quot;operand&quot;) int cachedOperand) {
+ * void doCached(int operand, {@code @Cached}(&quot;operand&quot;) int cachedOperand) {
  *    CompilerAsserts.compilationConstant(cachedOperand);
  *    ...
  * }
@@ -140,7 +140,7 @@
  *
  * <code>
  * &#064;Specialization(guards = &quot;operand == cachedOperand&quot;)
- * void doCached(int operand, @Cached(&quot;operand&quot;) int cachedOperand) {
+ * void doCached(int operand, {@code @Cached}(&quot;operand&quot;) int cachedOperand) {
  *    CompilerAsserts.compilationConstant(cachedOperand);
  *    ...
  * }
@@ -173,7 +173,7 @@
  *
  * <pre>
  * &#064;Specialization
- * void s(int operand, @Cached(&quot;transformLocal(operand)&quot;) int cachedOperand) {
+ * void s(int operand, {@code @Cached}(&quot;transformLocal(operand)&quot;) int cachedOperand) {
  * }
  *
  * int transformLocal(int operand) {
@@ -188,7 +188,7 @@
  *
  * <pre>
  * &#064;Specialization
- * void s(Object operand, @Cached(&quot;new()&quot;) OtherNode someNode) {
+ * void s(Object operand, {@code @Cached}(&quot;new()&quot;) OtherNode someNode) {
  *     someNode.execute(operand);
  * }
  *
@@ -209,7 +209,7 @@
  *
  * <pre>
  * &#064;Specialization
- * void s(int operand, @Cached(&quot;create()&quot;) BranchProfile profile) {
+ * void s(int operand, {@code @Cached}(&quot;create()&quot;) BranchProfile profile) {
  * }
  * </pre>
  *