Expose script parameters from descriptor explicitly...

and universally as ValueParameterDescriptors;
update implementation accordingly
This commit is contained in:
Ilya Chernikov
2020-10-22 20:50:24 +02:00
parent 4cb0437145
commit 7572b50385
5 changed files with 118 additions and 156 deletions
@@ -36,4 +36,13 @@ public interface ScriptDescriptor extends ClassDescriptor {
@Nullable
PropertyDescriptor getResultValue();
@NotNull
List<ValueParameterDescriptor> getExplicitConstructorParameters();
@NotNull
List<ValueParameterDescriptor> getImplicitReceiversParameters();
@NotNull
List<ValueParameterDescriptor> getScriptProvidedPropertiesParameters();
}