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

java.lang.Object
  extended by org.jetbrains.jet.lang.resolve.kotlin.BaseDescriptorLoader
      extended by org.jetbrains.jet.lang.resolve.kotlin.ConstantDescriptorLoader
All Implemented Interfaces:
ConstantLoader

public class ConstantDescriptorLoader
extends BaseDescriptorLoader
implements ConstantLoader


Field Summary
 
Fields inherited from class org.jetbrains.jet.lang.resolve.kotlin.BaseDescriptorLoader
errorReporter, kotlinClassFinder, storage
 
Fields inherited from interface org.jetbrains.jet.descriptors.serialization.descriptors.ConstantLoader
UNSUPPORTED
 
Constructor Summary
ConstantDescriptorLoader()
           
 
Method Summary
 CompileTimeConstant<?> loadPropertyConstant(ClassOrPackageFragmentDescriptor container, ProtoBuf.Callable proto, NameResolver nameResolver, AnnotatedCallableKind kind)
           
 void setErrorReporter(ErrorReporter errorReporter)
           
 void setKotlinClassFinder(KotlinClassFinder kotlinClassFinder)
           
 void setStorage(DescriptorLoadersStorage storage)
           
 
Methods inherited from class org.jetbrains.jet.lang.resolve.kotlin.BaseDescriptorLoader
findClassWithAnnotationsAndInitializers, findKotlinClassByDescriptor, getCallableSignature, getPackagePartClassName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConstantDescriptorLoader

public ConstantDescriptorLoader()
Method Detail

setStorage

@Inject
public void setStorage(@NotNull
                              DescriptorLoadersStorage storage)
Specified by:
setStorage in class BaseDescriptorLoader

setKotlinClassFinder

@Inject
public void setKotlinClassFinder(@NotNull
                                        KotlinClassFinder kotlinClassFinder)
Specified by:
setKotlinClassFinder in class BaseDescriptorLoader

setErrorReporter

@Inject
public void setErrorReporter(@NotNull
                                    ErrorReporter errorReporter)
Specified by:
setErrorReporter in class BaseDescriptorLoader

loadPropertyConstant

@Nullable
public CompileTimeConstant<?> loadPropertyConstant(@NotNull
                                                            ClassOrPackageFragmentDescriptor container,
                                                            @NotNull
                                                            ProtoBuf.Callable proto,
                                                            @NotNull
                                                            NameResolver nameResolver,
                                                            @NotNull
                                                            AnnotatedCallableKind kind)
Specified by:
loadPropertyConstant in interface ConstantLoader