|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jetbrains.jet.lang.descriptors.annotations.AnnotatedImpl
org.jetbrains.jet.lang.descriptors.impl.DeclarationDescriptorImpl
org.jetbrains.jet.lang.descriptors.impl.DeclarationDescriptorNonRootImpl
org.jetbrains.jet.lang.descriptors.impl.FunctionDescriptorImpl
org.jetbrains.jet.lang.descriptors.impl.SimpleFunctionDescriptorImpl
org.jetbrains.jet.lang.resolve.java.descriptor.JavaMethodDescriptor
public class JavaMethodDescriptor
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.jetbrains.jet.lang.descriptors.CallableMemberDescriptor |
|---|
CallableMemberDescriptor.Kind |
| Field Summary |
|---|
| Fields inherited from class org.jetbrains.jet.lang.descriptors.impl.FunctionDescriptorImpl |
|---|
expectedThisObject, modality, overriddenFunctions, typeParameters, unsubstitutedReturnType, unsubstitutedValueParameters, visibility |
| Constructor Summary | |
|---|---|
protected |
JavaMethodDescriptor(DeclarationDescriptor containingDeclaration,
SimpleFunctionDescriptor original,
Annotations annotations,
Name name,
CallableMemberDescriptor.Kind kind,
SourceElement source)
|
| Method Summary | |
|---|---|
static JavaMethodDescriptor |
createJavaMethod(DeclarationDescriptor containingDeclaration,
Annotations annotations,
Name name,
SourceElement source)
|
protected FunctionDescriptorImpl |
createSubstitutedCopy(DeclarationDescriptor newOwner,
FunctionDescriptor original,
CallableMemberDescriptor.Kind kind)
|
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.jet.lang.descriptors.impl.SimpleFunctionDescriptorImpl |
|---|
copy, create, getInlineStrategy, getOriginal, initialize |
| Methods inherited from class org.jetbrains.jet.lang.descriptors.impl.FunctionDescriptorImpl |
|---|
accept, addOverriddenDescriptor, doSubstitute, getExpectedThisObject, getKind, getModality, getOverriddenDescriptors, getReceiverParameter, getReturnType, getSubstitutedValueParameters, getTypeParameters, getValueParameters, getVisibility, setReturnType, setVisibility, substitute |
| Methods inherited from class org.jetbrains.jet.lang.descriptors.impl.DeclarationDescriptorNonRootImpl |
|---|
getContainingDeclaration, getSource |
| Methods inherited from class org.jetbrains.jet.lang.descriptors.impl.DeclarationDescriptorImpl |
|---|
acceptVoid, getName, toString |
| Methods inherited from class org.jetbrains.jet.lang.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.jet.lang.descriptors.CallableMemberDescriptor |
|---|
addOverriddenDescriptor, copy, getKind, getOriginal, getOverriddenDescriptors |
| Methods inherited from interface org.jetbrains.jet.lang.descriptors.CallableDescriptor |
|---|
getExpectedThisObject, getReceiverParameter, getReturnType, getTypeParameters, getValueParameters, substitute |
| Methods inherited from interface org.jetbrains.jet.lang.descriptors.MemberDescriptor |
|---|
getModality, getVisibility |
| Methods inherited from interface org.jetbrains.jet.lang.descriptors.DeclarationDescriptorNonRoot |
|---|
getContainingDeclaration |
| Methods inherited from interface org.jetbrains.jet.lang.descriptors.DeclarationDescriptorWithSource |
|---|
getSource |
| Methods inherited from interface org.jetbrains.jet.lang.descriptors.DeclarationDescriptor |
|---|
accept, acceptVoid |
| Methods inherited from interface org.jetbrains.jet.lang.descriptors.annotations.Annotated |
|---|
getAnnotations |
| Methods inherited from interface org.jetbrains.jet.lang.descriptors.Named |
|---|
getName |
| Methods inherited from interface org.jetbrains.jet.lang.descriptors.FunctionDescriptor |
|---|
getContainingDeclaration, getOverriddenDescriptors, substitute |
| Constructor Detail |
|---|
protected JavaMethodDescriptor(@NotNull
DeclarationDescriptor containingDeclaration,
@Nullable
SimpleFunctionDescriptor original,
@NotNull
Annotations annotations,
@NotNull
Name name,
@NotNull
CallableMemberDescriptor.Kind kind,
@NotNull
SourceElement source)
| Method Detail |
|---|
@NotNull
public static JavaMethodDescriptor createJavaMethod(@NotNull
DeclarationDescriptor containingDeclaration,
@NotNull
Annotations annotations,
@NotNull
Name name,
@NotNull
SourceElement source)
public boolean hasStableParameterNames()
CallableDescriptor
hasStableParameterNames in interface CallableDescriptorhasStableParameterNames in class FunctionDescriptorImplpublic void setHasStableParameterNames(boolean hasStableParameterNames)
public boolean hasSynthesizedParameterNames()
CallableDescriptor
hasSynthesizedParameterNames in interface CallableDescriptorhasSynthesizedParameterNames in class FunctionDescriptorImplpublic void setHasSynthesizedParameterNames(boolean hasSynthesizedParameterNames)
@NotNull
protected FunctionDescriptorImpl createSubstitutedCopy(@NotNull
DeclarationDescriptor newOwner,
@Nullable
FunctionDescriptor original,
@NotNull
CallableMemberDescriptor.Kind kind)
createSubstitutedCopy in class SimpleFunctionDescriptorImpl
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||