org.jetbrains.jet.descriptors.serialization
Class DescriptorDeserializer
java.lang.Object
org.jetbrains.jet.descriptors.serialization.DescriptorDeserializer
public class DescriptorDeserializer
- extends java.lang.Object
Method Summary |
static ClassKind |
classKind(ProtoBuf.Class.Kind kind)
|
static DescriptorDeserializer |
create(StorageManager storageManager,
DeclarationDescriptor containingDeclaration,
NameResolver nameResolver,
DescriptorFinder descriptorFinder,
AnnotationDeserializer annotationDeserializer)
|
static DescriptorDeserializer |
create(StorageManager storageManager,
TypeDeserializer typeDeserializer,
DeclarationDescriptor containingDeclaration,
NameResolver nameResolver,
AnnotationDeserializer annotationDeserializer)
|
DescriptorDeserializer |
createChildDeserializer(DeclarationDescriptor descriptor,
java.util.List<ProtoBuf.TypeParameter> typeParameterProtos,
java.util.List<TypeParameterDescriptor> typeParameters)
|
NameResolver |
getNameResolver()
|
TypeDeserializer |
getTypeDeserializer()
|
CallableMemberDescriptor |
loadCallable(ProtoBuf.Callable proto)
|
static Modality |
modality(ProtoBuf.Modality modality)
|
java.util.List<DeserializedTypeParameterDescriptor> |
typeParameters(java.util.List<ProtoBuf.TypeParameter> protos,
TypeDeserializer typeDeserializer)
|
static Visibility |
visibility(ProtoBuf.Visibility visibility)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
create
@NotNull
public static DescriptorDeserializer create(@NotNull
StorageManager storageManager,
@NotNull
DeclarationDescriptor containingDeclaration,
@NotNull
NameResolver nameResolver,
@NotNull
DescriptorFinder descriptorFinder,
@NotNull
AnnotationDeserializer annotationDeserializer)
create
@NotNull
public static DescriptorDeserializer create(@NotNull
StorageManager storageManager,
@NotNull
TypeDeserializer typeDeserializer,
@NotNull
DeclarationDescriptor containingDeclaration,
@NotNull
NameResolver nameResolver,
@NotNull
AnnotationDeserializer annotationDeserializer)
getTypeDeserializer
@NotNull
public TypeDeserializer getTypeDeserializer()
getNameResolver
@NotNull
public NameResolver getNameResolver()
createChildDeserializer
@NotNull
public DescriptorDeserializer createChildDeserializer(@NotNull
DeclarationDescriptor descriptor,
@NotNull
java.util.List<ProtoBuf.TypeParameter> typeParameterProtos,
@NotNull
java.util.List<TypeParameterDescriptor> typeParameters)
loadCallable
@NotNull
public CallableMemberDescriptor loadCallable(@NotNull
ProtoBuf.Callable proto)
modality
@NotNull
public static Modality modality(@NotNull
ProtoBuf.Modality modality)
visibility
@NotNull
public static Visibility visibility(@NotNull
ProtoBuf.Visibility visibility)
classKind
@NotNull
public static ClassKind classKind(@NotNull
ProtoBuf.Class.Kind kind)
typeParameters
@NotNull
public java.util.List<DeserializedTypeParameterDescriptor> typeParameters(@NotNull
java.util.List<ProtoBuf.TypeParameter> protos,
@NotNull
TypeDeserializer typeDeserializer)