Mercurial > hg > truffle
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> * @Specialization - * void doCached(int operand, @Cached("operand") int cachedOperand) { + * void doCached(int operand, {@code @Cached}("operand") int cachedOperand) { * CompilerAsserts.compilationConstant(cachedOperand); * ... * } @@ -112,7 +112,7 @@ * * <pre> * @Specialization(guards = "operand == cachedOperand") - * void doCached(int operand, @Cached("operand") int cachedOperand) { + * void doCached(int operand, {@code @Cached}("operand") int cachedOperand) { * CompilerAsserts.compilationConstant(cachedOperand); * ... * } @@ -140,7 +140,7 @@ * * <code> * @Specialization(guards = "operand == cachedOperand") - * void doCached(int operand, @Cached("operand") int cachedOperand) { + * void doCached(int operand, {@code @Cached}("operand") int cachedOperand) { * CompilerAsserts.compilationConstant(cachedOperand); * ... * } @@ -173,7 +173,7 @@ * * <pre> * @Specialization - * void s(int operand, @Cached("transformLocal(operand)") int cachedOperand) { + * void s(int operand, {@code @Cached}("transformLocal(operand)") int cachedOperand) { * } * * int transformLocal(int operand) { @@ -188,7 +188,7 @@ * * <pre> * @Specialization - * void s(Object operand, @Cached("new()") OtherNode someNode) { + * void s(Object operand, {@code @Cached}("new()") OtherNode someNode) { * someNode.execute(operand); * } * @@ -209,7 +209,7 @@ * * <pre> * @Specialization - * void s(int operand, @Cached("create()") BranchProfile profile) { + * void s(int operand, {@code @Cached}("create()") BranchProfile profile) { * } * </pre> *