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

java.lang.Object
  extended by org.jetbrains.jet.lang.resolve.kotlin.AnnotationDescriptorDeserializer
All Implemented Interfaces:
AnnotationDeserializer

public class AnnotationDescriptorDeserializer
extends java.lang.Object
implements AnnotationDeserializer


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jetbrains.jet.descriptors.serialization.descriptors.AnnotationDeserializer
AnnotationDeserializer.AnnotatedCallableKind
 
Field Summary
 
Fields inherited from interface org.jetbrains.jet.descriptors.serialization.descriptors.AnnotationDeserializer
UNSUPPORTED
 
Constructor Summary
AnnotationDescriptorDeserializer(StorageManager storageManager)
           
 
Method Summary
 Annotations loadCallableAnnotations(ClassOrPackageFragmentDescriptor container, ProtoBuf.Callable proto, NameResolver nameResolver, AnnotationDeserializer.AnnotatedCallableKind kind)
           
 Annotations loadClassAnnotations(ClassDescriptor descriptor, ProtoBuf.Class classProto)
           
 Annotations loadValueParameterAnnotations(ClassOrPackageFragmentDescriptor container, ProtoBuf.Callable callable, NameResolver nameResolver, AnnotationDeserializer.AnnotatedCallableKind kind, ProtoBuf.Callable.ValueParameter proto)
           
 void setClassResolver(DependencyClassByQualifiedNameResolver classResolver)
           
 void setErrorReporter(ErrorReporter errorReporter)
           
 void setKotlinClassFinder(KotlinClassFinder kotlinClassFinder)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotationDescriptorDeserializer

public AnnotationDescriptorDeserializer(@NotNull
                                        StorageManager storageManager)
Method Detail

setClassResolver

@Inject
public void setClassResolver(DependencyClassByQualifiedNameResolver classResolver)

setKotlinClassFinder

@Inject
public void setKotlinClassFinder(KotlinClassFinder kotlinClassFinder)

setErrorReporter

@Inject
public void setErrorReporter(ErrorReporter errorReporter)

loadClassAnnotations

@NotNull
public Annotations loadClassAnnotations(@NotNull
                                                ClassDescriptor descriptor,
                                                @NotNull
                                                ProtoBuf.Class classProto)
Specified by:
loadClassAnnotations in interface AnnotationDeserializer

loadCallableAnnotations

@NotNull
public Annotations loadCallableAnnotations(@NotNull
                                                   ClassOrPackageFragmentDescriptor container,
                                                   @NotNull
                                                   ProtoBuf.Callable proto,
                                                   @NotNull
                                                   NameResolver nameResolver,
                                                   @NotNull
                                                   AnnotationDeserializer.AnnotatedCallableKind kind)
Specified by:
loadCallableAnnotations in interface AnnotationDeserializer

loadValueParameterAnnotations

@NotNull
public Annotations loadValueParameterAnnotations(@NotNull
                                                         ClassOrPackageFragmentDescriptor container,
                                                         @NotNull
                                                         ProtoBuf.Callable callable,
                                                         @NotNull
                                                         NameResolver nameResolver,
                                                         @NotNull
                                                         AnnotationDeserializer.AnnotatedCallableKind kind,
                                                         @NotNull
                                                         ProtoBuf.Callable.ValueParameter proto)
Specified by:
loadValueParameterAnnotations in interface AnnotationDeserializer