org.jetbrains.kotlin.descriptors
Interface ConstructorDescriptor

All Superinterfaces:
Annotated, CallableDescriptor, CallableMemberDescriptor, DeclarationDescriptor, DeclarationDescriptorNonRoot, DeclarationDescriptorWithSource, DeclarationDescriptorWithVisibility, FunctionDescriptor, MemberDescriptor, Named
All Known Implementing Classes:
ConstructorDescriptorImpl, JavaConstructorDescriptor

public interface ConstructorDescriptor
extends FunctionDescriptor


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jetbrains.kotlin.descriptors.CallableMemberDescriptor
CallableMemberDescriptor.Kind
 
Method Summary
 ClassDescriptor getContainingDeclaration()
           
 Name getName()
           
 ConstructorDescriptor getOriginal()
           
 JetType getReturnType()
          Method may return null for not yet fully initialized object or if error occurred.
 java.util.List<TypeParameterDescriptor> getTypeParameters()
           
 boolean isPrimary()
           
 
Methods inherited from interface org.jetbrains.kotlin.descriptors.FunctionDescriptor
copy, getOverriddenDescriptors, isOperator, substitute
 
Methods inherited from interface org.jetbrains.kotlin.descriptors.CallableMemberDescriptor
addOverriddenDescriptor, getKind
 
Methods inherited from interface org.jetbrains.kotlin.descriptors.CallableDescriptor
getDispatchReceiverParameter, getExtensionReceiverParameter, getValueParameters, hasStableParameterNames, hasSynthesizedParameterNames
 
Methods inherited from interface org.jetbrains.kotlin.descriptors.MemberDescriptor
getModality, getVisibility
 
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
 

Method Detail

getTypeParameters

@NotNull
java.util.List<TypeParameterDescriptor> getTypeParameters()
Specified by:
getTypeParameters in interface CallableDescriptor

getReturnType

@NotNull
JetType getReturnType()
Description copied from interface: CallableDescriptor
Method may return null for not yet fully initialized object or if error occurred.

Specified by:
getReturnType in interface CallableDescriptor

getContainingDeclaration

@NotNull
ClassDescriptor getContainingDeclaration()
Specified by:
getContainingDeclaration in interface DeclarationDescriptor
Specified by:
getContainingDeclaration in interface DeclarationDescriptorNonRoot
Specified by:
getContainingDeclaration in interface FunctionDescriptor

getOriginal

@NotNull
ConstructorDescriptor getOriginal()
Specified by:
getOriginal in interface CallableDescriptor
Specified by:
getOriginal in interface CallableMemberDescriptor
Specified by:
getOriginal in interface DeclarationDescriptor
Specified by:
getOriginal in interface DeclarationDescriptorWithSource
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

getName

@NotNull
Name getName()
Specified by:
getName in interface Named
Returns:
"<init>" -- name is not stored for constructors

isPrimary

boolean isPrimary()