org.jetbrains.jet.lang.resolve
Class DescriptorFactory

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

public class DescriptorFactory
extends java.lang.Object


Method Summary
static PropertyGetterDescriptorImpl createDefaultGetter(PropertyDescriptor propertyDescriptor)
           
static PropertySetterDescriptorImpl createDefaultSetter(PropertyDescriptor propertyDescriptor)
           
static PropertyGetterDescriptorImpl createGetter(PropertyDescriptor propertyDescriptor, boolean isDefault)
           
static ConstructorDescriptorImpl createPrimaryConstructorForObject(ClassDescriptor containingClass, SourceElement source)
           
static ReceiverParameterDescriptor createReceiverParameterForCallable(CallableDescriptor owner, JetType receiverParameterType)
           
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)

createReceiverParameterForCallable

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