org.jetbrains.kotlin.descriptors
Interface SimpleFunctionDescriptor
- All Superinterfaces:
- Annotated, CallableDescriptor, CallableMemberDescriptor, DeclarationDescriptor, DeclarationDescriptorNonRoot, DeclarationDescriptorWithSource, DeclarationDescriptorWithVisibility, FunctionDescriptor, MemberDescriptor, Named
- All Known Implementing Classes:
- AccessorForFunctionDescriptor, AnonymousFunctionDescriptor, DeserializedSimpleFunctionDescriptor, ErrorSimpleFunctionDescriptorImpl, FunctionExpressionDescriptor, JavaMethodDescriptor, SimpleFunctionDescriptorImpl
public interface SimpleFunctionDescriptor
- extends FunctionDescriptor
Simple functions are the ones with 'fun' keyword and function literals
Methods inherited from interface org.jetbrains.kotlin.descriptors.Named |
getName |
copy
@NotNull
SimpleFunctionDescriptor copy(DeclarationDescriptor newOwner,
Modality modality,
Visibility visibility,
CallableMemberDescriptor.Kind kind,
boolean copyOverrides)
- Specified by:
copy
in interface CallableMemberDescriptor
- Specified by:
copy
in interface FunctionDescriptor
getOriginal
@NotNull
SimpleFunctionDescriptor getOriginal()
- Specified by:
getOriginal
in interface CallableDescriptor
- Specified by:
getOriginal
in interface CallableMemberDescriptor
- Specified by:
getOriginal
in interface DeclarationDescriptor
- Specified by:
getOriginal
in interface FunctionDescriptor
- 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
getInlineStrategy
@NotNull
InlineStrategy getInlineStrategy()