Mercurial > hg > truffle
comparison truffle/com.oracle.truffle.api.dsl/src/com/oracle/truffle/api/dsl/Specialization.java @ 22325:414e82b9fc35
Release 0.9 is out, let's remove deprecated elements from the API
author | Jaroslav Tulach <jaroslav.tulach@oracle.com> |
---|---|
date | Fri, 23 Oct 2015 20:23:00 +0200 |
parents | dc83cc1f94f2 |
children |
comparison
equal
deleted
inserted
replaced
22324:ad67d348e361 | 22325:414e82b9fc35 |
---|---|
117 * @see UnsupportedSpecializationException | 117 * @see UnsupportedSpecializationException |
118 */ | 118 */ |
119 @Retention(RetentionPolicy.RUNTIME) | 119 @Retention(RetentionPolicy.RUNTIME) |
120 @Target({ElementType.METHOD}) | 120 @Target({ElementType.METHOD}) |
121 public @interface Specialization { | 121 public @interface Specialization { |
122 | |
123 /** | |
124 * @deprecated do not use anymore. Will get removed in the next release. | |
125 */ | |
126 @Deprecated int DEFAULT_ORDER = -1; | |
127 | |
128 /** | |
129 * @deprecated use declaration order instead. Will get removed in the next release. | |
130 */ | |
131 @Deprecated | |
132 int order() default DEFAULT_ORDER; | |
133 | |
134 /** | 122 /** |
135 * References a specialization of a super class by its method name where this specialization is | 123 * References a specialization of a super class by its method name where this specialization is |
136 * inserted before. The declaration order of a specialization is not usable for nodes where | 124 * inserted before. The declaration order of a specialization is not usable for nodes where |
137 * specializations are partly declared in the super class and partly declared in a derived | 125 * specializations are partly declared in the super class and partly declared in a derived |
138 * class. By default all specializations declared in the derived class are appended to those in | 126 * class. By default all specializations declared in the derived class are appended to those in |