Mercurial > hg > graal-jvmci-8
comparison graal/com.oracle.truffle.api.codegen/src/com/oracle/truffle/api/codegen/GeneratedBy.java @ 8248:c4c3f50fa9c2
Fixes for codegen builtins support.
author | Christian Humer <christian.humer@gmail.com> |
---|---|
date | Tue, 12 Mar 2013 11:37:32 +0100 |
parents | 5e3d1a68664e |
children |
comparison
equal
deleted
inserted
replaced
8247:5b08b0f4d338 | 8248:c4c3f50fa9c2 |
---|---|
23 package com.oracle.truffle.api.codegen; | 23 package com.oracle.truffle.api.codegen; |
24 | 24 |
25 import java.lang.annotation.*; | 25 import java.lang.annotation.*; |
26 | 26 |
27 /** | 27 /** |
28 * Marks a type to be generated by another class. | 28 * Marks a type to be generated by another class or a method. |
29 */ | 29 */ |
30 @Retention(RetentionPolicy.CLASS) | 30 @Retention(RetentionPolicy.RUNTIME) |
31 @Target({ElementType.TYPE}) | 31 @Target({ElementType.TYPE}) |
32 public @interface GeneratedBy { | 32 public @interface GeneratedBy { |
33 | 33 |
34 Class<?> value(); | 34 Class<?> value(); |
35 | 35 |
36 String methodName() default ""; | |
37 | |
36 } | 38 } |