Don't load KotlinInfo annotation in resolve.java

This commit is contained in:
Alexander Udalov
2013-06-27 18:38:47 +04:00
parent 2841238567
commit cc02ba7ab4
@@ -84,7 +84,10 @@ public final class JavaAnnotationResolver {
}
// Don't process internal jet annotations and jetbrains NotNull annotations
if (qname.startsWith("jet.runtime.typeinfo.") || qname.equals(JvmAbi.JETBRAINS_NOT_NULL_ANNOTATION.getFqName().asString())) {
if (qname.startsWith("jet.runtime.typeinfo.")
|| qname.equals(JvmAbi.JETBRAINS_NOT_NULL_ANNOTATION.getFqName().asString())
|| qname.equals("jet.KotlinInfo")
) {
return null;
}