org.jetbrains.jet.descriptors.serialization
Class ClassSerializationUtil

java.lang.Object
  extended by org.jetbrains.jet.descriptors.serialization.ClassSerializationUtil

public class ClassSerializationUtil
extends java.lang.Object


Nested Class Summary
static interface ClassSerializationUtil.Sink
           
 
Method Summary
static ClassId getClassId(ClassDescriptor classDescriptor)
           
static FqName getPackageFqName(NamespaceDescriptor namespaceDescriptor)
           
static void serializeClass(ClassDescriptor classDescriptor, DescriptorSerializer serializer, ClassSerializationUtil.Sink sink)
           
static void serializeClasses(java.util.Collection<? extends DeclarationDescriptor> descriptors, DescriptorSerializer serializer, ClassSerializationUtil.Sink sink)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

serializeClass

public static void serializeClass(@NotNull
                                  ClassDescriptor classDescriptor,
                                  @NotNull
                                  DescriptorSerializer serializer,
                                  @NotNull
                                  ClassSerializationUtil.Sink sink)

serializeClasses

public static void serializeClasses(@NotNull
                                    java.util.Collection<? extends DeclarationDescriptor> descriptors,
                                    @NotNull
                                    DescriptorSerializer serializer,
                                    @NotNull
                                    ClassSerializationUtil.Sink sink)

getClassId

@NotNull
public static ClassId getClassId(@NotNull
                                         ClassDescriptor classDescriptor)

getPackageFqName

@NotNull
public static FqName getPackageFqName(@NotNull
                                              NamespaceDescriptor namespaceDescriptor)