Replace unnecessary direct usages of the LazyScriptDescriptor with ScriptDescriptor interface
lift result property to the interface to implement it
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user