IDEA-48145 (decompile class references in annotations)

This commit is contained in:
Roman Shevchenko
2013-05-02 16:39:28 +02:00
parent ae2a45724a
commit 11cf7f7d4d
6 changed files with 32 additions and 4 deletions
@@ -0,0 +1,12 @@
// IntelliJ API Decompiler stub source generated from a class file
// Implementation of methods is not available
package pkg;
class ClassRefs {
@pkg.AnnWithTypeLocal(type = java.lang.String.class)
public static final java.lang.Class<?> cls;
ClassRefs() { /* compiled code */ }
}
@@ -0,0 +1,10 @@
package pkg;
class ClassRefs {
@AnnWithTypeLocal(type = String.class)
public static final Class<?> cls = String.class; // class refs are set from class initaializer
}
@interface AnnWithTypeLocal {
Class type();
}