Use target priorities to split annotations to different descriptors

This commit is contained in:
Yan Zhulanow
2015-08-07 03:26:19 +03:00
parent 9838f9c942
commit 3624c4e5dc
8 changed files with 318 additions and 93 deletions
@@ -107,7 +107,7 @@ public class LazyJavaClassMemberScope(
)
// default getter is necessary because there is no real field in annotation
val getter = DescriptorFactory.createDefaultGetter(propertyDescriptor)
val getter = DescriptorFactory.createDefaultGetter(propertyDescriptor, Annotations.EMPTY)
propertyDescriptor.initialize(getter, null)
val returnType = computeMethodReturnType(method, annotations, c.child(propertyDescriptor, method))