org.jetbrains.jet.lang.resolve.kotlin
Class BaseDescriptorLoader

java.lang.Object
  extended by org.jetbrains.jet.lang.resolve.kotlin.BaseDescriptorLoader
Direct Known Subclasses:
AnnotationDescriptorLoader, ConstantDescriptorLoader

public abstract class BaseDescriptorLoader
extends java.lang.Object


Field Summary
protected  ErrorReporter errorReporter
           
protected  KotlinClassFinder kotlinClassFinder
           
protected  DescriptorLoadersStorage storage
           
 
Constructor Summary
BaseDescriptorLoader()
           
 
Method Summary
protected  KotlinJvmBinaryClass findClassWithAnnotationsAndInitializers(ClassOrPackageFragmentDescriptor container, ProtoBuf.Callable proto, NameResolver nameResolver, AnnotatedCallableKind kind)
           
protected  KotlinJvmBinaryClass findKotlinClassByDescriptor(ClassOrPackageFragmentDescriptor descriptor)
           
protected static DescriptorLoadersStorage.MemberSignature getCallableSignature(ProtoBuf.Callable proto, NameResolver nameResolver, AnnotatedCallableKind kind)
           
static Name getPackagePartClassName(DeserializedCallableMemberDescriptor deserializedCallableMember)
           
abstract  void setErrorReporter(ErrorReporter errorReporter)
           
abstract  void setKotlinClassFinder(KotlinClassFinder kotlinClassFinder)
           
abstract  void setStorage(DescriptorLoadersStorage storage)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

kotlinClassFinder

protected KotlinClassFinder kotlinClassFinder

errorReporter

protected ErrorReporter errorReporter

storage

protected DescriptorLoadersStorage storage
Constructor Detail

BaseDescriptorLoader

public BaseDescriptorLoader()
Method Detail

setKotlinClassFinder

public abstract void setKotlinClassFinder(@NotNull
                                          KotlinClassFinder kotlinClassFinder)

setErrorReporter

public abstract void setErrorReporter(@NotNull
                                      ErrorReporter errorReporter)

setStorage

public abstract void setStorage(@NotNull
                                DescriptorLoadersStorage storage)

getCallableSignature

@Nullable
protected static DescriptorLoadersStorage.MemberSignature getCallableSignature(@NotNull
                                                                                        ProtoBuf.Callable proto,
                                                                                        @NotNull
                                                                                        NameResolver nameResolver,
                                                                                        @NotNull
                                                                                        AnnotatedCallableKind kind)

findClassWithAnnotationsAndInitializers

@Nullable
protected KotlinJvmBinaryClass findClassWithAnnotationsAndInitializers(@NotNull
                                                                                ClassOrPackageFragmentDescriptor container,
                                                                                @NotNull
                                                                                ProtoBuf.Callable proto,
                                                                                @NotNull
                                                                                NameResolver nameResolver,
                                                                                @NotNull
                                                                                AnnotatedCallableKind kind)

getPackagePartClassName

@NotNull
public static Name getPackagePartClassName(@NotNull
                                                   DeserializedCallableMemberDescriptor deserializedCallableMember)

findKotlinClassByDescriptor

@Nullable
protected KotlinJvmBinaryClass findKotlinClassByDescriptor(@NotNull
                                                                    ClassOrPackageFragmentDescriptor descriptor)