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, Annotations annotations)
           
static PropertySetterDescriptorImpl createDefaultSetter(PropertyDescriptor propertyDescriptor, Annotations annotations)
           
static SimpleFunctionDescriptor createEnumValueOfMethod(ClassDescriptor enumClass)
           
static SimpleFunctionDescriptor createEnumValuesMethod(ClassDescriptor enumClass)
           
static PropertyDescriptor createEnumValuesProperty(ClassDescriptor enumClass)
           
static ReceiverParameterDescriptor createExtensionReceiverParameterForCallable(CallableDescriptor owner, KotlinType receiverParameterType)
           
static PropertyGetterDescriptorImpl createGetter(PropertyDescriptor propertyDescriptor, Annotations annotations, boolean isDefault, boolean isExternal)
           
static PropertyGetterDescriptorImpl createGetter(PropertyDescriptor propertyDescriptor, Annotations annotations, boolean isDefault, boolean isExternal, SourceElement sourceElement)
           
static ConstructorDescriptorImpl createPrimaryConstructorForObject(ClassDescriptor containingClass, SourceElement source)
           
static PropertySetterDescriptorImpl createSetter(PropertyDescriptor propertyDescriptor, Annotations annotations, boolean isDefault, boolean isExternal, SourceElement sourceElement)
           
static PropertySetterDescriptorImpl createSetter(PropertyDescriptor propertyDescriptor, Annotations annotations, boolean isDefault, boolean isExternal, Visibility visibility, SourceElement sourceElement)
           
 
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,
                                                                       @NotNull
                                                                       Annotations annotations)

createSetter

@NotNull
public static PropertySetterDescriptorImpl createSetter(@NotNull
                                                                PropertyDescriptor propertyDescriptor,
                                                                @NotNull
                                                                Annotations annotations,
                                                                boolean isDefault,
                                                                boolean isExternal,
                                                                @NotNull
                                                                SourceElement sourceElement)

createSetter

@NotNull
public static PropertySetterDescriptorImpl createSetter(@NotNull
                                                                PropertyDescriptor propertyDescriptor,
                                                                @NotNull
                                                                Annotations annotations,
                                                                boolean isDefault,
                                                                boolean isExternal,
                                                                @NotNull
                                                                Visibility visibility,
                                                                @NotNull
                                                                SourceElement sourceElement)

createDefaultGetter

@NotNull
public static PropertyGetterDescriptorImpl createDefaultGetter(@NotNull
                                                                       PropertyDescriptor propertyDescriptor,
                                                                       @NotNull
                                                                       Annotations annotations)

createGetter

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

createGetter

@NotNull
public static PropertyGetterDescriptorImpl createGetter(@NotNull
                                                                PropertyDescriptor propertyDescriptor,
                                                                @NotNull
                                                                Annotations annotations,
                                                                boolean isDefault,
                                                                boolean isExternal,
                                                                @NotNull
                                                                SourceElement sourceElement)

createPrimaryConstructorForObject

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

createEnumValuesMethod

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

createEnumValuesProperty

@NotNull
public static PropertyDescriptor createEnumValuesProperty(@NotNull
                                                                  ClassDescriptor enumClass)

createEnumValueOfMethod

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

createExtensionReceiverParameterForCallable

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