public interface ConstructorDescriptor extends FunctionDescriptor
CallableMemberDescriptor.Kind| Modifier and Type | Method and Description |
|---|---|
ClassDescriptor |
getContainingDeclaration() |
Name |
getName() |
JetType |
getReturnType()
Method may return null for not yet fully initialized object or if error occurred.
|
java.util.List<TypeParameterDescriptor> |
getTypeParameters() |
boolean |
isPrimary() |
copy, getOriginal, getOverriddenDescriptors, substituteaddOverriddenDescriptor, getKindgetExpectedThisObject, getReceiverParameter, getValueParametersgetModality, getVisibilityaccept, acceptVoidgetAnnotations@NotNull java.util.List<TypeParameterDescriptor> getTypeParameters()
getTypeParameters in interface CallableDescriptorjava.lang.UnsupportedOperationException - -- no type parameters supported for constructors@NotNull JetType getReturnType()
CallableDescriptorgetReturnType in interface CallableDescriptorjava.lang.UnsupportedOperationException - -- return type is not stored for constructors@NotNull ClassDescriptor getContainingDeclaration()
getContainingDeclaration in interface DeclarationDescriptorgetContainingDeclaration in interface DeclarationDescriptorNonRootgetContainingDeclaration in interface FunctionDescriptorboolean isPrimary()