Initial support of annotation loading at runtime

In order to locate an annotated entity, we need to implement almost the whole
Java element model (which will be used anyway for Java descriptor loading)
This commit is contained in:
Alexander Udalov
2014-08-26 16:18:56 +04:00
parent 356f54b5df
commit 73e4287aee
18 changed files with 524 additions and 52 deletions
@@ -1,5 +1,12 @@
// SKIP_IN_RUNTIME_TEST because there's no stable way to determine if a field is initialized with a non-null value in runtime
package test;
public class StaticFinal {
public static final String foo = "aaa";
public static final String publicNonNull = "aaa";
public static final String publicNull = null;
static final String packageNonNull = "bbb";
static final String packageNull = null;
private static final String privateNonNull = "bbb";
private static final String privateNull = null;
}