File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
src/processor/java/org/truffleruby/processor Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change 19
19
import javax .lang .model .type .TypeKind ;
20
20
import javax .lang .model .type .TypeMirror ;
21
21
22
- import com .oracle .truffle .api .dsl .CachedLanguage ;
23
22
import org .truffleruby .builtins .CoreMethod ;
24
23
25
24
import com .oracle .truffle .api .dsl .Cached ;
26
- import com .oracle .truffle .api .dsl .CachedContext ;
27
25
import com .oracle .truffle .api .dsl .Specialization ;
28
26
import com .oracle .truffle .api .library .CachedLibrary ;
29
27
@@ -214,9 +212,7 @@ private static int getLastParameterIndex(List<? extends VariableElement> paramet
214
212
// Ignore all the @Cached methods from our consideration.
215
213
while (n >= 0 &&
216
214
(parameters .get (n ).getAnnotation (Cached .class ) != null ||
217
- parameters .get (n ).getAnnotation (CachedLibrary .class ) != null ||
218
- parameters .get (n ).getAnnotation (CachedContext .class ) != null ||
219
- parameters .get (n ).getAnnotation (CachedLanguage .class ) != null )) {
215
+ parameters .get (n ).getAnnotation (CachedLibrary .class ) != null )) {
220
216
n --;
221
217
}
222
218
return n ;
You can’t perform that action at this time.
0 commit comments