org.jetbrains.kotlin.resolve
Class DescriptorFactory

java.lang.Object
  extended by org.jetbrains.kotlin.resolve.DescriptorFactory

public class DescriptorFactory
extends java.lang.Object


Method Summary
static PropertyGetterDescriptorImpl createDefaultGetter(PropertyDescriptor propertyDescriptor)
           
static PropertySetterDescriptorImpl createDefaultSetter(PropertyDescriptor propertyDescriptor)
           
static SimpleFunctionDescriptor createEnumValueOfMethod(ClassDescriptor enumClass)
           
static SimpleFunctionDescriptor createEnumValuesMethod(ClassDescriptor enumClass)
           
static ReceiverParameterDescriptor createExtensionReceiverParameterForCallable(CallableDescriptor owner, JetType receiverParameterType)
           
static PropertyGetterDescriptorImpl createGetter(PropertyDescriptor propertyDescriptor, boolean isDefault)
           
static ConstructorDescriptorImpl createPrimaryConstructorForObject(ClassDescriptor containingClass, SourceElement source)
           
static PropertySetterDescriptorImpl createSetter(PropertyDescriptor propertyDescriptor, boolean isDefault)
           
static boolean isDefaultPrimaryConstructor(ConstructorDescriptor constructor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createDefaultSetter

@NotNull
public static PropertySetterDescriptorImpl createDefaultSetter(@NotNull
                                                                       PropertyDescriptor propertyDescriptor)

createSetter

@NotNull
public static PropertySetterDescriptorImpl createSetter(@NotNull
                                                                PropertyDescriptor propertyDescriptor,
                                                                boolean isDefault)

createDefaultGetter

@NotNull
public static PropertyGetterDescriptorImpl createDefaultGetter(@NotNull
                                                                       PropertyDescriptor propertyDescriptor)

createGetter

@NotNull
public static PropertyGetterDescriptorImpl createGetter(@NotNull
                                                                PropertyDescriptor propertyDescriptor,
                                                                boolean isDefault)

createPrimaryConstructorForObject

@NotNull
public static ConstructorDescriptorImpl createPrimaryConstructorForObject(@NotNull
                                                                                  ClassDescriptor containingClass,
                                                                                  @NotNull
                                                                                  SourceElement source)

isDefaultPrimaryConstructor

public static boolean isDefaultPrimaryConstructor(@NotNull
                                                  ConstructorDescriptor constructor)

createEnumValuesMethod

@NotNull
public static SimpleFunctionDescriptor createEnumValuesMethod(@NotNull
                                                                      ClassDescriptor enumClass)

createEnumValueOfMethod

@NotNull
public static SimpleFunctionDescriptor createEnumValueOfMethod(@NotNull
                                                                       ClassDescriptor enumClass)

createExtensionReceiverParameterForCallable

@Nullable
public static ReceiverParameterDescriptor createExtensionReceiverParameterForCallable(@NotNull
                                                                                               CallableDescriptor owner,
                                                                                               @Nullable
                                                                                               JetType receiverParameterType)