Mercurial > hg > graal-compiler
comparison graal/com.oracle.truffle.api.dsl/src/com/oracle/truffle/api/dsl/TypeCheck.java @ 16763:e6d15134ca86
Truffle-DSL: fixed formatting problems.
author | Christian Humer <christian.humer@gmail.com> |
---|---|
date | Mon, 11 Aug 2014 16:21:54 +0200 |
parents | f3a5036cc13c |
children | 3ea386a1036f |
comparison
equal
deleted
inserted
replaced
16762:ea9903f9684f | 16763:e6d15134ca86 |
---|---|
55 * <pre> | 55 * <pre> |
56 * | 56 * |
57 * | 57 * |
58 * {@literal @}TypeSystem(types = {int.class, BigInteger.class, String.class}, nodeBaseClass = TypedNode.class) | 58 * {@literal @}TypeSystem(types = {int.class, BigInteger.class, String.class}, nodeBaseClass = TypedNode.class) |
59 * public abstract class Types { | 59 * public abstract class Types { |
60 * | 60 * |
61 * {@literal @}TypeCheck | 61 * {@literal @}TypeCheck |
62 * public boolean isBigInteger(Object value) { | 62 * public boolean isBigInteger(Object value) { |
63 * return value instanceof Integer || value instanceof BigInteger; | 63 * return value instanceof Integer || value instanceof BigInteger; |
64 * } | 64 * } |
65 * | 65 * |
66 * {@literal @}TypeCheck | 66 * {@literal @}TypeCheck |
67 * public boolean isBigInteger(int value) { | 67 * public boolean isBigInteger(int value) { |
68 * return true; | 68 * return true; |
69 * } | 69 * } |
70 * | 70 * |
71 * } | 71 * } |
72 * </pre> | 72 * </pre> |
73 * | 73 * |
74 * | 74 * |
75 */ | 75 */ |