Replace unnecessary direct usages of the LazyScriptDescriptor with ScriptDescriptor interface

lift result property to the interface to implement it
This commit is contained in:
Ilya Chernikov
2019-02-12 16:02:28 +01:00
parent e28017039d
commit 29fa0f5dff
10 changed files with 26 additions and 21 deletions
@@ -17,6 +17,7 @@
package org.jetbrains.kotlin.descriptors;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import java.util.List;
@@ -32,4 +33,7 @@ public interface ScriptDescriptor extends ClassDescriptor {
@NotNull
List<PropertyDescriptor> getScriptProvidedProperties();
@Nullable
PropertyDescriptor getResultValue();
}