org.jetbrains.jet.lang.descriptors
Interface CallableDescriptor
- All Superinterfaces:
- Annotated, DeclarationDescriptor, DeclarationDescriptorNonRoot, DeclarationDescriptorWithVisibility, Named
- All Known Subinterfaces:
- CallableMemberDescriptor, ConstructorDescriptor, FunctionDescriptor, JavaCallableMemberDescriptor, PropertyAccessorDescriptor, PropertyDescriptor, PropertyGetterDescriptor, PropertySetterDescriptor, ReceiverParameterDescriptor, SamAdapterDescriptor<D>, SimpleFunctionDescriptor, SynthesizedCallableMemberDescriptor<D>, ValueParameterDescriptor, VariableDescriptor
- All Known Implementing Classes:
- AbstractReceiverParameterDescriptor, AccessorForFunctionDescriptor, AccessorForPropertyBackingFieldInOuterClass, AccessorForPropertyDescriptor, AccessorForPropertyDescriptor.Getter, AccessorForPropertyDescriptor.Setter, AnonymousFunctionDescriptor, ConstructorDescriptorImpl, DeserializedSimpleFunctionDescriptor, ErrorSimpleFunctionDescriptorImpl, ExpressionAsFunctionDescriptor, FunctionDescriptorImpl, JavaMethodDescriptor, JavaPropertyDescriptor, LazyClassReceiverParameterDescriptor, LocalVariableDescriptor, PropertyAccessorDescriptorImpl, PropertyDescriptorImpl, PropertyGetterDescriptorImpl, PropertySetterDescriptorImpl, ReceiverParameterDescriptorImpl, SamConstructorDescriptor, ScriptCodeDescriptor, SimpleFunctionDescriptorImpl, ValueParameterDescriptorImpl, VariableDescriptorImpl
public interface CallableDescriptor
- extends DeclarationDescriptorWithVisibility, DeclarationDescriptorNonRoot
Methods inherited from interface org.jetbrains.jet.lang.descriptors.Named |
getName |
getReceiverParameter
@Nullable
ReceiverParameterDescriptor getReceiverParameter()
getExpectedThisObject
@Nullable
ReceiverParameterDescriptor getExpectedThisObject()
getTypeParameters
@NotNull
java.util.List<TypeParameterDescriptor> getTypeParameters()
getReturnType
@Nullable
JetType getReturnType()
- Method may return null for not yet fully initialized object or if error occurred.
getOriginal
@NotNull
CallableDescriptor getOriginal()
- Specified by:
getOriginal
in interface DeclarationDescriptor
- Returns:
- The descriptor that corresponds to the original declaration of this element.
A descriptor can be obtained from its original by substituting type arguments (of the declaring class
or of the element itself).
returns
this
object if the current descriptor is original itself
substitute
CallableDescriptor substitute(@NotNull
TypeSubstitutor substitutor)
- Specified by:
substitute
in interface DeclarationDescriptor
getValueParameters
@NotNull
java.util.List<ValueParameterDescriptor> getValueParameters()
getOverriddenDescriptors
@NotNull
java.util.Set<? extends CallableDescriptor> getOverriddenDescriptors()