public class ScriptDescriptor extends DeclarationDescriptorNonRootImpl
Constructor and Description |
---|
ScriptDescriptor(DeclarationDescriptor containingDeclaration,
int priority,
JetScript script,
JetScope scriptScope) |
Modifier and Type | Method and Description |
---|---|
<R,D> R |
accept(DeclarationDescriptorVisitor<R,D> visitor,
D data) |
ClassDescriptor |
getClassDescriptor() |
int |
getPriority() |
JetType |
getReturnType() |
ScriptCodeDescriptor |
getScriptCodeDescriptor() |
ReceiverParameterDescriptor |
getThisAsReceiverParameter() |
java.util.List<ValueParameterDescriptor> |
getValueParameters() |
void |
initialize(JetType returnType,
JetScript declaration,
BindingContext bindingContext) |
static void |
initializeWithDefaultGetterSetter(PropertyDescriptorImpl propertyDescriptor) |
void |
setValueParameters(java.util.List<ValueParameterDescriptor> valueParameters) |
DeclarationDescriptor |
substitute(TypeSubstitutor substitutor) |
getContainingDeclaration
acceptVoid, getName, getOriginal, toString
getAnnotations
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
acceptVoid, getOriginal
getAnnotations
public ScriptDescriptor(@Nullable DeclarationDescriptor containingDeclaration, int priority, JetScript script, JetScope scriptScope)
public void initialize(@NotNull JetType returnType, JetScript declaration, BindingContext bindingContext)
public static void initializeWithDefaultGetterSetter(PropertyDescriptorImpl propertyDescriptor)
public int getPriority()
@NotNull public JetType getReturnType()
@NotNull public java.util.List<ValueParameterDescriptor> getValueParameters()
@NotNull public ScriptCodeDescriptor getScriptCodeDescriptor()
@NotNull public ReceiverParameterDescriptor getThisAsReceiverParameter()
public DeclarationDescriptor substitute(@NotNull TypeSubstitutor substitutor)
public <R,D> R accept(DeclarationDescriptorVisitor<R,D> visitor, D data)
public void setValueParameters(@NotNull java.util.List<ValueParameterDescriptor> valueParameters)
public ClassDescriptor getClassDescriptor()