|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jetbrains.kotlin.descriptors.annotations.AnnotatedImpl
org.jetbrains.kotlin.descriptors.impl.DeclarationDescriptorImpl
org.jetbrains.kotlin.descriptors.impl.DeclarationDescriptorNonRootImpl
org.jetbrains.kotlin.descriptors.impl.FunctionDescriptorImpl
org.jetbrains.kotlin.descriptors.impl.ConstructorDescriptorImpl
org.jetbrains.kotlin.load.java.descriptors.JavaConstructorDescriptor
public class JavaConstructorDescriptor
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.jetbrains.kotlin.descriptors.impl.FunctionDescriptorImpl |
|---|
FunctionDescriptorImpl.CopyConfiguration |
| Nested classes/interfaces inherited from interface org.jetbrains.kotlin.descriptors.CallableMemberDescriptor |
|---|
CallableMemberDescriptor.Kind |
| Field Summary |
|---|
| Fields inherited from class org.jetbrains.kotlin.descriptors.impl.ConstructorDescriptorImpl |
|---|
isPrimary |
| Constructor Summary | |
|---|---|
protected |
JavaConstructorDescriptor(ClassDescriptor containingDeclaration,
JavaConstructorDescriptor original,
Annotations annotations,
boolean isPrimary,
CallableMemberDescriptor.Kind kind,
SourceElement source)
|
| Method Summary | |
|---|---|
static JavaConstructorDescriptor |
createJavaConstructor(ClassDescriptor containingDeclaration,
Annotations annotations,
boolean isPrimary,
SourceElement source)
|
protected JavaConstructorDescriptor |
createSubstitutedCopy(DeclarationDescriptor newOwner,
FunctionDescriptor original,
CallableMemberDescriptor.Kind kind,
Name newName,
boolean preserveSource)
|
JavaConstructorDescriptor |
enhance(KotlinType enhancedReceiverType,
java.util.List<KotlinType> enhancedValueParametersTypes,
KotlinType enhancedReturnType)
|
boolean |
hasStableParameterNames()
Kotlin functions always have stable parameter names that can be reliably used when calling them with named arguments. |
boolean |
hasSynthesizedParameterNames()
Sometimes parameter names are not available at all (e.g. |
void |
setHasStableParameterNames(boolean hasStableParameterNames)
|
void |
setHasSynthesizedParameterNames(boolean hasSynthesizedParameterNames)
|
| Methods inherited from class org.jetbrains.kotlin.descriptors.impl.ConstructorDescriptorImpl |
|---|
accept, addOverriddenDescriptor, copy, create, getContainingDeclaration, getOriginal, getOverriddenDescriptors, initialize, isPrimary, substitute |
| Methods inherited from class org.jetbrains.kotlin.descriptors.impl.FunctionDescriptorImpl |
|---|
doSubstitute, getDispatchReceiverParameter, getExtensionReceiverParameter, getExtensionReceiverParameterType, getInitialSignatureDescriptor, getKind, getModality, getReturnType, getSourceToUseForCopy, getSubstitutedValueParameters, getTypeParameters, getValueParameters, getVisibility, initialize, isExternal, isHiddenToOvercomeSignatureClash, isInfix, isInline, isOperator, isTailrec, newCopyBuilder, setExternal, setHidden, setInfix, setInitialSignatureDescriptor, setInline, setOperator, setReturnType, setTailrec, setVisibility |
| Methods inherited from class org.jetbrains.kotlin.descriptors.impl.DeclarationDescriptorNonRootImpl |
|---|
getSource |
| Methods inherited from class org.jetbrains.kotlin.descriptors.impl.DeclarationDescriptorImpl |
|---|
acceptVoid, getName, toString, toString |
| Methods inherited from class org.jetbrains.kotlin.descriptors.annotations.AnnotatedImpl |
|---|
getAnnotations |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.jetbrains.kotlin.descriptors.CallableMemberDescriptor |
|---|
addOverriddenDescriptor, copy, getKind, getOriginal, getOverriddenDescriptors |
| Methods inherited from interface org.jetbrains.kotlin.descriptors.CallableDescriptor |
|---|
getDispatchReceiverParameter, getExtensionReceiverParameter, getReturnType, getTypeParameters, getValueParameters, substitute |
| Methods inherited from interface org.jetbrains.kotlin.descriptors.MemberDescriptor |
|---|
getModality, getVisibility |
| Methods inherited from interface org.jetbrains.kotlin.descriptors.DeclarationDescriptorNonRoot |
|---|
getContainingDeclaration |
| Methods inherited from interface org.jetbrains.kotlin.descriptors.DeclarationDescriptorWithSource |
|---|
getSource |
| Methods inherited from interface org.jetbrains.kotlin.descriptors.DeclarationDescriptor |
|---|
accept, acceptVoid |
| Methods inherited from interface org.jetbrains.kotlin.descriptors.annotations.Annotated |
|---|
getAnnotations |
| Methods inherited from interface org.jetbrains.kotlin.descriptors.Named |
|---|
getName |
| Methods inherited from interface org.jetbrains.kotlin.descriptors.ConstructorDescriptor |
|---|
getName, getReturnType, getTypeParameters |
| Methods inherited from interface org.jetbrains.kotlin.descriptors.FunctionDescriptor |
|---|
getInitialSignatureDescriptor, isExternal, isHiddenToOvercomeSignatureClash, isInfix, isInline, isOperator, isTailrec |
| Constructor Detail |
|---|
protected JavaConstructorDescriptor(@NotNull
ClassDescriptor containingDeclaration,
@Nullable
JavaConstructorDescriptor original,
@NotNull
Annotations annotations,
boolean isPrimary,
@NotNull
CallableMemberDescriptor.Kind kind,
@NotNull
SourceElement source)
| Method Detail |
|---|
@NotNull
public static JavaConstructorDescriptor createJavaConstructor(@NotNull
ClassDescriptor containingDeclaration,
@NotNull
Annotations annotations,
boolean isPrimary,
@NotNull
SourceElement source)
public boolean hasStableParameterNames()
CallableDescriptor
hasStableParameterNames in interface CallableDescriptorhasStableParameterNames in class FunctionDescriptorImplpublic void setHasStableParameterNames(boolean hasStableParameterNames)
setHasStableParameterNames in class FunctionDescriptorImplpublic boolean hasSynthesizedParameterNames()
CallableDescriptor
hasSynthesizedParameterNames in interface CallableDescriptorhasSynthesizedParameterNames in class FunctionDescriptorImplpublic void setHasSynthesizedParameterNames(boolean hasSynthesizedParameterNames)
setHasSynthesizedParameterNames in class FunctionDescriptorImpl
@NotNull
protected JavaConstructorDescriptor createSubstitutedCopy(@NotNull
DeclarationDescriptor newOwner,
@Nullable
FunctionDescriptor original,
@NotNull
CallableMemberDescriptor.Kind kind,
@Nullable
Name newName,
boolean preserveSource)
createSubstitutedCopy in class ConstructorDescriptorImpl
@NotNull
public JavaConstructorDescriptor enhance(@Nullable
KotlinType enhancedReceiverType,
@NotNull
java.util.List<KotlinType> enhancedValueParametersTypes,
@NotNull
KotlinType enhancedReturnType)
enhance in interface JavaCallableMemberDescriptor
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||